kernel-fxtec-pro1x/net/netfilter/ipset
Kadlecsik József 5b0d87620b netfilter: ipset: use bitmap infrastructure completely
commit 32c72165dbd0e246e69d16a3ad348a4851afd415 upstream.

The bitmap allocation did not use full unsigned long sizes
when calculating the required size and that was triggered by KASAN
as slab-out-of-bounds read in several places. The patch fixes all
of them.

Reported-by: syzbot+fabca5cbf5e54f3fe2de@syzkaller.appspotmail.com
Reported-by: syzbot+827ced406c9a1d9570ed@syzkaller.appspotmail.com
Reported-by: syzbot+190d63957b22ef673ea5@syzkaller.appspotmail.com
Reported-by: syzbot+dfccdb2bdb4a12ad425e@syzkaller.appspotmail.com
Reported-by: syzbot+df0d0f5895ef1f41a65b@syzkaller.appspotmail.com
Reported-by: syzbot+b08bd19bb37513357fd4@syzkaller.appspotmail.com
Reported-by: syzbot+53cdd0ec0bbabd53370a@syzkaller.appspotmail.com
Signed-off-by: Jozsef Kadlecsik <kadlec@netfilter.org>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-01-29 16:43:24 +01:00
..
ip_set_bitmap_gen.h netfilter: ipset: use bitmap infrastructure completely 2020-01-29 16:43:24 +01:00
ip_set_bitmap_ip.c netfilter: ipset: use bitmap infrastructure completely 2020-01-29 16:43:24 +01:00
ip_set_bitmap_ipmac.c netfilter: ipset: use bitmap infrastructure completely 2020-01-29 16:43:24 +01:00
ip_set_bitmap_port.c netfilter: ipset: use bitmap infrastructure completely 2020-01-29 16:43:24 +01:00
ip_set_core.c netfilter: ipset: avoid null deref when IPSET_ATTR_LINENO is present 2020-01-14 20:07:09 +01:00
ip_set_getport.c
ip_set_hash_gen.h
ip_set_hash_ip.c
ip_set_hash_ipmac.c netfilter: ipset: Copy the right MAC address in hash:ip,mac IPv6 sets 2019-11-12 19:21:21 +01:00
ip_set_hash_ipmark.c
ip_set_hash_ipport.c
ip_set_hash_ipportip.c
ip_set_hash_ipportnet.c
ip_set_hash_mac.c
ip_set_hash_net.c
ip_set_hash_netiface.c
ip_set_hash_netnet.c
ip_set_hash_netport.c
ip_set_hash_netportnet.c
ip_set_list_set.c
Kconfig
Makefile
pfxlen.c