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-40922

MEDIUM 5.5EPSS 8%

io_uring/rsrc: don't lock while !TASK_RUNNING

Mitigation

  • Upgrade Linux to 54559642b96116b45e4b5ca7fd9f7835b8561272 or later.

Who should check

  • Anyone running Linux >= 4ea15b56f0810f0d8795d475db1bb74b3a7c1b2f, < 0c9df3df0c888d9ec8d11a68474a4aa04d371cff; >= 4ea15b56f0810f0d8795d475db1bb74b3a7c1b2f, < 4429c6c77e176a4c5aa7a3bbd1632f9fc0582518; >= 4ea15b56f0810f0d8795d475db1bb74b3a7c1b2f, < 54559642b96116b45e4b5ca7fd9f7835b8561272
  • Anyone running Linux 6.4

Vulnerability facts

Affected
Linux >= 4ea15b56f0810f0d8795d475db1bb74b3a7c1b2f, < 0c9df3df0c888d9ec8d11a68474a4aa04d371cff; >= 4ea15b56f0810f0d8795d475db1bb74b3a7c1b2f, < 4429c6c77e176a4c5aa7a3bbd1632f9fc0582518; >= 4ea15b56f0810f0d8795d475db1bb74b3a7c1b2f, < 54559642b96116b45e4b5ca7fd9f7835b8561272; Linux 6.4
Fixed in
Linux 0c9df3df0c888d9ec8d11a68474a4aa04d371cff, Linux 4429c6c77e176a4c5aa7a3bbd1632f9fc0582518, Linux 54559642b96116b45e4b5ca7fd9f7835b8561272
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.23% chance of exploitation in 30 days (percentile 8, 2026-11-26)
CWE
CWE-667
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: io_uring/rsrc: don't lock while !TASK_RUNNING There is a report of io_rsrc_ref_quiesce() locking a mutex while not TASK_RUNNING, which is due to forgetting restoring the state back after io_run_task_work_sig() and attempts to break out of the waiting loop. do not call blocking ops when !TASK_RUNNING; state=1 set at [<ffffffff815d2494>] prepare_to_wait+0xa4/0x380 kernel/sched/wait.c:237 WARNING: CPU: 2 PID: 397056 at kernel/sched/core.c:10099 __might_sleep+0x114/0x160 kernel/sched/core.c:10099 RIP: 0010:__might_sleep+0x114/0x160 kernel/sched/core.c:10099 Call Trace: <TASK> __mutex_lock_common kernel/locking/mutex.c:585 [inline] __mutex_lock+0xb4/0x940 kernel/locking/mutex.c:752 io_rsrc_ref_quiesce+0x590/0x940 io_uring/rsrc.c:253 io_sqe_buffers_unregister+0xa2/0x340 io_uring/rsrc.c:799 __io_uring_register io_uring/register.c:424 [inline] __do_sys_io_uring_register+0x5b9/0x2400 io_uring/register.c:613 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xd8/0x270 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x6f/0x77

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 4ea15b56f0810f0d8795d475db1bb74b3a7c1b2f, < 0c9df3df0c888d9ec8d11a68474a4aa04d371cff; >= 4ea15b56f0810f0d8795d475db1bb74b3a7c1b2f, < 4429c6c77e176a4c5aa7a3bbd1632f9fc0582518; >= 4ea15b56f0810f0d8795d475db1bb74b3a7c1b2f, < 54559642b96116b45e4b5ca7fd9f7835b8561272—cvelist
Linux6.4—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-40922. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-40922.md
Affected: Linux >= 4ea15b56f0810f0d8795d475db1bb74b3a7c1b2f, < 0c9df3df0c888d9ec8d11a68474a4aa04d371cff; >= 4ea15b56f0810f0d8795d475db1bb74b3a7c1b2f, < 4429c6c77e176a4c5aa7a3bbd1632f9fc0582518; >= 4ea15b56f0810f0d8795d475db1bb74b3a7c1b2f, < 54559642b96116b45e4b5ca7fd9f7835b8561272; Linux 6.4
Fixed in: Linux 0c9df3df0c888d9ec8d11a68474a4aa04d371cff, Linux 4429c6c77e176a4c5aa7a3bbd1632f9fc0582518, Linux 54559642b96116b45e4b5ca7fd9f7835b8561272

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-40922 being exploited?

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

How serious is CVE-2024-40922?

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

Which versions are affected by CVE-2024-40922?

Linux >= 4ea15b56f0810f0d8795d475db1bb74b3a7c1b2f, < 0c9df3df0c888d9ec8d11a68474a4aa04d371cff; >= 4ea15b56f0810f0d8795d475db1bb74b3a7c1b2f, < 4429c6c77e176a4c5aa7a3bbd1632f9fc0582518; >= 4ea15b56f0810f0d8795d475db1bb74b3a7c1b2f, < 54559642b96116b45e4b5ca7fd9f7835b8561272; Linux 6.4.

Is there a fix for CVE-2024-40922?

Yes. Fixed in Linux 0c9df3df0c888d9ec8d11a68474a4aa04d371cff, Linux 4429c6c77e176a4c5aa7a3bbd1632f9fc0582518, Linux 54559642b96116b45e4b5ca7fd9f7835b8561272. Upgrade Linux to 54559642b96116b45e4b5ca7fd9f7835b8561272 or later.

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

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