All reports
Medium

kernel: nf_tables: use-after-free vulnerability in the nft_setelem_catchall_deactivate() function

Affected versions

Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2024-1085

Probability of exploitation in the next 30 days: 0.28%

FIRST EPSS · 2026-11-22

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.

A double-free flaw was found in how the Linux kernel's NetFilter system marks whether a catch-all element is enabled. A local user could use this flaw to crash the system.