Use-after-free in Linux kernel's netfilter: nf_tables component
Summary
Use-after-free in Linux kernel's netfilter: nf_tables component
Original description
The description as published by the source.
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.
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Debian DEBIAN-CVE-2024-1085 linux Fixed in: 6.1.76-1
- Ubuntu UBUNTU-CVE-2024-1085 linux-hwe-edge
References
- advisory github.com
- advisory nvd.nist.gov
- patch git.kernel.org
- web git.kernel.org
- web kernel.dance