summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorJeongjun Park <aha310510@gmail.com>2024-11-13 16:02:09 +0300
committerPablo Neira Ayuso <pablo@netfilter.org>2024-11-14 15:47:26 +0300
commit35f56c554eb1b56b77b3cf197a6b00922d49033d (patch)
treec665c48d31261c415f978d73078a530578b6b74d /tools/perf/scripts/python/exported-sql-viewer.py
parent041bd1e4f2d82859690cd8b41c35f0f9404c3770 (diff)
downloadlinux-35f56c554eb1b56b77b3cf197a6b00922d49033d.tar.xz
netfilter: ipset: add missing range check in bitmap_ip_uadt
When tb[IPSET_ATTR_IP_TO] is not present but tb[IPSET_ATTR_CIDR] exists, the values of ip and ip_to are slightly swapped. Therefore, the range check for ip should be done later, but this part is missing and it seems that the vulnerability occurs. So we should add missing range checks and remove unnecessary range checks. Cc: <stable@vger.kernel.org> Reported-by: syzbot+58c872f7790a4d2ac951@syzkaller.appspotmail.com Fixes: 72205fc68bd1 ("netfilter: ipset: bitmap:ip set type support") Signed-off-by: Jeongjun Park <aha310510@gmail.com> Acked-by: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions