Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-35997

MEDIUM 5.5EPSS 10%

HID: i2c-hid: remove I2C_HID_READ_PENDING flag to prevent lock-up

Mitigation

  • Upgrade Linux to 9c0f59e47a90c54d0153f8ddc0f80d7a36207d0e or later.

Who should check

  • Anyone running Linux >= 4a200c3b9a40242652b5734630bdd0bcf3aca75f, < 21bfca822cfc1e71796124e93b46e0d9fa584401; >= 4a200c3b9a40242652b5734630bdd0bcf3aca75f, < c448a9fd50f77e8fb9156ff64848aa4295eb3003; >= 4a200c3b9a40242652b5734630bdd0bcf3aca75f, < 5095b93021b899f54c9355bebf36d78854c33a22; >= 4a200c3b9a40242652b5734630bdd0bcf3aca75f, < b65fb50e04a95eec34a9d1bc138454a98a5578d8; >= 4a200c3b9a40242652b5734630bdd0bcf3aca75f, < 0561b65fbd53d3e788c5b0222d9112ca016fd6a1; >= 4a200c3b9a40242652b5734630bdd0bcf3aca75f, < 29e94f295bad5be59cf4271a93e22cdcf5536722; >= 4a200c3b9a40242652b5734630bdd0bcf3aca75f, < 418c5575d56410c6e186ab727bf32ae32447d497; >= 4a200c3b9a40242652b5734630bdd0bcf3aca75f, < 9c0f59e47a90c54d0153f8ddc0f80d7a36207d0e
  • Anyone running Linux 3.8

Vulnerability facts

Affected
Linux >= 4a200c3b9a40242652b5734630bdd0bcf3aca75f, < 21bfca822cfc1e71796124e93b46e0d9fa584401; >= 4a200c3b9a40242652b5734630bdd0bcf3aca75f, < c448a9fd50f77e8fb9156ff64848aa4295eb3003; >= 4a200c3b9a40242652b5734630bdd0bcf3aca75f, < 5095b93021b899f54c9355bebf36d78854c33a22; >= 4a200c3b9a40242652b5734630bdd0bcf3aca75f, < b65fb50e04a95eec34a9d1bc138454a98a5578d8; >= 4a200c3b9a40242652b5734630bdd0bcf3aca75f, < 0561b65fbd53d3e788c5b0222d9112ca016fd6a1; >= 4a200c3b9a40242652b5734630bdd0bcf3aca75f, < 29e94f295bad5be59cf4271a93e22cdcf5536722; >= 4a200c3b9a40242652b5734630bdd0bcf3aca75f, < 418c5575d56410c6e186ab727bf32ae32447d497; >= 4a200c3b9a40242652b5734630bdd0bcf3aca75f, < 9c0f59e47a90c54d0153f8ddc0f80d7a36207d0e; Linux 3.8
Fixed in
Linux 21bfca822cfc1e71796124e93b46e0d9fa584401, Linux 5095b93021b899f54c9355bebf36d78854c33a22, Linux 0561b65fbd53d3e788c5b0222d9112ca016fd6a1, Linux 29e94f295bad5be59cf4271a93e22cdcf5536722, Linux 418c5575d56410c6e186ab727bf32ae32447d497, Linux 9c0f59e47a90c54d0153f8ddc0f80d7a36207d0e
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.25% chance of exploitation in 30 days (percentile 10, 2026-11-26)
CWE
CWE-667
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 4a200c3b9a40242652b5734630bdd0bcf3aca75f, < 21bfca822cfc1e71796124e93b46e0d9fa584401; >= 4a200c3b9a40242652b5734630bdd0bcf3aca75f, < c448a9fd50f77e8fb9156ff64848aa4295eb3003; >= 4a200c3b9a40242652b5734630bdd0bcf3aca75f, < 5095b93021b899f54c9355bebf36d78854c33a22; >= 4a200c3b9a40242652b5734630bdd0bcf3aca75f, < b65fb50e04a95eec34a9d1bc138454a98a5578d8; >= 4a200c3b9a40242652b5734630bdd0bcf3aca75f, < 0561b65fbd53d3e788c5b0222d9112ca016fd6a1; >= 4a200c3b9a40242652b5734630bdd0bcf3aca75f, < 29e94f295bad5be59cf4271a93e22cdcf5536722; >= 4a200c3b9a40242652b5734630bdd0bcf3aca75f, < 418c5575d56410c6e186ab727bf32ae32447d497; >= 4a200c3b9a40242652b5734630bdd0bcf3aca75f, < 9c0f59e47a90c54d0153f8ddc0f80d7a36207d0e—cvelist
Linux3.8—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2024-35997. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-35997.md
Affected: Linux >= 4a200c3b9a40242652b5734630bdd0bcf3aca75f, < 21bfca822cfc1e71796124e93b46e0d9fa584401; >= 4a200c3b9a40242652b5734630bdd0bcf3aca75f, < c448a9fd50f77e8fb9156ff64848aa4295eb3003; >= 4a200c3b9a40242652b5734630bdd0bcf3aca75f, < 5095b93021b899f54c9355bebf36d78854c33a22; >= 4a200c3b9a40242652b5734…
Fixed in: Linux 21bfca822cfc1e71796124e93b46e0d9fa584401, Linux 5095b93021b899f54c9355bebf36d78854c33a22, Linux 0561b65fbd53d3e788c5b0222d9112ca016fd6a1, Linux 29e94f295bad5be59cf4271a93e22cdcf5536722, Linux 418c5575d56410c6e186ab727bf32ae32447d497, Linux 9c0f59e47a90c54d0153f8ddc0f80d7a36207d0e

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2024-35997 being exploited?

