diff options
author | Vishwanath Pai <vpai@akamai.com> | 2017-02-16 20:55:45 +0100 |
---|---|---|
committer | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2017-02-19 19:08:47 +0100 |
commit | 40b446a1d8af17274746ff7079aa0a618dffbac3 (patch) | |
tree | c54107c91855cfec21bd9e7ea9af3a6730ed527e /fs/btrfs/reada.c | |
parent | 50054a9223aaf79985c55ef7dd090ced15581567 (diff) | |
download | linux-40b446a1d8af17274746ff7079aa0a618dffbac3.tar.gz linux-40b446a1d8af17274746ff7079aa0a618dffbac3.tar.bz2 linux-40b446a1d8af17274746ff7079aa0a618dffbac3.zip |
netfilter: ipset: Null pointer exception in ipset list:set
If we use before/after to add an element to an empty list it will cause
a kernel panic.
$> cat crash.restore
create a hash:ip
create b hash:ip
create test list:set timeout 5 size 4
add test b before a
$> ipset -R < crash.restore
Executing the above will crash the kernel.
Signed-off-by: Vishwanath Pai <vpai@akamai.com>
Reviewed-by: Josh Hunt <johunt@akamai.com>
Signed-off-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Diffstat (limited to 'fs/btrfs/reada.c')
0 files changed, 0 insertions, 0 deletions