CVE-2024-27395

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

HIGH
7.8
CVSS Score
Published: May 9, 2024 at 04:37 PM UTC
Updated: October 15, 2026 at 01:17 AM UTC
8 products affected across 3 vendorsLinux KernelDebian LinuxSIMATIC S7-1500 TM MFP

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.18 ≤ v < 4.19.3134.20 ≤ v < 5.4.2755.11 ≤ v < 5.15.1585.16 ≤ v < 6.1.905.5 ≤ v < 5.10.2166.2 ≤ v < 6.6.306.7 ≤ v < 6.8.911efd5cb04a184eea4f57b68ea63dddd463158d16.96.9 rc16.9 rc26.9 rc36.9 rc46.9 rc5
Vendor states this is fixed in 2db9a8c0a01fa1c762c1e61a13c212c492752994 (fixed)
Vendor states this is fixed in 35880c3fa6f8fe281a19975d2992644588ca33d3 (fixed)
Vendor states this is fixed in 589523cf0b384164e445dd5db8d5b1bf97982424 (fixed)
Vendor states this is fixed in 5ea7b72d4fac2fdbc0425cd8f2ea33abe95235b2 (fixed)
Vendor states this is fixed in 9048616553c65e750d43846f225843ed745ec0d4 (fixed)
Vendor states this is fixed in bca6fa2d9a9f560e6b89fd5190b05cc2f5d422c1 (fixed)
Vendor states this is fixed in eaa5e164a2110d2fb9e16c8a29e4501882235137 (fixed)
Vendor states this is fixed in edee0758747d7c219e29db9ed1d4eb33e8d32865 (fixed)
Vendor states this is fixed in 4.18 (unaffected)
Vendor states this is fixed in 4.19.313 (unaffected)
Vendor states this is fixed in 5.10.216 (unaffected)
Vendor states this is fixed in 5.15.158 (unaffected)
Vendor states this is fixed in 5.4.275 (unaffected)
Vendor states this is fixed in 6.1.90 (unaffected)
Vendor states this is fixed in 6.6.30 (unaffected)
Vendor states this is fixed in 6.8.9 (unaffected)
Vendor states this is fixed in 6.9 (unaffected)
v < V3.1
Affected range stops below V3.1, so it looks safe — our inference, not a vendor statement
v < V3.1
Affected range stops below V3.1, so it looks safe — our inference, not a vendor statement
v < V3.1
Affected range stops below V3.1, so it looks safe — our inference, not a vendor statement
v < V3.1
Affected range stops below V3.1, so it looks safe — our inference, not a vendor statement
v < V3.1
Affected range stops below V3.1, so it looks safe — our inference, not a vendor statement

References (12)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/2db9a8c0a01fa1c762c1e61a13c212c492752994
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/35880c3fa6f8fe281a19975d2992644588ca33d3
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/589523cf0b384164e445dd5db8d5b1bf97982424
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5ea7b72d4fac2fdbc0425cd8f2ea33abe95235b2
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/9048616553c65e750d43846f225843ed745ec0d4
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/bca6fa2d9a9f560e6b89fd5190b05cc2f5d422c1
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/eaa5e164a2110d2fb9e16c8a29e4501882235137
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/edee0758747d7c219e29db9ed1d4eb33e8d32865

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card