diff options
| author | Steffen Klassert <steffen.klassert@secunet.com> | 2018-02-01 08:49:23 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-04-08 11:51:59 +0200 |
| commit | d92ab7b1561f46612e2985aef1938d31d18d5696 (patch) | |
| tree | 8aab66c0ee2e39d763814306a8c677e49fd8810e /tools/perf/scripts/python/netdev-times.py | |
| parent | 503d43a90034b5a324aa6cc2d18dc98f9a1c46f5 (diff) | |
xfrm: Refuse to insert 32 bit userspace socket policies on 64 bit systems
commit 19d7df69fdb2636856dc8919de72fc1bf8f79598 upstream.
We don't have a compat layer for xfrm, so userspace and kernel
structures have different sizes in this case. This results in
a broken configuration, so refuse to configure socket policies
when trying to insert from 32 bit userspace as we do it already
with policies inserted via netlink.
Reported-and-tested-by: syzbot+e1a1577ca8bcb47b769a@syzkaller.appspotmail.com
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
[use is_compat_task() - gregkh]
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
