CVE-2024-26925 netfilter: nf_tables: release mutex after nft_gc_seq_end from abort path

High 7.8 Published Updated

A race condition in the Linux kernel netfilter subsystem allows an async GC worker to access released locks, potentially causing a 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-26925?

CVE-2024-26925 is a high-severity vulnerability in Debian Debian Linux, published on 24 Apr 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: release mutex after nft_gc_seq_end from abort path

The commit mutex should not be released during the critical section between nft_gc_seq_begin() and nft_gc_seq_end(), otherwise, async GC worker could collect expired objects and get the released commit lock within the same GC sequence.

nf_tables_module_autoload() temporarily releases the mutex to load module dependencies, then it goes back to replay the transaction again. Move it at the end of the abort phase after nft_gc_seq_end() is called.

Weakness: CWE-667

Which versions are affected by CVE-2024-26925?

It affects 2 products.

Products include Debian Debian Linux, Linux kernel.

How do I fix CVE-2024-26925?

Apply the vendor's patch.

Is CVE-2024-26925 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as BELL-CVE-2024-26925, DEBIAN-CVE-2024-26925, GHSA-77mf-44mv-3m36, UBUNTU-CVE-2024-26925.

Is CVE-2024-26925 in your software?

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

Check your SBOMs for free