{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-50101","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2024-10-21T19:36:19.946Z","datePublished":"2024-11-05T17:07:38.695Z","dateUpdated":"2026-08-05T11:41:41.330Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-08-05T11:41:41.330Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\niommu/vt-d: Fix incorrect pci_for_each_dma_alias() for non-PCI devices\n\nPreviously, the domain_context_clear() function incorrectly called\npci_for_each_dma_alias() to set up context entries for non-PCI devices.\nThis could lead to kernel hangs or other unexpected behavior.\n\nAdd a check to only call pci_for_each_dma_alias() for PCI devices. For\nnon-PCI devices, domain_context_clear_one() is called directly."}],"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 path is reached only through local IOMMU domain attach/detach operations (device probe/removal, driver bind/unbind, iommu_group type change, VFIO/iommufd device attach); there is no network or remote-peer input involved.\nAC:L - The type confusion is deterministic — every attach/detach of a non-PCI (ACPI-namespace/platform) device on an Intel VT-d IOMMU takes the bogus `to_pci_dev()` branch, with no race to win and no memory-layout condition to satisfy. CONFIG_INTEL_IOMMU is default-on in distro x86_64 kernels and ANDD/ACPI-namespace devices in DMAR scope are common on Intel client platforms, as the two independent bugzilla reports show.\nPR:L - Reaching the domain attach/detach path requires local access to device-management interfaces rather than any remote authentication, consistent with the PR:L scoring used for comparable VT-d attach/detach defects (CVE-2024-56668, CVE-2024-56669). No credential verification protects the code itself once the attach/detach operation is issued.\nUI:N - The faulty branch executes automatically as part of IOMMU domain attach/detach and device probe/release; no victim action such as opening a file or mounting a filesystem is needed.\nS:U - The corruption is confined to the kernel's own IOMMU bookkeeping and heap. Clearing a context entry sets Present=0, which blocks DMA (fail-closed) rather than granting a device unrestricted access, so no IOMMU/DMA security boundary is crossed.\nC:H - The fabricated `struct pci_dev` causes unbounded out-of-bounds reads of kernel heap memory adjacent to the platform device, which are then chased as pointers (`pdev->bus->number`, `bus->self`, `bus->parent`, `tmp->subordinate->number`), giving an unconstrained kernel-memory read primitive rather than a few bounded bytes.\nI:H - This is a type confusion in which out-of-bounds-read garbage selects which IOMMU context entries get zeroed, silently tearing down DMA translation for unrelated devices and corrupting in-flight DMA for them; per type-confusion/memory-corruption guidance this warrants High.\nA:H - The upstream commit states the bug \"could lead to kernel hangs,\" and the code confirms both an unterminated walk of a fabricated `pci_bus` parent chain (hang) and wild pointer dereferences (oops) on affected hardware, in some configurations during boot-time device probe."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/iommu/intel/iommu.c"],"versions":[{"version":"9807860f6ad446459d0446550cf4a2dc23bbee6c","lessThan":"0bd9a30c22afb5da203386b811ec31429d2caa78","status":"affected","versionType":"git"},{"version":"59862b869275c27beb25cda2054b59a8b5d04970","lessThan":"cbfa3a83eba05240ce37839ed48280a05e8e8f6c","status":"affected","versionType":"git"},{"version":"48f2183a4f9d3540fc5cfc8f8451621ee92c09f8","lessThan":"fe2e0b6cd00abea3efac66de1da22d844364c1b0","status":"affected","versionType":"git"},{"version":"9a16ab9d640274b20813d2d17475e18d3e99d834","lessThan":"04d6826ba7ba81213422276e96c90c6565169e1c","status":"affected","versionType":"git"},{"version":"9a16ab9d640274b20813d2d17475e18d3e99d834","lessThan":"6e02a277f1db24fa039e23783c8921c7b0e5b1b3","status":"affected","versionType":"git"},{"version":"5.15.142","lessThan":"5.15.169","status":"affected","versionType":"semver"},{"version":"6.1.66","lessThan":"6.1.114","status":"affected","versionType":"semver"},{"version":"6.6.5","lessThan":"6.6.58","status":"affected","versionType":"semver"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/iommu/intel/iommu.c"],"versions":[{"version":"6.7","status":"affected"},{"version":"0","lessThan":"6.7","status":"unaffected","versionType":"semver"},{"version":"5.15.169","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.114","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.58","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.11.5","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":"5.15.142","versionEndExcluding":"5.15.169"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1.66","versionEndExcluding":"6.1.114"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6.5","versionEndExcluding":"6.6.58"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7","versionEndExcluding":"6.11.5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7","versionEndExcluding":"6.12"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/0bd9a30c22afb5da203386b811ec31429d2caa78"},{"url":"https://git.kernel.org/stable/c/cbfa3a83eba05240ce37839ed48280a05e8e8f6c"},{"url":"https://git.kernel.org/stable/c/fe2e0b6cd00abea3efac66de1da22d844364c1b0"},{"url":"https://git.kernel.org/stable/c/04d6826ba7ba81213422276e96c90c6565169e1c"},{"url":"https://git.kernel.org/stable/c/6e02a277f1db24fa039e23783c8921c7b0e5b1b3"}],"title":"iommu/vt-d: Fix incorrect pci_for_each_dma_alias() for non-PCI devices","x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":5.5,"attackVector":"LOCAL","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"LOW","confidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"id":"CVE-2024-50101","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2025-10-01T20:22:32.500340Z"}}}],"problemTypes":[{"descriptions":[{"lang":"en","type":"CWE","description":"CWE-noinfo Not enough information"}]}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2025-10-01T20:27:18.620Z"}},{"title":"CVE Program Container","references":[{"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:25:32.555Z"}}]}}