CVE-2024-40922

CVE Details

Release Date:2024-07-12

Description


In the Linux kernel, the following vulnerability has been resolved:\nio_uring/rsrc: don't lock while !TASK_RUNNING\nThere is a report of io_rsrc_ref_quiesce() locking a mutex while not\nTASK_RUNNING, which is due to forgetting restoring the state back after\nio_run_task_work_sig() and attempts to break out of the waiting loop.\ndo not call blocking ops when !TASK_RUNNING; state=1 set at\n[] prepare_to_wait+0xa4/0x380\nkernel/sched/wait.c:237\nWARNING: CPU: 2 PID: 397056 at kernel/sched/core.c:10099\n__might_sleep+0x114/0x160 kernel/sched/core.c:10099\nRIP: 0010:__might_sleep+0x114/0x160 kernel/sched/core.c:10099\nCall Trace:\n\n__mutex_lock_common kernel/locking/mutex.c:585 [inline]\n__mutex_lock+0xb4/0x940 kernel/locking/mutex.c:752\nio_rsrc_ref_quiesce+0x590/0x940 io_uring/rsrc.c:253\nio_sqe_buffers_unregister+0xa2/0x340 io_uring/rsrc.c:799\n__io_uring_register io_uring/register.c:424 [inline]\n__do_sys_io_uring_register+0x5b9/0x2400 io_uring/register.c:613\ndo_syscall_x64 arch/x86/entry/common.c:52 [inline]\ndo_syscall_64+0xd8/0x270 arch/x86/entry/common.c:83\nentry_SYSCALL_64_after_hwframe+0x6f/0x77

See more information about CVE-2024-40922 from MITRE CVE dictionary and NIST NVD


CVSS Scoring


NOTE: The following CVSS v3.1 metrics and score provided are preliminary and subject to review.

Base Score: 4.4 CVSS Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
Attack Vector: Local network Attack Complexity: Low
Privileges Required: High User Interaction: None
Scope: Unchanged Confidentiality Impact: None
Integrity Impact: None Availability Impact: High

Errata information


PlatformErrataRelease Date
Oracle Linux version 9 (kernel)ELSA-2024-93152024-11-14


This page is generated automatically and has not been checked for errors or omissions. For clarification or corrections:

software.hardware.complete