CVE-2024-56709

In the Linux kernel, the following vulnerability has been resolved: io_uring: check if iowq is killed before queuing task work can be executed after the task has gone through io_uring termination, whether it's the final task_work run or the fallback path. In this case, task work will find ->io_wq being already killed and null'ed, which is a problem if it then tries to forward the request to io_queue_iowq(). Make io_queue_iowq() fail requests in this case. Note that it also checks PF_KTHREAD, because the user can first close a DEFER_TASKRUN ring and shortly after kill the task, in which case ->iowq check would race.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.14:-:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.14:rc4:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.14:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.14:rc6:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.14:rc7:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.13:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.13:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.13:rc3:*:*:*:*:*:*

History

15 Oct 2025, 17:42

Type Values Removed Values Added
CPE cpe:2.3:o:linux:linux_kernel:6.13:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.14:-:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.14:rc7:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.14:rc5:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.14:rc6:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.13:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.13:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.14:rc4:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
References () https://git.kernel.org/stable/c/2ca94c8de36091067b9ce7527ae8db3812d38781 - () https://git.kernel.org/stable/c/2ca94c8de36091067b9ce7527ae8db3812d38781 - Patch
References () https://git.kernel.org/stable/c/4f95a2186b7f2af09331e1e8069bcaf34fe019cf - () https://git.kernel.org/stable/c/4f95a2186b7f2af09331e1e8069bcaf34fe019cf - Patch
References () https://git.kernel.org/stable/c/534d59ab38010aada88390db65985e65d0de7d9e - () https://git.kernel.org/stable/c/534d59ab38010aada88390db65985e65d0de7d9e - Patch
References () https://git.kernel.org/stable/c/dbd2ca9367eb19bc5e269b8c58b0b1514ada9156 - () https://git.kernel.org/stable/c/dbd2ca9367eb19bc5e269b8c58b0b1514ada9156 - Patch
First Time Linux
Linux linux Kernel
CWE NVD-CWE-noinfo
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: io_uring: comprueba si iowq se elimina antes de que se pueda ejecutar la tarea de cola work después de que la tarea haya pasado por la terminación io_uring, ya sea la ejecución final de task_work o la ruta de respaldo. En este caso, la tarea work encontrará que ->io_wq ya se ha eliminado y se ha anulado, lo que es un problema si luego intenta reenviar la solicitud a io_queue_iowq(). Haz que io_queue_iowq() falle las solicitudes en este caso. Ten en cuenta que también comprueba PF_KTHREAD, porque el usuario puede cerrar primero un anillo DEFER_TASKRUN y poco después eliminar la tarea, en cuyo caso la comprobación de ->iowq se aceleraría.

29 Dec 2024, 09:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-12-29 09:15

Updated : 2025-10-15 17:42


NVD link : CVE-2024-56709

Mitre link : CVE-2024-56709

CVE.ORG link : CVE-2024-56709


JSON object : View

Products Affected

linux

  • linux_kernel