cbcvebase.
CVE-2024-35997
published 2024-05-20

CVE-2024-35997: 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…

PriorityP419medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.18%
7.4th percentile
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.

Affected

29 ranges· showing 25
VendorProductVersion rangeFixed in
debianlinux< linux 6.1.90-1 (bookworm)linux 6.1.90-1 (bookworm)
linuxlinux
linuxlinux>= 4a200c3b9a40242652b5734630bdd0bcf3aca75f < 21bfca822cfc1e71796124e93b46e0d9fa58440121bfca822cfc1e71796124e93b46e0d9fa584401
linuxlinux>= 4a200c3b9a40242652b5734630bdd0bcf3aca75f < c448a9fd50f77e8fb9156ff64848aa4295eb3003c448a9fd50f77e8fb9156ff64848aa4295eb3003
linuxlinux>= 4a200c3b9a40242652b5734630bdd0bcf3aca75f < 5095b93021b899f54c9355bebf36d78854c33a225095b93021b899f54c9355bebf36d78854c33a22
linuxlinux>= 4a200c3b9a40242652b5734630bdd0bcf3aca75f < b65fb50e04a95eec34a9d1bc138454a98a5578d8b65fb50e04a95eec34a9d1bc138454a98a5578d8
linuxlinux>= 4a200c3b9a40242652b5734630bdd0bcf3aca75f < 0561b65fbd53d3e788c5b0222d9112ca016fd6a10561b65fbd53d3e788c5b0222d9112ca016fd6a1
linuxlinux>= 4a200c3b9a40242652b5734630bdd0bcf3aca75f < 29e94f295bad5be59cf4271a93e22cdcf553672229e94f295bad5be59cf4271a93e22cdcf5536722
linuxlinux>= 4a200c3b9a40242652b5734630bdd0bcf3aca75f < 418c5575d56410c6e186ab727bf32ae32447d497418c5575d56410c6e186ab727bf32ae32447d497
linuxlinux>= 4a200c3b9a40242652b5734630bdd0bcf3aca75f < 9c0f59e47a90c54d0153f8ddc0f80d7a36207d0e9c0f59e47a90c54d0153f8ddc0f80d7a36207d0e
linuxlinux_kernel>= 0 < 5.10.216-15.10.216-1
linuxlinux_kernel>= 0 < 6.1.90-16.1.90-1
linuxlinux_kernel>= 0 < 6.8.9-16.8.9-1
linuxlinux_kernel>= 0 < 6.8.9-16.8.9-1
linuxlinux_kernel>= 0 < 5.4.0-189.2095.4.0-189.209
linuxlinux_kernel>= 0 < 5.15.0-116.1265.15.0-116.126
linuxlinux_kernel>= 0 < 6.8.0-39.396.8.0-39.39
linuxlinux_kernel>= 0 < 4.4.0-257.2914.4.0-257.291
linuxlinux_kernel>= 3.8 < 4.19.3134.19.313
linuxlinux_kernel>= 4.20 < 5.4.2755.4.275
linuxlinux_kernel>= 5.11 < 5.15.1585.15.158
linuxlinux_kernel>= 5.16 < 6.1.906.1.90
linuxlinux_kernel>= 5.5 < 5.10.2165.10.216
linuxlinux_kernel>= 6.2 < 6.6.306.6.30
linuxlinux_kernel>= 6.7 < 6.8.96.8.9

CVSS provenance

nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv7.0HIGH
vendor_ubuntu7.0HIGH
vendor_debian5.5MEDIUM
vendor_msrc5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.