CVE-2024-1085 Use-after-free in Linux kernel's netfilter: nf_tables component
A use-after-free in the Linux kernel netfilter component allows local attackers to achieve privilege escalation.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-1085?
CVE-2024-1085 is a high-severity use after free vulnerability in Linux kernel, published on 31 Jan 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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_setelem_catchall_deactivate() function checks whether the catch-all set element is active in the current generation instead of the next generation before freeing it, but only flags it inactive in the next generation, making it possible to free the element multiple times, leading to a double free vulnerability.
We recommend upgrading past commit b1db244ffd041a49ecc9618e8feb6b5c1afcdaa7.
Weakness: CWE-416
Which versions are affected by CVE-2024-1085?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2024-1085?
Apply the vendor's patch.
Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.
Is CVE-2024-1085 being exploited?
There is no known exploitation of CVE-2024-1085 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as AZL-62764, BELL-CVE-2024-1085, CVE-2024-1087, DEBIAN-CVE-2024-1085, GHSA-3xpr-x643-29v6, UBUNTU-CVE-2024-1085.