iommu/amd: Bound the early ACPI HID map
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ ca3bf5d47cec8b7614bcb2e9132c40081d6d81db · < e5ebe8544df1a1c3611739a8622156094fe470df| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
iommu/amd: Bound the early ACPI HID map
The ivrs_acpihid command-line parser appends entries to a fixed four-element early_acpihid_map array. Unlike the sibling IOAPIC and HPET parsers, it does not reject a fifth entry before incrementing the map size.
Check the capacity at the common found label before parsing the HID and UID or writing the entry.
From the CVE record · Linux
The Linux kernel's ivrs_acpihid command-line parser can write past its fixed four-entry early ACPI HID map when given a fifth entry. The input does not establish who can supply that command-line option or what an attacker could achieve with the write.
Engineers running the Linux kernel with ivrs_acpihid command-line entries should check their systems; affected versions were not provided.