CyberAlerts is shutting down on June 30th, 2025. Thank you for your support!

CVE-2024-50101: iommu/vt-d: Fix incorrect pci_for_each_dma_alias() for non-PCI devices

5.5 CVSS

Description

In the Linux kernel, the following vulnerability has been resolved:

iommu/vt-d: Fix incorrect pci_for_each_dma_alias() for non-PCI devices

Previously, the domain_context_clear() function incorrectly called
pci_for_each_dma_alias() to set up context entries for non-PCI devices.
This could lead to kernel hangs or other unexpected behavior.

Add a check to only call pci_for_each_dma_alias() for PCI devices. For
non-PCI devices, domain_context_clear_one() is called directly.

Classification

CVE ID: CVE-2024-50101

CVSS Base Severity: MEDIUM

CVSS Base Score: 5.5

CVSS Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected Products

Vendor: Linux

Product: Linux

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.04% (probability of being exploited)

EPSS Percentile: 10.08% (scored less or equal to compared to others)

EPSS Date: 2025-06-02 (when was this score calculated)

References

https://nvd.nist.gov/vuln/detail/CVE-2024-50101
https://git.kernel.org/stable/c/0bd9a30c22afb5da203386b811ec31429d2caa78
https://git.kernel.org/stable/c/cbfa3a83eba05240ce37839ed48280a05e8e8f6c
https://git.kernel.org/stable/c/fe2e0b6cd00abea3efac66de1da22d844364c1b0
https://git.kernel.org/stable/c/04d6826ba7ba81213422276e96c90c6565169e1c
https://git.kernel.org/stable/c/6e02a277f1db24fa039e23783c8921c7b0e5b1b3

Timeline