]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nft_osf: add missing check for DREG attribute
authorFlorian Westphal <fw@strlen.de>
Sat, 18 Jan 2020 10:27:25 +0000 (11:27 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sat, 18 Jan 2020 20:18:41 +0000 (21:18 +0100)
commitbc3898982f36961a5220ce731558fa4e0e30dfda
tree6a92db0a598fc59b45ce86400542a92a90033e97
parentc7fe9c64d6d998ae0e13eb7666ed19ca7d1a7625
netfilter: nft_osf: add missing check for DREG attribute

syzbot reports just another NULL deref crash because of missing test
for presence of the attribute.

Reported-by: syzbot+cf23983d697c26c34f60@syzkaller.appspotmail.com
Fixes: 6255f535ba949ba0a ("netfilter: nf_tables: implement Passive OS fingerprint module in nft_osf")
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nft_osf.c