CVE-2023-5197: Use-after-free in Linux kernel's netfilter: nf_tables component

Published Sep 26, 2023
·
Updated

A use-after-free vulnerability in the Linux kernel's netfilter: nftables component can be exploited to achieve local privilege escalation. Addition and removal of rules from chain bindings within the same transaction causes leads to use-after-free. We recommend upgrading past commit f15f29fd4779be8a418b66e9d52979bb6d6c2325.

Affected Software

10 affected componentsFixes available
Linux Linux kernel>=5.9.0<6.6
Debian Debian Linux=10.0
Linux Linux kernel>=5.9.0<5.10.198
Linux Linux kernel>=5.11<5.15.134
Linux Linux kernel>=5.16<6.1.56
Linux Linux kernel>=6.2<6.5.6
debian/linux
6.1.176-16.1.190-16.12.107-16.12.115-27.2.12-17.2.15-1
debian/linux<6.1.64-1
6.1.64-1
debian/linux<6.5.6-1
6.5.6-1
debian/linux<6.5.6-1
6.5.6-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 6.1.176-1Fixed in 6.1.190-1Fixed in 6.12.107-1Fixed in 6.12.115-2Fixed in 7.2.12-1Fixed in 7.2.15-1
  2. Upgrade

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

    Fixed in 6.1.64-1
  3. Upgrade

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

    Fixed in 6.5.6-1
  4. Upgrade

    Upgrade Linux kernel netfilter nf_tables to a version that resolves this vulnerability.

    Patch f15f29fd4779be8a418b66e9d52979bb6d6c2325

Event History

Sep 26, 2023
CVE Published
via MITRE·10:04 AM
Data Sourced
via MITRE·10:04 AM
DescriptionSeverityWeakness
Sep 27, 2023
Data Sourced
via Ubuntu·12:00 AM
RemedyDescriptionSeverityAffected Software
Data Sourced
via NVD·03:19 PM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·03:19 PM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the vulnerability ID for this use-after-free vulnerability in the Linux kernel?

The vulnerability ID for this use-after-free vulnerability in the Linux kernel is CVE-2023-5197.

2

What is the affected software of this vulnerability?

The affected software is the Linux kernel with versions from 5.9.0 to 6.6.

3

What is the severity of this vulnerability?

The severity of this vulnerability is high with a severity value of 7.8.

4

How can this vulnerability be exploited?

This vulnerability can be exploited to achieve local privilege escalation.

5

How can I fix this use-after-free vulnerability in the Linux kernel?

We recommend upgrading to a version past commit f15f29fd4779b to fix this vulnerability.

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