CVE-2023-6111 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.

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-6111?

CVE-2023-6111 is a high-severity use after free vulnerability in Linux kernel, published on 14 Nov 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.

The function nft_trans_gc_catchall did not remove the catchall set element from the catchall_list when the argument sync is true, making it possible to free a catchall set element many times.

We recommend upgrading past commit 93995bf4af2c5a99e2a87f0cd5ce547d31eb7630.

Weakness: CWE-416

Which versions are affected by CVE-2023-6111?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2023-6111?

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-6111 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as AZL-32122, AZL-34865, BELL-CVE-2023-6111, DEBIAN-CVE-2023-6111, GHSA-xgr2-4f4q-m3p9, UBUNTU-CVE-2023-6111 and 1 more.

Is CVE-2023-6111 in your software?

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

Check your SBOMs for free