Skip to main content
← All vulnerabilities
CVE-2024-26925

netfilter: nf_tables: release mutex after nft_gc_seq_end from abort path

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.4.274, 5.10.215, 5.15.155, 6.1.86, 4.20, and 3 more
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Linux Linux

    From 4b6346dc1edfb9839d6edee7360ed31a22fa6c95 · fixed in 61ac7284346c32f9a8c8ceac56102f7914060428; From 23292bdfda5f04e704a843b8f97b0eb95ace1ca6 · fixed in 2cee2ff7f8cce12a63a0a23ffe27f08d99541494; From b44a459c6561595ed7c3679599c5279204132b33 · fixed in eb769ff4e281f751adcaf4f4445cbf30817be139; From 5d319f7a81431c6bb32eb4dc7d7975f99e2c8c66 · fixed in 8d3a58af50e46167b6f1db47adadad03c0045dae; From 720344340fb9be2765bbaab7b292ece0a4570eae · fixed in 8038ee3c3e5b59bcd78467686db5270c68544e30; From 720344340fb9be2765bbaab7b292ece0a4570eae · fixed in a34ba4bdeec0c3b629160497594908dc820110f1; From 720344340fb9be2765bbaab7b292ece0a4570eae · fixed in 0d459e2ffb541841714839e8228b845458ed3b27; From 5.4.262 · fixed in 5.4.274; From 5.10.198 · fixed in 5.10.215; From 5.15.134 · fixed in 5.15.155; From 6.1.56 · fixed in 6.1.86; From 4.19.316 · fixed in 4.20; From 6.4.13 · fixed in 6.5

  • Linux Linux

    6.5

  • KernelLinux

    fixed in 5.4.274; From 5.5.0 · fixed in 5.10.215; From 5.11.0 · fixed in 5.15.155; From 5.16.0 · fixed in 6.1.86; From 6.2.0 · fixed in 6.6.26; From 6.5.0 · fixed in 6.8.5

References 7

git.kernel.org