First published: Wed Jan 31 2024(Updated: )
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.
Credit: cve-coordination@google.com cve-coordination@google.com
Affected Software | Affected Version | How to fix |
---|---|---|
redhat/kernel | <6.8 | 6.8 |
Linux Kernel | >=5.13<5.15.148 | |
Linux Kernel | >=5.16<6.1.75 | |
Linux Kernel | >=6.2<6.6.14 | |
Linux Kernel | >=6.7<6.7.2 | |
debian/linux | 5.10.223-1 5.10.234-1 6.1.129-1 6.1.135-1 6.12.22-1 6.12.25-1 |
If not needed, disable the ability for unprivileged users to create namespaces. To do this temporarily, do: sudo sysctl -w kernel.unprivileged_userns_clone=0 To disable across reboots, do: echo kernel.unprivileged_userns_clone=0 | \ sudo tee /etc/sysctl.d/99-disable-unpriv-userns.conf
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2024-1085 has a high severity rating due to its potential for local privilege escalation in the Linux kernel.
To mitigate CVE-2024-1085, users should upgrade to kernel versions 6.8 or higher, or apply the specific patches provided by their distribution.
CVE-2024-1085 affects several Linux kernel versions ranging from 5.13 to 6.7.2 and includes various specific versions mentioned in the advisory.
CVE-2024-1085 is a local privilege escalation vulnerability, meaning it cannot be exploited remotely without prior local access.
The impact of CVE-2024-1085 allows an attacker with local access to escalate their privileges, leading to potential system compromise.