What’s Vulnerable › Vulnerabilities

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

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 4.20, 5.10.215, 5.15.155, 5.4.274. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-26925 or the next vulnerability affects your stack