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

CVE-2024-41074
HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.22 % · percentile 13 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected c8383054506c77b814489c09877b5db83fd4abf2 < 703bea37d13e4ccdafd17ae7c4cb583752ba7663 ; affected c8383054506c77b814489c09877b5db83fd4abf2 < c32ee78fbc670e6f90989a45d340748e34cad333 ; affected c8383054506c77b814489c09877b5db83fd4abf2 < 0845c553db11c84ff53fccd59da11b6d6ece4a60 ; affected c8383054506c77b814489c09877b5db83fd4abf2 < 4f8703fb3482f92edcfd31661857b16fec89c2c0
Linux · Linuxaffected 5.19 ; unaffected 0 < 5.19 ; unaffected 6.1.101 ≤ 6.1.* ; unaffected 6.6.42 ≤ 6.6.* ; unaffected 6.9.11 ≤ 6.9.* ; unaffected 6.10 ≤ *

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD