{ "dataType": "CVE_RECORD", "cveMetadata": { "cveId": "CVE-2024-27395", "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "state": "PUBLISHED", "assignerShortName": "Linux", "dateReserved": "2024-02-25T13:47:42.677Z", "datePublished": "2024-05-09T16:37:15.196Z", "dateUpdated": "2026-08-05T11:29:29.192Z" }, "containers": { "cna": { "providerMetadata": { "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "shortName": "Linux", "dateUpdated": "2026-08-05T11:29:29.192Z" }, "descriptions": [ { "lang": "en", "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: openvswitch: Fix Use-After-Free in ovs_ct_exit\n\nSince kfree_rcu, which is called in the hlist_for_each_entry_rcu traversal\nof ovs_ct_limit_exit, is not part of the RCU read critical section, it\nis possible that the RCU grace period will pass during the traversal and\nthe key will be free.\n\nTo prevent this, it should be changed to hlist_for_each_entry_safe." } ], "metrics": [ { "cvssV3_1": { "version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H", "baseScore": 7.8, "baseSeverity": "HIGH" }, "scenarios": [ { "lang": "en", "value": "AV:L - The vulnerability is triggered through the `ovs_ct_limit` generic netlink family and the network-namespace teardown path (`cleanup_net` → `ovs_exit_net` → `ovs_ct_limit_exit`), both of which require local syscall access. No remote packet processing reaches `ovs_ct_limit_exit`.\nAC:L - The attacker controls every input to the race — chain length (up to 65536 zone entries across 512 buckets), CPU contention to force preemption of the traversal, heap spray to reclaim the freed `struct ovs_ct_limit`, and unlimited free retries by looping namespace create/destroy. Nothing essential to triggering it lies outside attacker influence.\nPR:L - `OVS_CT_LIMIT_CMD_SET` uses `GENL_UNS_ADMIN_PERM`, which checks `ns_capable(net->user_ns, CAP_NET_ADMIN)`, so an unprivileged user obtains it via `unshare -Urn`; the family is `netnsok` and the module autoloads through `MODULE_ALIAS_GENL_FAMILY` with no capability gate in `ctrl_getfamily()`.\nUI:N - The attacker performs every step alone — creating the namespace, setting zone limits, and exiting the namespace to drive the teardown. No victim action or interaction is involved.\nS:U - The corruption is confined to kernel slab memory within the same security authority; there is no VM, IOMMU, or sandbox boundary crossed. This is a standard kernel local privilege-escalation scope.\nC:H - The use-after-free lets the attacker place controlled data in the freed object and steer the traversal to arbitrary kernel addresses, and the resulting arbitrary-free primitive enables controlled UAFs elsewhere that expose arbitrary kernel memory.\nI:H - A reclaimed object supplies an attacker-chosen `next` pointer that is passed to `kfree_rcu()`, yielding an arbitrary-address `kvfree()` plus pointer writes into `rcu_head->func`/`->next` — a write primitive sufficient for control-flow hijacking and privilege escalation.\nA:H - Dereferencing and then RCU-freeing a stale list pointer corrupts slab metadata and reliably produces a kernel oops or panic even in unsuccessful exploitation attempts, and the path can be re-triggered at will." } ] } ], "affected": [ { "product": "Linux", "vendor": "Linux", "defaultStatus": "unaffected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "net/openvswitch/conntrack.c" ], "versions": [ { "version": "11efd5cb04a184eea4f57b68ea63dddd463158d1", "lessThan": "2db9a8c0a01fa1c762c1e61a13c212c492752994", "status": "affected", "versionType": "git" }, { "version": "11efd5cb04a184eea4f57b68ea63dddd463158d1", "lessThan": "589523cf0b384164e445dd5db8d5b1bf97982424", "status": "affected", "versionType": "git" }, { "version": "11efd5cb04a184eea4f57b68ea63dddd463158d1", "lessThan": "35880c3fa6f8fe281a19975d2992644588ca33d3", "status": "affected", "versionType": "git" }, { "version": "11efd5cb04a184eea4f57b68ea63dddd463158d1", "lessThan": "9048616553c65e750d43846f225843ed745ec0d4", "status": "affected", "versionType": "git" }, { "version": "11efd5cb04a184eea4f57b68ea63dddd463158d1", "lessThan": "bca6fa2d9a9f560e6b89fd5190b05cc2f5d422c1", "status": "affected", "versionType": "git" }, { "version": "11efd5cb04a184eea4f57b68ea63dddd463158d1", "lessThan": "eaa5e164a2110d2fb9e16c8a29e4501882235137", "status": "affected", "versionType": "git" }, { "version": "11efd5cb04a184eea4f57b68ea63dddd463158d1", "lessThan": "edee0758747d7c219e29db9ed1d4eb33e8d32865", "status": "affected", "versionType": "git" }, { "version": "11efd5cb04a184eea4f57b68ea63dddd463158d1", "lessThan": "5ea7b72d4fac2fdbc0425cd8f2ea33abe95235b2", "status": "affected", "versionType": "git" } ] }, { "product": "Linux", "vendor": "Linux", "defaultStatus": "affected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "net/openvswitch/conntrack.c" ], "versions": [ { "version": "4.18", "status": "affected" }, { "version": "0", "lessThan": "4.18", "status": "unaffected", "versionType": "semver" }, { "version": "4.19.313", "lessThanOrEqual": "4.19.*", "status": "unaffected", "versionType": "semver" }, { "version": "5.4.275", "lessThanOrEqual": "5.4.*", "status": "unaffected", "versionType": "semver" }, { "version": "5.10.216", "lessThanOrEqual": "5.10.*", "status": "unaffected", "versionType": "semver" }, { "version": "5.15.158", "lessThanOrEqual": "5.15.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.1.90", "lessThanOrEqual": "6.1.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.6.30", "lessThanOrEqual": "6.6.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.8.9", "lessThanOrEqual": "6.8.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.9", "lessThanOrEqual": "*", "status": "unaffected", "versionType": "original_commit_for_fix" } ] } ], "cpeApplicability": [ { "nodes": [ { "operator": "OR", "negate": false, "cpeMatch": [ { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.18", "versionEndExcluding": "4.19.313" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.18", "versionEndExcluding": "5.4.275" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.18", "versionEndExcluding": "5.10.216" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.18", "versionEndExcluding": "5.15.158" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.18", "versionEndExcluding": "6.1.90" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.18", "versionEndExcluding": "6.6.30" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.18", "versionEndExcluding": "6.8.9" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.18", "versionEndExcluding": "6.9" } ] } ] } ], "references": [ { "url": "https://git.kernel.org/stable/c/2db9a8c0a01fa1c762c1e61a13c212c492752994" }, { "url": "https://git.kernel.org/stable/c/589523cf0b384164e445dd5db8d5b1bf97982424" }, { "url": "https://git.kernel.org/stable/c/35880c3fa6f8fe281a19975d2992644588ca33d3" }, { "url": "https://git.kernel.org/stable/c/9048616553c65e750d43846f225843ed745ec0d4" }, { "url": "https://git.kernel.org/stable/c/bca6fa2d9a9f560e6b89fd5190b05cc2f5d422c1" }, { "url": "https://git.kernel.org/stable/c/eaa5e164a2110d2fb9e16c8a29e4501882235137" }, { "url": "https://git.kernel.org/stable/c/edee0758747d7c219e29db9ed1d4eb33e8d32865" }, { "url": "https://git.kernel.org/stable/c/5ea7b72d4fac2fdbc0425cd8f2ea33abe95235b2" } ], "title": "net: openvswitch: Fix Use-After-Free in ovs_ct_exit", "x_generator": { "engine": "bippy-1.2.0" } }, "adp": [ { "providerMetadata": { "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE", "dateUpdated": "2024-08-02T00:34:52.145Z" }, "title": "CVE Program Container", "references": [ { "url": "https://git.kernel.org/stable/c/2db9a8c0a01fa1c762c1e61a13c212c492752994", "tags": [ "x_transferred" ] }, { "url": "https://git.kernel.org/stable/c/589523cf0b384164e445dd5db8d5b1bf97982424", "tags": [ "x_transferred" ] }, { "url": "https://git.kernel.org/stable/c/35880c3fa6f8fe281a19975d2992644588ca33d3", "tags": [ "x_transferred" ] }, { "url": "https://git.kernel.org/stable/c/9048616553c65e750d43846f225843ed745ec0d4", "tags": [ "x_transferred" ] }, { "url": "https://git.kernel.org/stable/c/bca6fa2d9a9f560e6b89fd5190b05cc2f5d422c1", "tags": [ "x_transferred" ] }, { "url": "https://git.kernel.org/stable/c/eaa5e164a2110d2fb9e16c8a29e4501882235137", "tags": [ "x_transferred" ] }, { "url": "https://git.kernel.org/stable/c/edee0758747d7c219e29db9ed1d4eb33e8d32865", "tags": [ "x_transferred" ] }, { "url": "https://git.kernel.org/stable/c/5ea7b72d4fac2fdbc0425cd8f2ea33abe95235b2", "tags": [ "x_transferred" ] }, { "url": "https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html", "tags": [ "x_transferred" ] }, { "url": "https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html", "tags": [ "x_transferred" ] } ] }, { "metrics": [ { "other": { "type": "ssvc", "content": { "id": "CVE-2024-27395", "role": "CISA Coordinator", "options": [ { "Exploitation": "none" }, { "Automatable": "no" }, { "Technical Impact": "partial" } ], "version": "2.0.3", "timestamp": "2024-09-10T15:43:26.319846Z" } } } ], "title": "CISA ADP Vulnrichment", "providerMetadata": { "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP", "dateUpdated": "2024-09-11T17:33:26.879Z" } }, { "x_adpType": "supplier", "providerMetadata": { "orgId": "0b142b55-0307-4c5a-b3c9-f314f3fb7c5e", "shortName": "siemens-SADP", "dateUpdated": "2026-05-12T11:51:33.210Z" }, "affected": [ { "vendor": "Siemens", "product": "RUGGEDCOM RST2428P", "versions": [ { "status": "affected", "version": "0", "lessThan": "V3.1", "versionType": "custom" } ], "defaultStatus": "unknown" }, { "vendor": "Siemens", "product": "SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family", "versions": [ { "status": "unaffected", "version": "0", "lessThan": "*", "versionType": "custom" } ], "defaultStatus": "unknown" }, { "vendor": "Siemens", "product": "SCALANCE XCM-/XRM-/XCH-/XRH-300 family", "versions": [ { "status": "affected", "version": "0", "lessThan": "V3.1", "versionType": "custom" } ], "defaultStatus": "unknown" }, { "vendor": "Siemens", "product": "SIMATIC S7-1500 TM MFP - GNU/Linux subsystem", "versions": [ { "status": "affected", "version": "0", "lessThan": "*", "versionType": "custom" } ], "defaultStatus": "unknown" } ], "references": [ { "url": "https://cert-portal.siemens.com/productcert/html/ssa-265688.html" }, { "url": "https://cert-portal.siemens.com/productcert/html/ssa-613116.html" } ] } ] }, "dataVersion": "5.2" }