diff options
author | Florian Westphal <fw@strlen.de> | 2021-04-07 21:38:57 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2021-04-13 00:18:57 +0200 |
commit | b29c457a6511435960115c0f548c4360d5f4801d (patch) | |
tree | a2cabc721228fc1d876374aac3bd7758d4016165 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | d163a925ebbc6eb5b562b0f1d72c7e817aa75c40 (diff) |
netfilter: x_tables: fix compat match/target pad out-of-bound write
xt_compat_match/target_from_user doesn't check that zeroing the area
to start of next rule won't write past end of allocated ruleset blob.
Remove this code and zero the entire blob beforehand.
Reported-by: syzbot+cfc0247ac173f597aaaa@syzkaller.appspotmail.com
Reported-by: Andy Nguyen <theflow@google.com>
Fixes: 9fa492cdc160c ("[NETFILTER]: x_tables: simplify compat API")
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions