7.8high
i2c: i801: Don't generate an interrupt on bus reset
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.23% (higher than 8% of CVEs)
- Published
- Last changed
- Assigned by
- Linux
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: https://syzkaller.appspot.com/bug?extid=ed71512d469895b5b34e https://syzkaller.appspot.com/bug?extid=8c8dedc0ba9e03f6c79e https://syzkaller.appspot.com/bug?extid=c8ff0b6d6c73d81b610e https://syzkaller.appspot.com/bug?extid=33f6c360821c399d69eb https://syzkaller.appspot.com/bug?extid=be15dc0b1933f04b043a https://syzkaller.appspot.com/bug?extid=b4d3fd1dfd53e90afd79 So disable interrupts while trying to reset the bus. Interrupts will be enabled again for the following transaction.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 636752bcb5177a301d0266270661581de8624828 before f9469082126cebb7337db3992d143f5e4edfe629, from 636752bcb5177a301d0266270661581de8624828 before 09c9e79f4c10cfb6b9e0e1b4dd355232e4b5a3b3, from 636752bcb5177a301d0266270661581de8624828 before dfa8929e117b0228a7765f5c3f5988a4a028f3c6, from 636752bcb5177a301d0266270661581de8624828 before c70e1ba2e7e65255a0ce004f531dd90dada97a8c, from 636752bcb5177a301d0266270661581de8624828 before 04cc05e3716ae31b17ecdab7bc55c8170def1b8b, from 636752bcb5177a301d0266270661581de8624828 before b523feb7e8e44652f92f3babb953a976e7ccbbef, from 636752bcb5177a301d0266270661581de8624828 before 1f583d3813f204449037cd2acbfc09168171362a, from 636752bcb5177a301d0266270661581de8624828 before e4d8716c3dcec47f1557024add24e1f3c09eb24b and 1 more Not affected: before 3.6, from 4.4.271 up to 4.4.*, from 4.9.271 up to 4.9.*, from 4.14.235 up to 4.14.*, from 4.19.193 up to 4.19.*, from 5.4.124 up to 5.4.* | CVE List |
| linux linux_kernel | from 3.6 before 4.4.271, from 4.5 before 4.9.271, from 4.10 before 4.14.235, from 4.15 before 4.19.193, from 4.20 before 5.4.124, from 5.5 before 5.10.42, from 5.11 before 5.12.9, 5.13 | NVD |
All scores
| Linux | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| CISA-ADP | 6.0medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:H |
| NVD | 7.1high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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: https://syzkaller.appspot.com/bug?extid=ed71512d469895b5b34e https://syzkaller.appspot.com/bug?extid=8c8dedc0ba9e03f6c79e https://syzkaller.appspot.com/bug?extid=c8ff0b6d6c73d81b610e https://syzkaller.appspot.com/bug?extid=33f6c360821c399d69eb https://syzkaller.appspot.com/bug?extid=be15dc0b1933f04b043a https://syzkaller.appspot.com/bug?extid=b4d3fd1dfd53e90afd79 So disable interrupts while trying to reset the bus. Interrupts will be enabled again for the following transaction.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: i2c: i801: no genera una interrupción al restablecer el bus Ahora que el controlador i2c-i801 admite interrupciones, configurar el bit KILL en un intento de recuperarse de una transacción con tiempo de espera agotado se activa una interrupción. Desafortunadamente, el controlador de interrupciones (i801_isr) no está preparado para esta situación e intentará procesar la interrupción como si estuviera indicando el final de una transacción exitosa. En el caso de una transacción en bloque, esto puede resultar en un acceso a la memoria fuera de rango. Esta condición fue reproducida varias veces por syzbot: https://syzkaller.appspot.com/bug?extid=ed71512d469895b5b34e https://syzkaller.appspot.com/bug?extid=8c8dedc0ba9e03f6c79e https://syzkaller.appspot.com/bug ?extid=c8ff0b6d6c73d81b610e https://syzkaller.appspot.com/bug?extid=33f6c360821c399d69eb https://syzkaller.appspot.com/bug?extid=be15dc0b1933f04b043a https://syzkaller.appspot.com/bug?extid=b 4d3fd1dfd53e90afd79 Entonces deshabilite las interrupciones al intentar restablecer el bus. Las interrupciones se habilitarán nuevamente para la siguiente transacción.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-47153 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2021-47153 changed 2026-08-04 | Public domain |