iommu/amd: Add a length limitation for the ivrs_acpihid command-line parameter
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ ca3bf5d47cec8b7614bcb2e9132c40081d6d81db · < b6b26d86c61c441144c72f842f7469bb686e1211| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
iommu/amd: Add a length limitation for the ivrs_acpihid command-line parameter
The 'acpiid' buffer in the parse_ivrs_acpihid function may overflow, because the string specifier in the format string sscanf() has no width limitation.
Found by InfoTeCS on behalf of Linux Verification Center (linuxtesting.org) with SVACE.
From the CVE record · Linux
The Linux kernel's AMD IOMMU parser can overflow the acpiid buffer when parsing the ivrs_acpihid command-line parameter because an sscanf string conversion lacks a width limit. The input does not specify whether an attacker can exploit this, or the required access or user interaction.
Engineers running the Linux kernel should check their installations; affected versions are not specified.