CVE-2024-35897 netfilter: nf_tables: discard table flag update with pending basechain deletion

High 7.8 Published Updated

A race condition in Linux kernel netfilter allows deleting a basechain while its hook remains registered, potentially causing system instability or denial of service.

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-2024-35897?

CVE-2024-35897 is a high-severity vulnerability in Debian Debian Linux, published on 19 May 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In the Linux kernel, the following vulnerability has been resolved:

netfilter: nf_tables: discard table flag update with pending basechain deletion

Hook unregistration is deferred to the commit phase, same occurs with hook updates triggered by the table dormant flag. When both commands are combined, this results in deleting a basechain while leaving its hook still registered in the core.

Which versions are affected by CVE-2024-35897?

It affects 2 products.

Products include Debian Debian Linux, Linux kernel.

How do I fix CVE-2024-35897?

Apply the vendor's patch.

Is CVE-2024-35897 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as BELL-CVE-2024-35897, DEBIAN-CVE-2024-35897, GHSA-483v-mfx2-pvhx, UBUNTU-CVE-2024-35897.

Is CVE-2024-35897 in your software?

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

Check your SBOMs for free