mirror of
https://github.com/0xMarcio/cve.git
synced 2025-11-28 18:48:49 +00:00
1.3 KiB
1.3 KiB
CVE-2024-41074
Description
In the Linux kernel, the following vulnerability has been resolved:cachefiles: Set object to close if ondemand_id < 0 in copenIf copen is maliciously called in the user mode, it may delete the requestcorresponding 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 donewith the still reopen state in above case. As a result, the requestcorresponding to this object is always skipped in select_req function, sothe read request is never completed and blocks other process.Fix this issue by simply set object to close if its id < 0 in copen.
POC
Reference
No PoCs from references.