Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 4c336e4b1556f4b722ba597bc6e3df786968a600 before 007c9e637e0e0b9d946b7f0e8a42f1f1aca48d7a; affected 4c336e4b1556f4b722ba597bc6e3df786968a600 before 2c9147b2c0d75091ab451c2461d1c91788a7e60b; affected 4c336e4b1556f4b722ba597bc6e3df786968a600 before 07c2544a47da481043e945322b1bef71cdd7af79; affected 4c336e4b1556f4b722ba597bc6e3df786968a600 before b0dc3f18af01ba9f157b7d810cb22d3752d244ef; affected 4c336e4b1556f4b722ba597bc6e3df786968a600 before 73e89faee1f9b9119fa70b679058b045168ae633; affected 4c336e4b1556f4b722ba597bc6e3df786968a600 before cde2d927c29e82380851f209222256c607969a1f; affected 4c336e4b1556f4b722ba597bc6e3df786968a600 before aee2296d09f6aeff41db369c6fd2dcaea3ee302c; affected 4c336e4b1556f4b722ba597bc6e3df786968a600 before 705c4ed0643366963547b2616d53165f2519c81f |
| Linux / Linux | affected 3.13; unaffected 0 before 3.13; unaffected 5.10.270 through 5.10.*; unaffected 5.15.221 through 5.15.*; unaffected 6.1.188 through 6.1.*; unaffected 6.6.157 through 6.6.*; unaffected 6.12.109 through 6.12.*; unaffected 6.18.50 through 6.18.*; unaffected 7.2.4 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/007c9e637e0e0b9d946b7f0e8a42f1f1aca48d7a
- https://git.kernel.org/stable/c/2c9147b2c0d75091ab451c2461d1c91788a7e60b
- https://git.kernel.org/stable/c/07c2544a47da481043e945322b1bef71cdd7af79
- https://git.kernel.org/stable/c/b0dc3f18af01ba9f157b7d810cb22d3752d244ef
- https://git.kernel.org/stable/c/73e89faee1f9b9119fa70b679058b045168ae633
- https://git.kernel.org/stable/c/cde2d927c29e82380851f209222256c607969a1f
- https://git.kernel.org/stable/c/aee2296d09f6aeff41db369c6fd2dcaea3ee302c
- https://git.kernel.org/stable/c/705c4ed0643366963547b2616d53165f2519c81f