CVE-2024-35997: vulnerability in Linux
HID: i2c-hid: remove I2C_HID_READ_PENDING flag to prevent lock-up
Published · Updated
3Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackepss 0.2%
exploitation probability
0.2%top 93% of all CVEs
observed exploitation
nono source reports it
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 products
Linux · LinuxRelated CVEs — Linux
In the same product, most dangerous first.
CVE-2024-53197HIGHALSA: usb-audio: Fix potential out-of-bound accesses for Extigy and Mbox devicesEPSS 4.1%KEVCVE-2026-31431HIGHcrypto: algif_aead - Revert to operating out-of-placeEPSS 3.4%KEVCVE-2024-53104HIGHmedia: uvcvideo: Skip parsing frames of type UVC_VS_UNDEFINED in uvc_parse_formatEPSS 3.4%KEVCVE-2025-39682CRITICALtls: fix handling of zero-length records on the rx_listEPSS 2.9%KEVCVE-2024-36971HIGHnet: fix __dst_negative_advice() raceEPSS 2.7%KEVCVE-2025-39964HIGHcrypto: af_alg - Disallow concurrent writes in af_alg_sendmsgEPSS 1.4%KEV
References
https://cert-portal.siemens.com/productcert/html/ssa-265688.htmlhttps://git.kernel.org/stable/c/0561b65fbd53d3e788c5b0222d9112ca016fd6a1https://git.kernel.org/stable/c/21bfca822cfc1e71796124e93b46e0d9fa584401https://git.kernel.org/stable/c/29e94f295bad5be59cf4271a93e22cdcf5536722https://git.kernel.org/stable/c/418c5575d56410c6e186ab727bf32ae32447d497https://git.kernel.org/stable/c/5095b93021b899f54c9355bebf36d78854c33a22https://git.kernel.org/stable/c/9c0f59e47a90c54d0153f8ddc0f80d7a36207d0ehttps://git.kernel.org/stable/c/b65fb50e04a95eec34a9d1bc138454a98a5578d8https://git.kernel.org/stable/c/c448a9fd50f77e8fb9156ff64848aa4295eb3003https://lists.debian.org/debian-lts-announce/2024/06/msg00017.htmlhttps://lists.debian.org/debian-lts-announce/2024/06/msg00020.html