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

net: openvswitch: Fix Use-After-Free in ovs_ct_exit

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.19.313, 5.4.275, 5.10.216, 5.15.158, 6.1.90, and 2 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: net: openvswitch: Fix Use-After-Free in ovs_ct_exit Since kfree_rcu, which is called in the hlist_for_each_entry_rcu traversal of ovs_ct_limit_exit, is not part of the RCU read critical section, it is possible that the RCU grace period will pass during the traversal and the key will be free. To prevent this, it should be changed to hlist_for_each_entry_safe.

Timeline

  1. CVE published
  2. CISA SSVC assessment

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

  3. Record last updated

Affected versions

  • Linux Linux

    From 11efd5cb04a184eea4f57b68ea63dddd463158d1 · fixed in 2db9a8c0a01fa1c762c1e61a13c212c492752994; From 11efd5cb04a184eea4f57b68ea63dddd463158d1 · fixed in 589523cf0b384164e445dd5db8d5b1bf97982424; From 11efd5cb04a184eea4f57b68ea63dddd463158d1 · fixed in 35880c3fa6f8fe281a19975d2992644588ca33d3; From 11efd5cb04a184eea4f57b68ea63dddd463158d1 · fixed in 9048616553c65e750d43846f225843ed745ec0d4; From 11efd5cb04a184eea4f57b68ea63dddd463158d1 · fixed in bca6fa2d9a9f560e6b89fd5190b05cc2f5d422c1; From 11efd5cb04a184eea4f57b68ea63dddd463158d1 · fixed in eaa5e164a2110d2fb9e16c8a29e4501882235137; From 11efd5cb04a184eea4f57b68ea63dddd463158d1 · fixed in edee0758747d7c219e29db9ed1d4eb33e8d32865; From 11efd5cb04a184eea4f57b68ea63dddd463158d1 · fixed in 5ea7b72d4fac2fdbc0425cd8f2ea33abe95235b2

  • Linux Linux

    4.18

  • KernelLinux

    From 4.18.0 · fixed in 4.19.313; From 4.20.0 · fixed in 5.4.275; From 5.5.0 · fixed in 5.10.216; From 5.11.0 · fixed in 5.15.158; From 5.16.0 · fixed in 6.1.90; From 6.2.0 · fixed in 6.6.30; From 6.7.0 · fixed in 6.8.9

References 8

git.kernel.org