{ "dataType": "CVE_RECORD", "dataVersion": "5.2", "cveMetadata": { "cveId": "CVE-2024-41064", "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "state": "PUBLISHED", "assignerShortName": "Linux", "dateReserved": "2024-07-12T12:17:45.628Z", "datePublished": "2024-07-29T14:57:26.086Z", "dateUpdated": "2026-08-05T11:35:07.901Z" }, "containers": { "cna": { "providerMetadata": { "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "shortName": "Linux", "dateUpdated": "2026-08-05T11:35:07.901Z" }, "descriptions": [ { "lang": "en", "value": "In the Linux kernel, the following vulnerability has been resolved:\n\npowerpc/eeh: avoid possible crash when edev->pdev changes\n\nIf a PCI device is removed during eeh_pe_report_edev(), edev->pdev\nwill change and can cause a crash, hold the PCI rescan/remove lock\nwhile taking a copy of edev->pdev->bus." } ], "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 PowerPC EEH recovery path is entered locally — via `eeh_check_failure()` embedded in the MMIO accessors when a local process drives I/O on a frozen PE — and raced against the local PCI rescan/remove path (sysfs remove, DLPAR, hotplug). There is no remote or network-facing entry to `eeh_pe_bus_get()`.\nAC:L - The attacker drives the racing side (device removal) while the recovery sequence holds the stale `edev->pdev` across `eeh_pe_report()` driver callbacks and `eeh_wait_state()` waits of up to 300 seconds, and `eeh_pe_bus_get()` is reached at multiple points in that sequence, giving a wide and repeatable window.\nPR:L - Entry into the vulnerable recovery path requires no privileges — `eeh_check_failure()`/`eeh_dev_check_failure()`/`eeh_send_failure_ev ent()` perform no capability check, so ordinary unprivileged I/O on an affected PCI device queues the EEH event that reaches `eeh_pe_bus_get()`.\nUI:N - No victim action is needed; the EEH event is queued automatically by the MMIO accessor macros and the recovery kthread runs on its own.\nS:U - The stale dereference and any resulting corruption stay within the kernel's own security authority; no VM, IOMMU, or sandbox boundary is crossed.\nC:H - This is a use-after-free read of a `kfree()`d `struct pci_dev`, and the value read (`pdev->bus`) is propagated into further dereferences in `eeh_pe_loc_get_bus()` and the PCI hotplug core, so a reallocated and groomed slab yields an attacker-chosen pointer that the kernel then follows and exposes.\nI:H - The stale/attacker-influenced `struct pci_bus *` is handed to `pci_hp_remove_devices()` and `pci_hp_add_devices()`, which walk and unlink device lists through it, turning the UAF into list corruption and a write primitive exploitable for control-flow hijacking.\nA:H - The commit explicitly describes a crash; dereferencing a freed or concurrently NULLed `edev->pdev` oopses the `eehd` kthread and derails PCI error recovery, leaving the affected devices unusable." } ] } ], "affected": [ { "product": "Linux", "vendor": "Linux", "defaultStatus": "unaffected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "arch/powerpc/kernel/eeh_pe.c" ], "versions": [ { "version": "9b3c76f08122f5efdbe4992a64b8478cc92dd983", "lessThan": "8836e1bf5838ac6c08760e0a2dd7cf6410aa7ff3", "status": "affected", "versionType": "git" }, { "version": "9b3c76f08122f5efdbe4992a64b8478cc92dd983", "lessThan": "033c51dfdbb6b79ab43fb3587276fa82d0a329e1", "status": "affected", "versionType": "git" }, { "version": "9b3c76f08122f5efdbe4992a64b8478cc92dd983", "lessThan": "4fad7fef847b6028475dd7b4c14fcb82b3e51274", "status": "affected", "versionType": "git" }, { "version": "9b3c76f08122f5efdbe4992a64b8478cc92dd983", "lessThan": "4bc246d2d60d071314842fa448faa4ed39082aff", "status": "affected", "versionType": "git" }, { "version": "9b3c76f08122f5efdbe4992a64b8478cc92dd983", "lessThan": "f23c3d1ca9c4b2d626242a4e7e1ec1770447f7b5", "status": "affected", "versionType": "git" }, { "version": "9b3c76f08122f5efdbe4992a64b8478cc92dd983", "lessThan": "428d940a8b6b3350b282c14d3f63350bde65c48b", "status": "affected", "versionType": "git" }, { "version": "9b3c76f08122f5efdbe4992a64b8478cc92dd983", "lessThan": "a1216e62d039bf63a539bbe718536ec789a853dd", "status": "affected", "versionType": "git" } ] }, { "product": "Linux", "vendor": "Linux", "defaultStatus": "affected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "arch/powerpc/kernel/eeh_pe.c" ], "versions": [ { "version": "3.7", "status": "affected" }, { "version": "0", "lessThan": "3.7", "status": "unaffected", "versionType": "semver" }, { "version": "5.4.281", "lessThanOrEqual": "5.4.*", "status": "unaffected", "versionType": "semver" }, { "version": "5.10.223", "lessThanOrEqual": "5.10.*", "status": "unaffected", "versionType": "semver" }, { "version": "5.15.164", "lessThanOrEqual": "5.15.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.1.101", "lessThanOrEqual": "6.1.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.6.42", "lessThanOrEqual": "6.6.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.9.11", "lessThanOrEqual": "6.9.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.10", "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": "3.7", "versionEndExcluding": "5.4.281" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "3.7", "versionEndExcluding": "5.10.223" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "3.7", "versionEndExcluding": "5.15.164" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "3.7", "versionEndExcluding": "6.1.101" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "3.7", "versionEndExcluding": "6.6.42" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "3.7", "versionEndExcluding": "6.9.11" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "3.7", "versionEndExcluding": "6.10" } ] } ] } ], "references": [ { "url": "https://git.kernel.org/stable/c/8836e1bf5838ac6c08760e0a2dd7cf6410aa7ff3" }, { "url": "https://git.kernel.org/stable/c/033c51dfdbb6b79ab43fb3587276fa82d0a329e1" }, { "url": "https://git.kernel.org/stable/c/4fad7fef847b6028475dd7b4c14fcb82b3e51274" }, { "url": "https://git.kernel.org/stable/c/4bc246d2d60d071314842fa448faa4ed39082aff" }, { "url": "https://git.kernel.org/stable/c/f23c3d1ca9c4b2d626242a4e7e1ec1770447f7b5" }, { "url": "https://git.kernel.org/stable/c/428d940a8b6b3350b282c14d3f63350bde65c48b" }, { "url": "https://git.kernel.org/stable/c/a1216e62d039bf63a539bbe718536ec789a853dd" } ], "title": "powerpc/eeh: avoid possible crash when edev->pdev changes", "x_generator": { "engine": "bippy-1.2.0" } }, "adp": [ { "title": "CVE Program Container", "references": [ { "url": "https://git.kernel.org/stable/c/8836e1bf5838ac6c08760e0a2dd7cf6410aa7ff3", "tags": [ "x_transferred" ] }, { "url": "https://git.kernel.org/stable/c/033c51dfdbb6b79ab43fb3587276fa82d0a329e1", "tags": [ "x_transferred" ] }, { "url": "https://git.kernel.org/stable/c/4fad7fef847b6028475dd7b4c14fcb82b3e51274", "tags": [ "x_transferred" ] }, { "url": "https://git.kernel.org/stable/c/4bc246d2d60d071314842fa448faa4ed39082aff", "tags": [ "x_transferred" ] }, { "url": "https://git.kernel.org/stable/c/f23c3d1ca9c4b2d626242a4e7e1ec1770447f7b5", "tags": [ "x_transferred" ] }, { "url": "https://git.kernel.org/stable/c/428d940a8b6b3350b282c14d3f63350bde65c48b", "tags": [ "x_transferred" ] }, { "url": "https://git.kernel.org/stable/c/a1216e62d039bf63a539bbe718536ec789a853dd", "tags": [ "x_transferred" ] }, { "url": "https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html" } ], "providerMetadata": { "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE", "dateUpdated": "2025-11-03T22:00:13.274Z" } }, { "metrics": [ { "other": { "type": "ssvc", "content": { "id": "CVE-2024-41064", "role": "CISA Coordinator", "options": [ { "Exploitation": "none" }, { "Automatable": "no" }, { "Technical Impact": "partial" } ], "version": "2.0.3", "timestamp": "2024-09-10T16:21:59.237031Z" } } } ], "title": "CISA ADP Vulnrichment", "providerMetadata": { "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP", "dateUpdated": "2024-09-11T17:32:58.925Z" } } ] } }