tpm: tpm_i2c_nuvoton: disable IRQ on wait timeout
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.10.270, 5.15.221, 6.1.188, 6.6.157, 6.12.109, and 2 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 4c336e4b1556f4b722ba597bc6e3df786968a600 · fixed in 007c9e637e0e0b9d946b7f0e8a42f1f1aca48d7a; From 4c336e4b1556f4b722ba597bc6e3df786968a600 · fixed in 2c9147b2c0d75091ab451c2461d1c91788a7e60b; From 4c336e4b1556f4b722ba597bc6e3df786968a600 · fixed in 07c2544a47da481043e945322b1bef71cdd7af79; From 4c336e4b1556f4b722ba597bc6e3df786968a600 · fixed in b0dc3f18af01ba9f157b7d810cb22d3752d244ef; From 4c336e4b1556f4b722ba597bc6e3df786968a600 · fixed in 73e89faee1f9b9119fa70b679058b045168ae633; From 4c336e4b1556f4b722ba597bc6e3df786968a600 · fixed in cde2d927c29e82380851f209222256c607969a1f; From 4c336e4b1556f4b722ba597bc6e3df786968a600 · fixed in aee2296d09f6aeff41db369c6fd2dcaea3ee302c; From 4c336e4b1556f4b722ba597bc6e3df786968a600 · fixed in 705c4ed0643366963547b2616d53165f2519c81f
- Linux Linux
3.13
- KernelLinux
From 3.13.0 · fixed in 5.10.270; From 5.11.0 · fixed in 5.15.221; From 5.16.0 · fixed in 6.1.188; From 6.2.0 · fixed in 6.6.157; From 6.7.0 · fixed in 6.12.109; From 6.13.0 · fixed in 6.18.50; From 6.19.0 · fixed in 7.2.4
References 8
git.kernel.org
- stable/c/007c9e637e0e0b9d946b7f0e8a42f1f1aca48d7a
- stable/c/2c9147b2c0d75091ab451c2461d1c91788a7e60b
- stable/c/07c2544a47da481043e945322b1bef71cdd7af79
- stable/c/b0dc3f18af01ba9f157b7d810cb22d3752d244ef
- stable/c/73e89faee1f9b9119fa70b679058b045168ae633
- stable/c/cde2d927c29e82380851f209222256c607969a1f
- stable/c/aee2296d09f6aeff41db369c6fd2dcaea3ee302c
- stable/c/705c4ed0643366963547b2616d53165f2519c81f