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

High 7.8 Published Updated

A use-after-free in the Linux kernel netfilter component allows local attackers to escalate privileges via a race condition.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2023-4244?

CVE-2023-4244 is a high-severity use after free vulnerability in Debian Debian Linux, published on 6 Sep 2023. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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

Due to a race condition between nf_tables netlink control plane transaction and nft_set element garbage collection, it is possible to underflow the reference counter causing a use-after-free vulnerability.

We recommend upgrading past commit 3e91b0ebd994635df2346353322ac51ce84ce6d8.

Weakness: CWE-416

Which versions are affected by CVE-2023-4244?

It affects 2 products.

Products include Debian Debian Linux, Linux kernel.

How do I fix CVE-2023-4244?

Apply the vendor's patch.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2023-4244 being exploited?

There is no known exploitation of CVE-2023-4244 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as AZL-28676, BELL-CVE-2023-4244, CVE-2023-4563, DEBIAN-CVE-2023-4244, GHSA-396p-373f-r9vm, UBUNTU-CVE-2023-4244.

Is CVE-2023-4244 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free