7.8
CWE
416 415
Advisory Published
CVE Published
Updated

CVE-2024-1085: Use-after-free in Linux kernel's netfilter: nf_tables component

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 SoftwareAffected VersionHow 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

Remedy

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

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2024-1085?

    CVE-2024-1085 has a high severity rating due to its potential for local privilege escalation in the Linux kernel.

  • How do I fix CVE-2024-1085?

    To mitigate CVE-2024-1085, users should upgrade to kernel versions 6.8 or higher, or apply the specific patches provided by their distribution.

  • Which Linux kernel versions are affected by CVE-2024-1085?

    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.

  • Can CVE-2024-1085 be exploited remotely?

    CVE-2024-1085 is a local privilege escalation vulnerability, meaning it cannot be exploited remotely without prior local access.

  • What is the impact of CVE-2024-1085?

    The impact of CVE-2024-1085 allows an attacker with local access to escalate their privileges, leading to potential system compromise.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203