tpm: tpm_i2c_nuvoton: disable IRQ on wait timeout
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 4c336e4b1556f4b722ba597bc6e3df786968a600 · < cde2d927c29e82380851f209222256c607969a1f| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
tpm: tpm_i2c_nuvoton: disable IRQ on wait timeout
i2c_nuvoton_wait_for_stat() enables the IRQ before waiting for the interrupt handler to report a status change. If the wait times out, or is interrupted before the handler runs, the function returns without balancing the enable_irq() call.
Disable the IRQ before leaving the failed wait path. Also preserve an interrupted wait's original error code instead of converting it to -ETIMEDOUT inside the helper.
From the CVE record · Linux
The Linux kernel's Nuvoton TPM I2C driver can leave an IRQ enabled when a status wait times out or is interrupted before the interrupt handler runs. The input does not establish how an attacker could trigger this condition or whether access, authentication, or user interaction is required.
Engineers running Linux kernels with the Nuvoton TPM I2C driver should check their exposure; affected versions are not specified.