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

Published Jan 31, 2024
·
Updated

A use-after-free vulnerability in the Linux kernel's netfilter: nftables component can be exploited to achieve local privilege escalation.

The nftsetelemcatchalldeactivate() 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.

Affected Software

6 affected componentsFixes available
redhat/kernel<6.8
6.8
Linux Linux kernel>=5.13<5.15.148
Linux Linux kernel>=5.16<6.1.75
Linux Linux kernel>=6.2<6.6.14
Linux Linux kernel>=6.7<6.7.2
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.27-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.27-1
  2. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 6.8
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch b1db244ffd041a49ecc9618e8feb6b5c1afcdaa7
  4. Configuration

    Disable unprivileged user namespace creation: set kernel.unprivileged_userns_clone=0 (temporarily with sysctl -w; persistently via /etc/sysctl.d/99-disable-unpriv-userns.conf).

    Linux kernel (sysctl) kernel.unprivileged_userns_clone = 0

Event History

Jan 31, 2024
CVE Published
via MITRE·12:14 PM
Data Sourced
via MITRE·12:14 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via Red Hat·06:06 PM
DescriptionSeverityAffected Software
Mar 11, 2024
Data Sourced
via Launchpad·09:51 PM
Description
Apr 27, 2025
Data Sourced
via Ubuntu·11:16 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

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.

2

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.

3

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.

4

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.

5

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203