tpm_crb: Check ACPI_COMPANION() against NULL during probe
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
tpm_crb: Check ACPI_COMPANION() against NULL during probe
Every platform driver can be forced to match a device that doesn't match its list of device IDs because of device_match_driver_override(), so platform drivers that rely on the existence of a device's ACPI companion object need to verify its presence.
Accordingly, add a requisite ACPI_COMPANION() check against NULL to the tpm_crb driver.
From the CVE record · Linux
The Linux kernel's tpm_crb driver did not check whether an ACPI companion object existed during probe. A platform driver can be forced to match a device outside its device ID list; the input does not specify an attacker outcome, access requirements, or whether user interaction is needed.
Engineers running Linux kernels with the tpm_crb driver should check their systems; affected versions were not provided.