CVE-2024-35997

MEDIUM

Linux Kernel 3.8-6.8.8 - DoS via I2C-HID Read Pending Flag Lock-Up

Title source: llm
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: HID: i2c-hid: remove I2C_HID_READ_PENDING flag to prevent lock-up The flag I2C_HID_READ_PENDING is used to serialize I2C operations. However, this is not necessary, because I2C core already has its own locking for that. More importantly, this flag can cause a lock-up: if the flag is set in i2c_hid_xfer() and an interrupt happens, the interrupt handler (i2c_hid_irq) will check this flag and return immediately without doing anything, then the interrupt handler will be invoked again in an infinite loop. Since interrupt handler is an RT task, it takes over the CPU and the flag-clearing task never gets scheduled, thus we have a lock-up. Delete this unnecessary flag.

Scores

CVSS v3 5.5
EPSS 0.0018
EPSS Percentile 7.4%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-667
Status published
Products (26)
linux/Kernel 3.8.0 - 4.19.313linux
linux/Kernel 4.20.0 - 5.4.275linux
linux/Kernel 5.11.0 - 5.15.158linux
linux/Kernel 5.16.0 - 6.1.90linux
linux/Kernel 5.5.0 - 5.10.216linux
linux/Kernel 6.2.0 - 6.6.30linux
linux/Kernel 6.7.0 - 6.8.9linux
Linux/Linux < 3.8
Linux/Linux 3.8
Linux/Linux 4.19.313 - 4.19.*
... and 16 more
Published May 20, 2024
Tracked Since Feb 18, 2026