tpm: tpm_i2c_infineon: Fix locality leak on get_burstcount() failure
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ aad628c1d91a6db57e572e4c1f35e863d81061d7 · < 1a22048c1117cdfac185ba450aba67ed6b65dc87| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
tpm: tpm_i2c_infineon: Fix locality leak on get_burstcount() failure
get_burstcount() can return -EBUSY on timeout. When this happens, the function returns directly without releasing the locality that was acquired at the beginning of tpm_tis_i2c_send().
Use goto out_err to ensure proper cleanup when get_burstcount() fails.
From the CVE record · Linux
The Linux kernel’s tpm_i2c_infineon driver can fail to release an acquired TPM locality when get_burstcount() times out and returns -EBUSY. The input does not specify how an attacker could trigger this condition or whether network access, authentication, or user interaction is required.
Teams running Linux kernels with the tpm_i2c_infineon driver should check whether their kernel includes the fix; affected versions are not specified.