CVE-2024-27395

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

State
Published
Severity
7.8 High
Published
May 9, 2024
Updated
Oct 15, 2026
Reserved
Feb 25, 2024

Read the record on cve.org

Description

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.

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
  • 11efd5cb04a184eea4f57b68ea63dddd463158d1 to before 2db9a8c0a01fa1c762c1e61a13c212c492752994Affected
  • 11efd5cb04a184eea4f57b68ea63dddd463158d1 to before 589523cf0b384164e445dd5db8d5b1bf97982424Affected
  • 11efd5cb04a184eea4f57b68ea63dddd463158d1 to before 35880c3fa6f8fe281a19975d2992644588ca33d3Affected
  • 11efd5cb04a184eea4f57b68ea63dddd463158d1 to before 9048616553c65e750d43846f225843ed745ec0d4Affected
  • 11efd5cb04a184eea4f57b68ea63dddd463158d1 to before bca6fa2d9a9f560e6b89fd5190b05cc2f5d422c1Affected
  • 11efd5cb04a184eea4f57b68ea63dddd463158d1 to before eaa5e164a2110d2fb9e16c8a29e4501882235137Affected
  • 11efd5cb04a184eea4f57b68ea63dddd463158d1 to before edee0758747d7c219e29db9ed1d4eb33e8d32865Affected
  • 11efd5cb04a184eea4f57b68ea63dddd463158d1 to before 5ea7b72d4fac2fdbc0425cd8f2ea33abe95235b2Affected
LinuxLinux
  • 4.18Affected
  • before 4.18Not affected
  • 4.19.313 through 4.19.*Not affected
  • 5.4.275 through 5.4.*Not affected
  • 5.10.216 through 5.10.*Not affected
  • 5.15.158 through 5.15.*Not affected
  • 6.1.90 through 6.1.*Not affected
  • 6.6.30 through 6.6.*Not affected
  • 6.8.9 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.