CVE-2024-27395
net: openvswitch: Fix Use-After-Free in ovs_ct_exit
Mitigation
- Upgrade Linux to 5ea7b72d4fac2fdbc0425cd8f2ea33abe95235b2 or later.
Who should check
- Anyone running Linux >= 11efd5cb04a184eea4f57b68ea63dddd463158d1, < 2db9a8c0a01fa1c762c1e61a13c212c492752994; >= 11efd5cb04a184eea4f57b68ea63dddd463158d1, < 589523cf0b384164e445dd5db8d5b1bf97982424; >= 11efd5cb04a184eea4f57b68ea63dddd463158d1, < 35880c3fa6f8fe281a19975d2992644588ca33d3; >= 11efd5cb04a184eea4f57b68ea63dddd463158d1, < 9048616553c65e750d43846f225843ed745ec0d4; >= 11efd5cb04a184eea4f57b68ea63dddd463158d1, < bca6fa2d9a9f560e6b89fd5190b05cc2f5d422c1; >= 11efd5cb04a184eea4f57b68ea63dddd463158d1, < eaa5e164a2110d2fb9e16c8a29e4501882235137; >= 11efd5cb04a184eea4f57b68ea63dddd463158d1, < edee0758747d7c219e29db9ed1d4eb33e8d32865; >= 11efd5cb04a184eea4f57b68ea63dddd463158d1, < 5ea7b72d4fac2fdbc0425cd8f2ea33abe95235b2
- Anyone running Linux 4.18
Vulnerability facts
- Affected
- Linux >= 11efd5cb04a184eea4f57b68ea63dddd463158d1, < 2db9a8c0a01fa1c762c1e61a13c212c492752994; >= 11efd5cb04a184eea4f57b68ea63dddd463158d1, < 589523cf0b384164e445dd5db8d5b1bf97982424; >= 11efd5cb04a184eea4f57b68ea63dddd463158d1, < 35880c3fa6f8fe281a19975d2992644588ca33d3; >= 11efd5cb04a184eea4f57b68ea63dddd463158d1, < 9048616553c65e750d43846f225843ed745ec0d4; >= 11efd5cb04a184eea4f57b68ea63dddd463158d1, < bca6fa2d9a9f560e6b89fd5190b05cc2f5d422c1; >= 11efd5cb04a184eea4f57b68ea63dddd463158d1, < eaa5e164a2110d2fb9e16c8a29e4501882235137; >= 11efd5cb04a184eea4f57b68ea63dddd463158d1, < edee0758747d7c219e29db9ed1d4eb33e8d32865; >= 11efd5cb04a184eea4f57b68ea63dddd463158d1, < 5ea7b72d4fac2fdbc0425cd8f2ea33abe95235b2; Linux 4.18
- Fixed in
- Linux 2db9a8c0a01fa1c762c1e61a13c212c492752994, Linux 589523cf0b384164e445dd5db8d5b1bf97982424, Linux 35880c3fa6f8fe281a19975d2992644588ca33d3, Linux 9048616553c65e750d43846f225843ed745ec0d4, Linux 5ea7b72d4fac2fdbc0425cd8f2ea33abe95235b2
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.34% chance of exploitation in 30 days (percentile 19, 2026-11-26)
- CWE
- CWE-416
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 11efd5cb04a184eea4f57b68ea63dddd463158d1, < 2db9a8c0a01fa1c762c1e61a13c212c492752994; >= 11efd5cb04a184eea4f57b68ea63dddd463158d1, < 589523cf0b384164e445dd5db8d5b1bf97982424; >= 11efd5cb04a184eea4f57b68ea63dddd463158d1, < 35880c3fa6f8fe281a19975d2992644588ca33d3; >= 11efd5cb04a184eea4f57b68ea63dddd463158d1, < 9048616553c65e750d43846f225843ed745ec0d4; >= 11efd5cb04a184eea4f57b68ea63dddd463158d1, < bca6fa2d9a9f560e6b89fd5190b05cc2f5d422c1; >= 11efd5cb04a184eea4f57b68ea63dddd463158d1, < eaa5e164a2110d2fb9e16c8a29e4501882235137; >= 11efd5cb04a184eea4f57b68ea63dddd463158d1, < edee0758747d7c219e29db9ed1d4eb33e8d32865; >= 11efd5cb04a184eea4f57b68ea63dddd463158d1, < 5ea7b72d4fac2fdbc0425cd8f2ea33abe95235b2 | — | cvelist |
| Linux | 4.18 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-27395. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-27395.md Affected: Linux >= 11efd5cb04a184eea4f57b68ea63dddd463158d1, < 2db9a8c0a01fa1c762c1e61a13c212c492752994; >= 11efd5cb04a184eea4f57b68ea63dddd463158d1, < 589523cf0b384164e445dd5db8d5b1bf97982424; >= 11efd5cb04a184eea4f57b68ea63dddd463158d1, < 35880c3fa6f8fe281a19975d2992644588ca33d3; >= 11efd5cb04a184eea4f57b6… Fixed in: Linux 2db9a8c0a01fa1c762c1e61a13c212c492752994, Linux 589523cf0b384164e445dd5db8d5b1bf97982424, Linux 35880c3fa6f8fe281a19975d2992644588ca33d3, Linux 9048616553c65e750d43846f225843ed745ec0d4, Linux 5ea7b72d4fac2fdbc0425cd8f2ea33abe95235b2 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/2db9a8c0a01fa1c762c1e61a13c212c492752994
- https://git.kernel.org/stable/c/589523cf0b384164e445dd5db8d5b1bf97982424
- https://git.kernel.org/stable/c/35880c3fa6f8fe281a19975d2992644588ca33d3
- https://git.kernel.org/stable/c/9048616553c65e750d43846f225843ed745ec0d4
- https://git.kernel.org/stable/c/bca6fa2d9a9f560e6b89fd5190b05cc2f5d422c1
- https://git.kernel.org/stable/c/eaa5e164a2110d2fb9e16c8a29e4501882235137
- https://git.kernel.org/stable/c/edee0758747d7c219e29db9ed1d4eb33e8d32865
- https://git.kernel.org/stable/c/5ea7b72d4fac2fdbc0425cd8f2ea33abe95235b2
FAQ
Is CVE-2024-27395 being exploited?
There is no confirmed exploitation: CVE-2024-27395 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.34% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-27395?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-27395?
Linux >= 11efd5cb04a184eea4f57b68ea63dddd463158d1, < 2db9a8c0a01fa1c762c1e61a13c212c492752994; >= 11efd5cb04a184eea4f57b68ea63dddd463158d1, < 589523cf0b384164e445dd5db8d5b1bf97982424; >= 11efd5cb04a184eea4f57b68ea63dddd463158d1, < 35880c3fa6f8fe281a19975d2992644588ca33d3; >= 11efd5cb04a184eea4f57b68ea63dddd463158d1, < 9048616553c65e750d43846f225843ed745ec0d4; >= 11efd5cb04a184eea4f57b68ea63dddd463158d1, < bca6fa2d9a9f560e6b89fd5190b05cc2f5d422c1; >= 11efd5cb04a184eea4f57b68ea63dddd463158d1, < eaa5e164a2110d2fb9e16c8a29e4501882235137; >= 11efd5cb04a184eea4f57b68ea63dddd463158d1, < edee0758747d7c219e29db9ed1d4eb33e8d32865; >= 11efd5cb04a184eea4f57b68ea63dddd463158d1, < 5ea7b72d4fac2fdbc0425cd8f2ea33abe95235b2; Linux 4.18.
Is there a fix for CVE-2024-27395?
Yes. Fixed in Linux 2db9a8c0a01fa1c762c1e61a13c212c492752994, Linux 589523cf0b384164e445dd5db8d5b1bf97982424, Linux 35880c3fa6f8fe281a19975d2992644588ca33d3, Linux 9048616553c65e750d43846f225843ed745ec0d4, Linux 5ea7b72d4fac2fdbc0425cd8f2ea33abe95235b2. Upgrade Linux to 5ea7b72d4fac2fdbc0425cd8f2ea33abe95235b2 or later.
How do I check if I'm affected by CVE-2024-27395?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.