Skip to content
CVE PROGRAM SOURCE RECORD7.8 High

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 4b6346dc1edfb9839d6edee7360ed31a22fa6c95 to < 61ac7284346c32f9a8c8ceac56102f7914060428affected
  • 23292bdfda5f04e704a843b8f97b0eb95ace1ca6 to < 2cee2ff7f8cce12a63a0a23ffe27f08d99541494affected
  • b44a459c6561595ed7c3679599c5279204132b33 to < eb769ff4e281f751adcaf4f4445cbf30817be139affected
  • 5d319f7a81431c6bb32eb4dc7d7975f99e2c8c66 to < 8d3a58af50e46167b6f1db47adadad03c0045daeaffected
  • 720344340fb9be2765bbaab7b292ece0a4570eae to < 8038ee3c3e5b59bcd78467686db5270c68544e30affected
  • 720344340fb9be2765bbaab7b292ece0a4570eae to < a34ba4bdeec0c3b629160497594908dc820110f1affected
  • 720344340fb9be2765bbaab7b292ece0a4570eae to < 0d459e2ffb541841714839e8228b845458ed3b27affected
  • f85ca36090cbb252bcbc95fc74c2853fc792694faffected
  • e07e68823116563bdbc49cef185cda6f463bc534affected
  • 5.4.262 to < 5.4.274affected
  • 5.10.198 to < 5.10.215affected
  • 5.15.134 to < 5.15.155affected
  • 6.1.56 to < 6.1.86affected
  • 4.19.316 to < 4.20affected
  • 6.4.13 to < 6.5affected

Linux Linux

Default version status: affected

  • 6.5affected
  • 0 to < 6.5unaffected
  • 5.4.274 to ≤ 5.4.*unaffected
  • 5.10.215 to ≤ 5.10.*unaffected
  • 5.15.155 to ≤ 5.15.*unaffected
  • 6.1.86 to ≤ 6.1.*unaffected
  • 6.6.26 to ≤ 6.6.*unaffected
  • 6.8.5 to ≤ 6.8.*unaffected
  • 6.9 to ≤ *unaffected

References