Back to CVE records
Medium 5.5Published Jul 19, 2026

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.

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

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

  • patch
  • patch

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.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.