Files
vuln-cve/data/2024/49xxx/CVE-2024-49864.json
T

218 lines
12 KiB
JSON

{
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"cveMetadata": {
"cveId": "CVE-2024-49864",
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"state": "PUBLISHED",
"assignerShortName": "Linux",
"dateReserved": "2024-10-21T12:17:06.017Z",
"datePublished": "2024-10-21T18:01:07.874Z",
"dateUpdated": "2026-08-05T11:40:12.232Z"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux",
"dateUpdated": "2026-08-05T11:40:12.232Z"
},
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nrxrpc: Fix a race between socket set up and I/O thread creation\n\nIn rxrpc_open_socket(), it sets up the socket and then sets up the I/O\nthread that will handle it. This is a problem, however, as there's a gap\nbetween the two phases in which a packet may come into rxrpc_encap_rcv()\nfrom the UDP packet but we oops when trying to wake the not-yet created I/O\nthread.\n\nAs a quick fix, just make rxrpc_encap_rcv() discard the packet if there's\nno I/O thread yet.\n\nA better, but more intrusive fix would perhaps be to rearrange things such\nthat the socket creation is done by the I/O thread."
}
],
"metrics": [
{
"cvssV3_1": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"baseScore": 7.5,
"baseSeverity": "HIGH"
},
"scenarios": [
{
"lang": "en",
"value": "AV:N - The vulnerable code is the UDP encapsulation receive handler `rxrpc_encap_rcv()`, entered from the softirq packet-receive path for any datagram delivered to the rxrpc endpoint's UDP port (e.g. the well-known AFS port 7001 used by kafs). A remote host on the network triggers the oops simply by sending UDP packets to that port.\nAC:L - The race window is wide and deterministically traversed — it contains a `kthread_run()` plus a blocking `wait_for_completion()` — so a sustained UDP flood at the target port hits it without any timing precision, and a local attacker controls both sides outright by looping `bind()` on an AF_RXRPC socket while flooding that port on loopback. Repeatable success is expected.\nPR:N - The NULL dereference occurs before any rxrpc header parsing, service-ID matching, connection lookup or security-level check, so no credentials or prior authentication are needed; any unauthenticated packet reaching the port suffices. Even in the purely local variant, `rxrpc_create()` and `rxrpc_bind()` require no capability at all.\nUI:N - Exploitation needs only inbound packets during the endpoint-setup window; no action by any user of the target system is required beyond the normal, automatic creation of the rxrpc endpoint (module load, AFS mount, netns/container creation, service start).\nS:U - The dereference and its consequences are confined to the kernel of the affected host; no VM, IOMMU or other security-authority boundary is crossed.\nC:N - The bug is a dereference of a NULL `task_struct` pointer in `try_to_wake_up()`; no attacker-controlled memory is read back and no kernel data or pointers are disclosed to the attacker.\nI:N - No memory is written out of bounds and no freed object is reused — the fault is a read of the NULL page, giving the attacker no write or control-flow primitive.\nA:H - The NULL dereference happens in NET_RX softirq context, producing a fatal exception in interrupt context and a full kernel panic; it can be re-triggered on every reboot by keeping the UDP flood running against the endpoint's port."
}
]
}
],
"affected": [
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"net/rxrpc/ar-internal.h",
"net/rxrpc/io_thread.c",
"net/rxrpc/local_object.c"
],
"versions": [
{
"version": "a275da62e8c111b897b9cb73eb91df2f4e475ca5",
"lessThan": "cdf4bbbdb956d7426f687f38757ebca2a2759a0f",
"status": "affected",
"versionType": "git"
},
{
"version": "a275da62e8c111b897b9cb73eb91df2f4e475ca5",
"lessThan": "56e415202b8a17de6496f4023e545fcb66f118ec",
"status": "affected",
"versionType": "git"
},
{
"version": "a275da62e8c111b897b9cb73eb91df2f4e475ca5",
"lessThan": "c64f5fc95e9612fdf75587c8e21e494e614c18e2",
"status": "affected",
"versionType": "git"
},
{
"version": "a275da62e8c111b897b9cb73eb91df2f4e475ca5",
"lessThan": "bc212465326e8587325f520a052346f0b57360e6",
"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/rxrpc/ar-internal.h",
"net/rxrpc/io_thread.c",
"net/rxrpc/local_object.c"
],
"versions": [
{
"version": "6.2",
"status": "affected"
},
{
"version": "0",
"lessThan": "6.2",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.6.55",
"lessThanOrEqual": "6.6.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.10.14",
"lessThanOrEqual": "6.10.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.11.3",
"lessThanOrEqual": "6.11.*",
"status": "unaffected",
"versionType": "semver"
},
{
"version": "6.12",
"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": "6.2",
"versionEndExcluding": "6.6.55"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.2",
"versionEndExcluding": "6.10.14"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.2",
"versionEndExcluding": "6.11.3"
},
{
"vulnerable": true,
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "6.2",
"versionEndExcluding": "6.12"
}
]
}
]
}
],
"references": [
{
"url": "https://git.kernel.org/stable/c/cdf4bbbdb956d7426f687f38757ebca2a2759a0f"
},
{
"url": "https://git.kernel.org/stable/c/56e415202b8a17de6496f4023e545fcb66f118ec"
},
{
"url": "https://git.kernel.org/stable/c/c64f5fc95e9612fdf75587c8e21e494e614c18e2"
},
{
"url": "https://git.kernel.org/stable/c/bc212465326e8587325f520a052346f0b57360e6"
}
],
"title": "rxrpc: Fix a race between socket set up and I/O thread creation",
"x_generator": {
"engine": "bippy-1.2.0"
}
},
"adp": [
{
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2024-49864",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2024-10-22T13:47:53.708864Z"
}
}
}
],
"title": "CISA ADP Vulnrichment",
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2024-10-22T13:48:52.920Z"
}
}
]
}
}