LiveActive security incident?Get immediate response
CVE Record

CVE-2026-64040: cachefiles: Fix error return when vfs_mkdir() fails

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.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysisunknown

Security readout for executives and security teams

Plain-English summary

This Linux kernel issue is a defect in cachefiles error handling. When directory creation fails, the kernel may treat the failure like a NULL success path instead of a real error. Public sources do not provide impact details, severity, or exploitation evidence.

Executive priority

Treat this as a kernel maintenance item until impact details mature. There is no cited exploitation or severity score, but kernel defects can affect fleet reliability and should be tracked through normal patch governance.

Technical view

In cachefiles, a failed vfs_mkdir() returns an error pointer, but the code failed to extract the error code. That allowed mkdir_error to run with ret=0 and return ERR_PTR(0), effectively NULL, instead of a proper error pointer.

Likely exposure

Exposure appears limited to Linux kernels containing the affected cachefiles code. The source bundle lists Linux versions 6.15, 7.0.11, and 7.1 as affected, but gives no CPEs or distribution mapping.

Exploitation context

No active exploitation is supported by the provided sources. The CVE is not marked KEV, and the bundle provides no proof-of-concept, exploit status, required privileges, or attack vector.

Researcher notes

The available record describes a correctness fix, not a complete security impact analysis. Key unknowns are triggerability, privilege requirements, reachable configurations, crashability, and whether downstream kernels include or backport the vulnerable code.

Mitigation direction

  • Review Linux stable fixes 0940108d27c6 and 8a220d1c312c.
  • Track distribution advisories mapping these fixes to shipped kernel packages.
  • Prioritize patch review on systems using cachefiles-related functionality.
  • If patching is delayed, check vendor guidance for supported mitigations.

Validation and detection

  • Inventory Linux kernel versions and downstream package build information.
  • Confirm whether the relevant stable fix is present or backported.
  • Check vendor advisories for affected distribution kernels.
  • Document cachefiles usage where kernel exposure matters operationally.
Prepared
Confidence
medium
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve · low confidence lookup

CVE-2026-64040 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
3Timeline events
0ADP providers
3Source links

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinux406fad7698f5bf21ab6b5ca195bf4b9e0b3990ed, 406fad7698f5bf21ab6b5ca195bf4b9e0b3990edunaffected
LinuxLinux6.15, 0, 7.0.11, 7.1affected
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.