CVE-2026-64040cachefiles: Fix error return when vfs_mkdir() fails
Updated under an hour ago ()
Does this affect you?
It affects Linux and 1 other product. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
In the Linux kernel, the following vulnerability has been resolved: cachefiles: Fix error return when vfs_mkdir() fails When vfs_mkdir() fails, the error code is not extracted from the returned error pointer. This causes mkdir_error to be reached with ret=0, which leads to returning ERR_PTR(0) (NULL) instead of a proper error pointer. Fix this by extracting the error code from the error pointer when vfs_mkdir() fails.
- CVSS
- 5.5 MEDIUM (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weakness (CWE)
- Not given
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- Linux
- NVD analysis
- Modified
- Record last updated
- Oct 15, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
Linux Linux linux:linux (from the name) | 406fad7698f5bf21ab6b5ca195bf4b9e0b3990ed builds before 86f4c1586418d50203ee8d76cba5d7b148719a32; from 406fad7698f5bf21ab6b5ca195bf4b9e0b3990ed before 0940108d27c6995e02819ff832be11892f0b208b; 406fad7698f5bf21ab6b5ca195bf4b9e0b3990ed builds before 8a220d1c312c66194f4a33dd52d1fba42bc2b341 | CNA record |
linux linux_kernel linux:linux_kernel | from 6.15 before 7.0.11; 7.1; 7.1; 7.1; 7.1 | NVD |
References
- https://git.kernel.org/stable/c/86f4c1586418d50203ee8d76cba5d7b148719a32
- https://git.kernel.org/stable/c/0940108d27c6995e02819ff832be11892f0b208bpatch
- https://git.kernel.org/stable/c/8a220d1c312c66194f4a33dd52d1fba42bc2b341patch
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.