CVE-2024-41074

In the Linux kernel, the following vulnerability has been resolved: cachefiles: Set object to close if ondemand_id < 0 in copen If copen is maliciously called in the user mode, it may delete the request corresponding to the random id. And the request may have not been read yet. Note that when the object is set to reopen, the open request will be done with the still reopen state in above case. As a result, the request corresponding to this object is always skipped in select_req function, so the read request is never completed and blocks other process. Fix this issue by simply set object to close if its id < 0 in copen.
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:6.10:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.10:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.10:rc3:*:*:*:*:*:*

History

03 Nov 2025, 22:17

Type Values Removed Values Added
References
  • () https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html -

26 Sep 2025, 14:36

Type Values Removed Values Added
CPE cpe:2.3:o:linux:linux_kernel:6.10:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.10:rc3:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.10:rc1:*:*:*:*:*:*
CWE CWE-416
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.8
First Time Linux linux Kernel
Linux
References () https://git.kernel.org/stable/c/0845c553db11c84ff53fccd59da11b6d6ece4a60 - () https://git.kernel.org/stable/c/0845c553db11c84ff53fccd59da11b6d6ece4a60 - Patch
References () https://git.kernel.org/stable/c/4f8703fb3482f92edcfd31661857b16fec89c2c0 - () https://git.kernel.org/stable/c/4f8703fb3482f92edcfd31661857b16fec89c2c0 - Patch
References () https://git.kernel.org/stable/c/703bea37d13e4ccdafd17ae7c4cb583752ba7663 - () https://git.kernel.org/stable/c/703bea37d13e4ccdafd17ae7c4cb583752ba7663 - Patch
References () https://git.kernel.org/stable/c/c32ee78fbc670e6f90989a45d340748e34cad333 - () https://git.kernel.org/stable/c/c32ee78fbc670e6f90989a45d340748e34cad333 - Patch

21 Nov 2024, 09:32

Type Values Removed Values Added
References () https://git.kernel.org/stable/c/0845c553db11c84ff53fccd59da11b6d6ece4a60 - () https://git.kernel.org/stable/c/0845c553db11c84ff53fccd59da11b6d6ece4a60 -
References () https://git.kernel.org/stable/c/4f8703fb3482f92edcfd31661857b16fec89c2c0 - () https://git.kernel.org/stable/c/4f8703fb3482f92edcfd31661857b16fec89c2c0 -
References () https://git.kernel.org/stable/c/703bea37d13e4ccdafd17ae7c4cb583752ba7663 - () https://git.kernel.org/stable/c/703bea37d13e4ccdafd17ae7c4cb583752ba7663 -
References () https://git.kernel.org/stable/c/c32ee78fbc670e6f90989a45d340748e34cad333 - () https://git.kernel.org/stable/c/c32ee78fbc670e6f90989a45d340748e34cad333 -
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: archivos de caché: establece el objeto para que se cierre si ondemand_id &lt; 0 en copen. Si se llama maliciosamente a copen en el modo de usuario, puede eliminar la solicitud correspondiente a la identificación aleatoria. Y es posible que la solicitud aún no se haya leído. Tenga en cuenta que cuando el objeto está configurado para reabrirse, la solicitud de apertura se realizará con el estado aún reabierto en el caso anterior. Como resultado, la solicitud correspondiente a este objeto siempre se omite en la función select_req, por lo que la solicitud de lectura nunca se completa y bloquea otros procesos. Solucione este problema simplemente configurando el objeto para que se cierre si su id &lt;0 en copen.

29 Jul 2024, 15:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-07-29 15:15

Updated : 2025-11-03 22:17


NVD link : CVE-2024-41074

Mitre link : CVE-2024-41074

CVE.ORG link : CVE-2024-41074


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-416

Use After Free