Files
vuln-cve/data/2024/27xxx/CVE-2024-27019.json
T

311 lines
16 KiB
JSON

{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2024-27019",
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"state": "PUBLISHED",
"assignerShortName": "Linux",
"dateReserved": "2024-02-19T14:20:24.209Z",
"datePublished": "2024-05-01T05:30:11.319Z",
"dateUpdated": "2026-08-05T11:29:02.381Z"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux",
"dateUpdated": "2026-08-05T11:29:02.381Z"
},
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnetfilter: nf_tables: Fix potential data-race in __nft_obj_type_get()\n\nnft_unregister_obj() can concurrent with __nft_obj_type_get(),\nand there is not any protection when iterate over nf_tables_objects\nlist in __nft_obj_type_get(). Therefore, there is potential data-race\nof nf_tables_objects list entry.\n\nUse list_for_each_entry_rcu() to iterate over nf_tables_objects\nlist in __nft_obj_type_get(), and use rcu_read_lock() in the caller\nnft_obj_type_get() to protect the entire type query process."
}
],
"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 vulnerable code is reached only through the nfnetlink/nf_tables netlink socket via an NFT_MSG_NEWOBJ batch message, which requires a local process on the system. There is no remote or adjacent-network path into `__nft_obj_type_get()`.\nAC:L - The attacker fully controls the racing reader side and can issue NFT_MSG_NEWOBJ batches in a tight loop with no rate limiting or retry penalty, and can independently drive the list-mutation side through on-demand module autoload (`nft_request_module()` → `nf_tables_module_autoload()`, which drops `commit_mutex` around `request_module()`). Nothing about winning the window depends on state the attacker cannot influence or repeatedly re-attempt.\nPR:L - The only gate is `netlink_net_capable(skb, CAP_NET_ADMIN)`, which is evaluated against the network namespace's owning user namespace, so an ordinary unprivileged user obtains it with `unshare -Urn`. No real root or CAP_SYS_ADMIN in the initial namespace is required to reach the unsynchronized list walk.\nUI:N - The attacker triggers the entire sequence from their own process by sending netlink messages; no victim action, mount, file open, or administrator interaction is needed.\nS:U - The race and its consequences are confined to the kernel's own security authority — this is standard in-kernel memory corruption with no crossing of a VM, IOMMU, or hypervisor boundary.\nC:H - The unprotected traversal can dereference `struct nft_object_type` fields in module memory already released by `free_mod_mem()`, and the stale pointer is propagated into `nft_obj_init()` where `type->maxattr` and `type->policy` steer a `kmalloc_array()` and `nla_parse_nested()`, giving an attacker-influenceable read out of reallocated kernel memory.\nI:H - `try_module_get(type->owner)` performs an atomic increment through a dangling pointer, and `nft_obj_init()` then invokes `type->select_ops()` and `ops->init()` — indirect calls through function pointers read from freed vmalloc'd module memory that can be reoccupied by a later module load or spray, yielding a control-flow hijack primitive.\nA:H - Following a stale list entry or a garbage `type->owner`/`select_ops` pointer produces an oops or panic, and the use-after-free reliably crashes the kernel even when not weaponized further."
}
]
}
],
"affected": [
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"net/netfilter/nf_tables_api.c"
],
"versions": [
{
"version": "e50092404c1bc7aaeb0a0f4077fa6f07b073a20f",
"lessThan": "cade34279c2249eafe528564bd2e203e4ff15f88",
"status": "affected",
"versionType": "git"
},
{
"version": "e50092404c1bc7aaeb0a0f4077fa6f07b073a20f",
"lessThan": "379bf7257bc5f2a1b1ca8514e08a871b7bf6d920",
"status": "affected",
"versionType": "git"
},
{
"version": "e50092404c1bc7aaeb0a0f4077fa6f07b073a20f",
"lessThan": "df7c0fb8c2b9f9cac65659332581b19682a71349",
"status": "affected",
"versionType": "git"
},
{
"version": "e50092404c1bc7aaeb0a0f4077fa6f07b073a20f",
"lessThan": "ad333578f736d56920e090d7db1f8dec891d815e",
"status": "affected",
"versionType": "git"
},
{
"version": "e50092404c1bc7aaeb0a0f4077fa6f07b073a20f",
"lessThan": "4ca946b19caf655a08d5e2266d4d5526025ebb73",
"status": "affected",
"versionType": "git"
},
{
"version": "e50092404c1bc7aaeb0a0f4077fa6f07b073a20f",
"lessThan": "d78d867dcea69c328db30df665be5be7d0148484",
"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/netfilter/nf_tables_api.c"
],
"versions": [
{
"version": "4.10",
"status": "affected"
},
{
"version": "0",
"lessThan": "4.10",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.10.219",
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "5.15.157",
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.1.88",
"lessThanOrEqual": "6.1.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.6.29",
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.8.8",
"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.10",
"versionEndExcluding": "5.10.219"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.10",
"versionEndExcluding": "5.15.157"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.10",
"versionEndExcluding": "6.1.88"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.10",
"versionEndExcluding": "6.6.29"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.10",
"versionEndExcluding": "6.8.8"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.10",
"versionEndExcluding": "6.9"
}
]
}
]
}
],
"references": [
{
"url": "https://git.kernel.org/stable/c/cade34279c2249eafe528564bd2e203e4ff15f88"
},
{
"url": "https://git.kernel.org/stable/c/379bf7257bc5f2a1b1ca8514e08a871b7bf6d920"
},
{
"url": "https://git.kernel.org/stable/c/df7c0fb8c2b9f9cac65659332581b19682a71349"
},
{
"url": "https://git.kernel.org/stable/c/ad333578f736d56920e090d7db1f8dec891d815e"
},
{
"url": "https://git.kernel.org/stable/c/4ca946b19caf655a08d5e2266d4d5526025ebb73"
},
{
"url": "https://git.kernel.org/stable/c/d78d867dcea69c328db30df665be5be7d0148484"
}
],
"title": "netfilter: nf_tables: Fix potential data-race in __nft_obj_type_get()",
"x_generator": {
"engine": "bippy-1.2.0"
}
},
"adp": [
{
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"timestamp": "2024-06-17T17:40:24.038886Z",
"id": "CVE-2024-27019",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
}
],
"title": "CISA ADP Vulnrichment",
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2024-06-17T17:46:01.245Z"
}
},
{
"title": "CVE Program Container",
"references": [
{
"url": "https://git.kernel.org/stable/c/cade34279c2249eafe528564bd2e203e4ff15f88",
"tags": [
"x_transferred"
]
},
{
"url": "https://git.kernel.org/stable/c/379bf7257bc5f2a1b1ca8514e08a871b7bf6d920",
"tags": [
"x_transferred"
]
},
{
"url": "https://git.kernel.org/stable/c/df7c0fb8c2b9f9cac65659332581b19682a71349",
"tags": [
"x_transferred"
]
},
{
"url": "https://git.kernel.org/stable/c/ad333578f736d56920e090d7db1f8dec891d815e",
"tags": [
"x_transferred"
]
},
{
"url": "https://git.kernel.org/stable/c/4ca946b19caf655a08d5e2266d4d5526025ebb73",
"tags": [
"x_transferred"
]
},
{
"url": "https://git.kernel.org/stable/c/d78d867dcea69c328db30df665be5be7d0148484",
"tags": [
"x_transferred"
]
},
{
"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/DAMSOZXJEPUOXW33WZYWCVAY7Z5S7OOY/"
},
{
"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4EZ6PJW7VOZ224TD7N4JZNU6KV32ZJ53/"
},
{
"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GCBZZEC7L7KTWWAS2NLJK6SO3IZIL4WW/"
}
],
"providerMetadata": {
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE",
"dateUpdated": "2025-11-04T17:17:32.430Z"
}
}
]
}
}