CVE-2021-47153

i2c: i801: Don't generate an interrupt on bus reset

State
Published
Severity
7.8 High
Published
Mar 25, 2024
Updated
Aug 5, 2026
Reserved
Mar 4, 2024

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
3.16.0 MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:HCISA-ADP

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 636752bcb5177a301d0266270661581de8624828 to before f9469082126cebb7337db3992d143f5e4edfe629Affected
  • 636752bcb5177a301d0266270661581de8624828 to before 09c9e79f4c10cfb6b9e0e1b4dd355232e4b5a3b3Affected
  • 636752bcb5177a301d0266270661581de8624828 to before dfa8929e117b0228a7765f5c3f5988a4a028f3c6Affected
  • 636752bcb5177a301d0266270661581de8624828 to before c70e1ba2e7e65255a0ce004f531dd90dada97a8cAffected
  • 636752bcb5177a301d0266270661581de8624828 to before 04cc05e3716ae31b17ecdab7bc55c8170def1b8bAffected
  • 636752bcb5177a301d0266270661581de8624828 to before b523feb7e8e44652f92f3babb953a976e7ccbbefAffected
  • 636752bcb5177a301d0266270661581de8624828 to before 1f583d3813f204449037cd2acbfc09168171362aAffected
  • 636752bcb5177a301d0266270661581de8624828 to before e4d8716c3dcec47f1557024add24e1f3c09eb24bAffected
LinuxLinux
  • 3.6Affected
  • before 3.6Not affected
  • 4.4.271 through 4.4.*Not affected
  • 4.9.271 through 4.9.*Not affected
  • 4.14.235 through 4.14.*Not affected
  • 4.19.193 through 4.19.*Not affected
  • 5.4.124 through 5.4.*Not affected
  • 5.10.42 through 5.10.*Not affected
  • 5.12.9 through 5.12.*Not affected
  • 5.13 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.