CVE-2021-47153
Intel i2c-i801 Bus Interrupt Handling Buffer Overflow
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.
INFO
Published Date :
March 25, 2024, 9:15 a.m.
Last Modified :
Nov. 21, 2024, 6:35 a.m.
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Remotely Exploitable :
No
Impact Score :
5.2
Exploitability Score :
0.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2021-47153
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2021-47153
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2021-47153
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/04cc05e3716ae31b17ecdab7bc55c8170def1b8b Added Reference https://git.kernel.org/stable/c/09c9e79f4c10cfb6b9e0e1b4dd355232e4b5a3b3 Added Reference https://git.kernel.org/stable/c/1f583d3813f204449037cd2acbfc09168171362a Added Reference https://git.kernel.org/stable/c/b523feb7e8e44652f92f3babb953a976e7ccbbef Added Reference https://git.kernel.org/stable/c/c70e1ba2e7e65255a0ce004f531dd90dada97a8c Added Reference https://git.kernel.org/stable/c/dfa8929e117b0228a7765f5c3f5988a4a028f3c6 Added Reference https://git.kernel.org/stable/c/e4d8716c3dcec47f1557024add24e1f3c09eb24b Added Reference https://git.kernel.org/stable/c/f9469082126cebb7337db3992d143f5e4edfe629 -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Nov. 05, 2024
Action Type Old Value New Value Added CVSS V3.1 CISA-ADP AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:H -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 28, 2024
Action Type Old Value New Value -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 14, 2024
Action Type Old Value New Value -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Mar. 25, 2024
Action Type Old Value New Value Added 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. Added Reference kernel.org https://git.kernel.org/stable/c/f9469082126cebb7337db3992d143f5e4edfe629 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/09c9e79f4c10cfb6b9e0e1b4dd355232e4b5a3b3 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/dfa8929e117b0228a7765f5c3f5988a4a028f3c6 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/c70e1ba2e7e65255a0ce004f531dd90dada97a8c [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/04cc05e3716ae31b17ecdab7bc55c8170def1b8b [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/b523feb7e8e44652f92f3babb953a976e7ccbbef [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/1f583d3813f204449037cd2acbfc09168171362a [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/e4d8716c3dcec47f1557024add24e1f3c09eb24b [No types assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2021-47153
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2021-47153
weaknesses.