CVE-2024-41074

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

HIGH
7.8
CVSS Score
Published: July 29, 2024 at 02:57 PM UTC
Updated: June 17, 2026 at 07:47 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.19 ≤ v < 6.1.1015.19 ≤ v < 6.105.19 ≤ v < 6.6.425.19 ≤ v < 6.9.116.2 ≤ v < 6.6.426.7 ≤ v < 6.9.115.196.10 rc16.10 rc26.10 rc3c8383054506c77b814489c09877b5db83fd4abf2
Vendor states this is fixed in 0845c553db11c84ff53fccd59da11b6d6ece4a60 (fixed)
Vendor states this is fixed in 4f8703fb3482f92edcfd31661857b16fec89c2c0 (fixed)
Vendor states this is fixed in 703bea37d13e4ccdafd17ae7c4cb583752ba7663 (fixed)
Vendor states this is fixed in c32ee78fbc670e6f90989a45d340748e34cad333 (fixed)
Vendor states this is fixed in 5.19 (unaffected)
Vendor states this is fixed in 6.1.101 (unaffected)
Vendor states this is fixed in 6.10 (unaffected)
Vendor states this is fixed in 6.6.42 (unaffected)
Vendor states this is fixed in 6.9.11 (unaffected)

References (5)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/0845c553db11c84ff53fccd59da11b6d6ece4a60
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4f8703fb3482f92edcfd31661857b16fec89c2c0
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/703bea37d13e4ccdafd17ae7c4cb583752ba7663
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c32ee78fbc670e6f90989a45d340748e34cad333
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card