CVE-2023-32233: [CVE-2023-32233] Linux kernel use-after-free in Netfilter nf_tables when processing batch requests can be abused to perform arbitrary reads and writes in kernel memory

Published May 8, 2023
·
Updated

In the Linux kernel through 6.3.1, a use-after-free in Netfilter nftables when processing batch requests can be abused to perform arbitrary read and write operations on kernel memory. Unprivileged local users can obtain root privileges. This occurs because anonymous sets are mishandled.

Other sources

Linux Kernel could allow a local authenticated attacker to gain elevated privileges on the system, caused by a use-after-free flaw in Netfilter nftables when processing batch requests. By sending a specially crafted request, an authenticated attacker could exploit this vulnerability to gain elevated privileges as root.

IBM

Use-After-Free in Netfilter nftables (net/netfilter/nftablesapi.c) can be abused by unprivileged local users to execute arbitrary Kernel code.

The issue has been reproduced on: the current kernel build 5.19.0-41-generic (x8664) on Ubuntu 22.10, and the current mainline v6.3 (commit 457391b0380335d5e9a5babdec90ac53928b23b4).

Red Hat

Affected Software

19 affected componentsFixes available
Linux Linux kernel>=3.13<4.14.315
Linux Linux kernel>=4.15<4.19.283
Linux Linux kernel>=4.20<5.4.243
Linux Linux kernel>=5.5<5.10.180
Linux Linux kernel>=5.11<5.15.111
Linux Linux kernel>=5.16<6.1.28
Linux Linux kernel>=6.2<6.2.15
Linux Linux kernel>=6.3<6.3.2
redhat Enterprise Linux=7.0
redhat Enterprise Linux=8.0
redhat Enterprise Linux=9.0
NetApp Hci Baseboard Management Controller=h300s
NetApp Hci Baseboard Management Controller=h410c
NetApp Hci Baseboard Management Controller=h410s
NetApp Hci Baseboard Management Controller=h500s
NetApp Hci Baseboard Management Controller=h700s
IBM QRadar Network Packet Capture<=7.5.0 - 7.5.0 Update Package 7
redhat/kernel<6.4
6.4
debian/linux
5.10.223-15.10.259-16.1.176-16.1.177-16.12.94-16.12.96-17.1.3-17.1.4-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 6.4
  2. Upgrade

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

    Fixed in 5.10.223-1Fixed in 5.10.259-1Fixed in 6.1.176-1Fixed in 6.1.177-1Fixed in 6.12.94-1Fixed in 6.12.96-1Fixed in 7.1.3-1Fixed in 7.1.4-1
  3. Upgrade

    Upgrade Linux kernel to a version that resolves this vulnerability.

    Fixed in 6.3.1Patch CVE-2023-32233
  4. Configuration

    Disable unprivileged user namespace creation to mitigate the local privilege escalation risk: run `sudo sysctl -w kernel.unprivileged_userns_clone=0` and persist across reboots by writing `kernel.unprivileged_userns_clone=0` to `/etc/sysctl.d/99-disable-unpriv-userns.conf`.

    Linux kernel kernel.unprivileged_userns_clone = 0

Event History

May 8, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via Red Hat·05:00 AM
DescriptionSeverityAffected Software
Data Sourced
08:15 PM
Description
Data Sourced
via NVD·08:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jul 23, 2024
Data Sourced
via IBM·12:00 AM
DescriptionSeverityAffected Software
Jul 5, 2026
Data Sourced
via Ubuntu·12:49 AM
RemedyDescriptionSeverityAffected Software
Jul 23, 2026
Data Sourced
via Debian·01:33 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2023-32233?

CVE-2023-32233 has been classified as a critical vulnerability due to the potential for unprivileged local users to obtain root privileges.

2

How do I fix CVE-2023-32233?

To fix CVE-2023-32233, update the Linux kernel to version 6.3.2 or later, or apply specific patches provided by your Linux distribution.

3

Which systems are affected by CVE-2023-32233?

CVE-2023-32233 impacts various versions of the Linux kernel, specifically versions prior to 6.3.2, including several distributions like Red Hat and Debian.

4

What type of vulnerability is CVE-2023-32233?

CVE-2023-32233 is a use-after-free vulnerability in the Netfilter nf_tables subsystem of the Linux kernel.

5

Can CVE-2023-32233 be exploited remotely?

CVE-2023-32233 cannot be exploited remotely as it requires unprivileged local users to access the vulnerable system.

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