What’s Vulnerable › Vulnerabilities

CVE-2024-1086: Linux Kernel Use-After-Free Vulnerability

Description

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.15.149, 6.1.76, 6.6.15, 6.7.3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-1086 or the next vulnerability affects your stack