CVE-2024-41074
JSON

7.8high

cachefiles: Set object to close if ondemand_id < 0 in copen

Severity
7.8high CVSS:3.1 by NVD
Exploit likelihood
0.22% (higher than 13% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom c8383054506c77b814489c09877b5db83fd4abf2 before 703bea37d13e4ccdafd17ae7c4cb583752ba7663, from c8383054506c77b814489c09877b5db83fd4abf2 before c32ee78fbc670e6f90989a45d340748e34cad333, from c8383054506c77b814489c09877b5db83fd4abf2 before 0845c553db11c84ff53fccd59da11b6d6ece4a60, from c8383054506c77b814489c09877b5db83fd4abf2 before 4f8703fb3482f92edcfd31661857b16fec89c2c0, 5.19
Not affected: before 5.19, from 6.1.101 up to 6.1.*, from 6.6.42 up to 6.6.*, from 6.9.11 up to 6.9.*, from 6.10 up to *
CVE List
linux linux_kernelfrom 5.19 before 6.1.101, from 6.2 before 6.6.42, from 6.7 before 6.9.11, 6.10NVD

Classification

CWE-416

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (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.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-41074 changed 2026-05-11CVE Terms of Use
NVDCVE-2024-41074 changed 2026-06-17Public domain