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.
https://medium.com/techpioneers/cve-2024-1086-df7c9b573ac7?source=rss------cve-5
https://www.theregister.com/2024/03/29/linux_kernel_flaw/?&web_view=true
https://news.ycombinator.com/item?id=39828424
https://kernel.dance/f342de4e2f33e0e39165d8639387aa6c19dff660