There is no confirmed exploitation: CVE-2024-35997 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.25% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2024-35997?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2024-35997?

Linux >= 4a200c3b9a40242652b5734630bdd0bcf3aca75f, < 21bfca822cfc1e71796124e93b46e0d9fa584401; >= 4a200c3b9a40242652b5734630bdd0bcf3aca75f, < c448a9fd50f77e8fb9156ff64848aa4295eb3003; >= 4a200c3b9a40242652b5734630bdd0bcf3aca75f, < 5095b93021b899f54c9355bebf36d78854c33a22; >= 4a200c3b9a40242652b5734630bdd0bcf3aca75f, < b65fb50e04a95eec34a9d1bc138454a98a5578d8; >= 4a200c3b9a40242652b5734630bdd0bcf3aca75f, < 0561b65fbd53d3e788c5b0222d9112ca016fd6a1; >= 4a200c3b9a40242652b5734630bdd0bcf3aca75f, < 29e94f295bad5be59cf4271a93e22cdcf5536722; >= 4a200c3b9a40242652b5734630bdd0bcf3aca75f, < 418c5575d56410c6e186ab727bf32ae32447d497; >= 4a200c3b9a40242652b5734630bdd0bcf3aca75f, < 9c0f59e47a90c54d0153f8ddc0f80d7a36207d0e; Linux 3.8.

Is there a fix for CVE-2024-35997?

Yes. Fixed in Linux 21bfca822cfc1e71796124e93b46e0d9fa584401, Linux 5095b93021b899f54c9355bebf36d78854c33a22, Linux 0561b65fbd53d3e788c5b0222d9112ca016fd6a1, Linux 29e94f295bad5be59cf4271a93e22cdcf5536722, Linux 418c5575d56410c6e186ab727bf32ae32447d497, Linux 9c0f59e47a90c54d0153f8ddc0f80d7a36207d0e. Upgrade Linux to 9c0f59e47a90c54d0153f8ddc0f80d7a36207d0e or later.

How do I check if I'm affected by CVE-2024-35997?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors