CVE
CVE-2021-47153
CNA description
In the Linux kernel, the following vulnerability has been resolved: i2c: i801: Don't generate an interrupt on bus reset Now that the i2c-i801 driver supports interrupts, setting the KILL bit in a attempt to recover from a timed out transaction triggers an interrupt. Unfortunately, the interrupt handler (i801_isr) is not prepared for this situation and will try to process the interrupt as if it was signaling the end of a successful transaction. In the case of a block transaction, this can result in an out-of-range memory access. This condition was reproduced several times by syzbot: [link removed] [link removed] [link removed] [link removed] [link removed] [link removed] So disable interrupts while trying to reset the bus. Interrupts will be enabled again for the following transaction.
Affected versions
All Linux kernel vulnerabilities →
- 5.13-rc3This version only
- 5.13-rc2This version only
- 5.13-rc1This version only
- ≥ 5.11, < 5.12.9Fixed in 5.12.9
- ≥ 5.5, < 5.10.42Fixed in 5.10.42
- ≥ 4.20, < 5.4.124Fixed in 5.4.124
- ≥ 4.15, < 4.19.193Fixed in 4.19.193
- ≥ 4.10, < 4.14.235Fixed in 4.14.235
- ≥ 4.5, < 4.9.271Fixed in 4.9.271
- ≥ 3.6, < 4.4.271Fixed in 4.4.271
Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.
Advisories and patches
- git.kernel.org/stable/c/04cc05e3716ae31b17ecdab7bc55c8170def1b8b · Patch
- git.kernel.org/stable/c/09c9e79f4c10cfb6b9e0e1b4dd355232e4b5a3b3 · Patch
- git.kernel.org/stable/c/1f583d3813f204449037cd2acbfc09168171362a · Patch
- git.kernel.org/stable/c/b523feb7e8e44652f92f3babb953a976e7ccbbef · Patch
- git.kernel.org/stable/c/c70e1ba2e7e65255a0ce004f531dd90dada97a8c · Patch
- git.kernel.org/stable/c/dfa8929e117b0228a7765f5c3f5988a4a028f3c6 · Patch
- git.kernel.org/stable/c/e4d8716c3dcec47f1557024add24e1f3c09eb24b · Patch
- git.kernel.org/stable/c/f9469082126cebb7337db3992d143f5e4edfe629 · Patch
Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.