linux-stable/include
Florian Westphal 56b14ecec9 netfilter: conntrack: re-fetch conntrack after insertion
In case the conntrack is clashing, insertion can free skb->_nfct and
set skb->_nfct to the already-confirmed entry.

This wasn't found before because the conntrack entry and the extension
space used to free'd after an rcu grace period, plus the race needs
events enabled to trigger.

Reported-by: <syzbot+793a590957d9c1b96620@syzkaller.appspotmail.com>
Fixes: 71d8c47fc6 ("netfilter: conntrack: introduce clash resolution on insertion race")
Fixes: 2ad9d7747c ("netfilter: conntrack: free extension area immediately")
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
2022-05-27 11:16:34 +02:00
..
acpi Power management updates for 5.19-rc1 2022-05-24 16:04:25 -07:00
asm-generic Scheduler changes in this cycle were: 2022-05-24 11:11:13 -07:00
clocksource
crypto
drm
dt-bindings
keys KEYS: trusted: Introduce support for NXP CAAM-based trusted keys 2022-05-23 18:47:50 +03:00
kunit
kvm
linux Networking changes for 5.19. 2022-05-25 12:22:58 -07:00
math-emu
media
memory
misc
net netfilter: conntrack: re-fetch conntrack after insertion 2022-05-27 11:16:34 +02:00
pcmcia
ras
rdma
scsi
soc Networking changes for 5.19. 2022-05-25 12:22:58 -07:00
sound
target
trace Networking changes for 5.19. 2022-05-25 12:22:58 -07:00
uapi Networking changes for 5.19. 2022-05-25 12:22:58 -07:00
vdso
video
xen