CVE-2024-26925

netfilter: nf_tables: release mutex after nft_gc_seq_end from abort path

State
Published
Severity
7.8 High
Published
Apr 24, 2024
Updated
Oct 15, 2026
Reserved
Feb 19, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 4b6346dc1edfb9839d6edee7360ed31a22fa6c95 to before 61ac7284346c32f9a8c8ceac56102f7914060428Affected
  • 23292bdfda5f04e704a843b8f97b0eb95ace1ca6 to before 2cee2ff7f8cce12a63a0a23ffe27f08d99541494Affected
  • b44a459c6561595ed7c3679599c5279204132b33 to before eb769ff4e281f751adcaf4f4445cbf30817be139Affected
  • 5d319f7a81431c6bb32eb4dc7d7975f99e2c8c66 to before 8d3a58af50e46167b6f1db47adadad03c0045daeAffected
  • 720344340fb9be2765bbaab7b292ece0a4570eae to before 8038ee3c3e5b59bcd78467686db5270c68544e30Affected
  • 720344340fb9be2765bbaab7b292ece0a4570eae to before a34ba4bdeec0c3b629160497594908dc820110f1Affected
  • 720344340fb9be2765bbaab7b292ece0a4570eae to before 0d459e2ffb541841714839e8228b845458ed3b27Affected
  • f85ca36090cbb252bcbc95fc74c2853fc792694fAffected
  • e07e68823116563bdbc49cef185cda6f463bc534Affected
  • 5.4.262 to before 5.4.274Affected
  • 5.10.198 to before 5.10.215Affected
  • 5.15.134 to before 5.15.155Affected
  • 6.1.56 to before 6.1.86Affected
  • 4.19.316 to before 4.20Affected
  • 6.4.13 to before 6.5Affected
LinuxLinux
  • 6.5Affected
  • before 6.5Not affected
  • 5.4.274 through 5.4.*Not affected
  • 5.10.215 through 5.10.*Not affected
  • 5.15.155 through 5.15.*Not affected
  • 6.1.86 through 6.1.*Not affected
  • 6.6.26 through 6.6.*Not affected
  • 6.8.5 through 6.8.*Not affected
  • 6.9 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.