Per https://nvd.nist.gov/vuln/detail/CVE-2024-1086 ... "A use-after-free vulnerability in the Linux kernel's netfilter: nf_tables component can be exploited to achieve local privilege escalation. The nft_verdict_init() function allows positive values as drop error within the hook verdict, and hence the nf_hook_slow() function can cause a double free vulnerability when NF_DROP is issued with a drop error which resembles NF_ACCEPT. We recommend upgrading past commit f342de4e2f33e0e39165d8639387aa6c19dff660." Here is a link to the commit in question: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f342de4e2f33e0e39165d8639387aa6c19dff660 Here is a post describing the exploit in detail: https://pwning.tech/nftables/
This is older than I initially realised. For 6.6, the fix landed in 6.6.15 so both gentoo-kernel and gentoo-kernel bin are in good standing.