VDB

CVE-2026-64040

CVE-2026-64040 PUBLISHED

cachefiles: Fix error return when vfs_mkdir() fails

Reported by linux · Published July 19, 2026

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.

EPSS 0.16% · 5.3th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux-qemu-6.18Chainguard6.18.57-r0

Risk scores

EPSS Score
0.16%
5.3th percentile

Affected products

VendorProductVersions
LinuxLinux406fad7698f5bf21ab6b5ca195bf4b9e0b3990ed, 406fad7698f5bf21ab6b5ca195bf4b9e0b3990ed, 406fad7698f5bf21ab6b5ca195bf4b9e0b3990ed
LinuxLinux6.15, 0, 6.18.57
chainguardlinux-qemu-6.180
linuxlinux_kernel6.15, 6.15, 6.15
chainguardlinux-qemu-melange0
LinuxLinux6.18.57, 7.1, 406fad7698f5bf21ab6b5ca195bf4b9e0b3990ed
chainguardlinux-aws-6.180
chainguardlinux-gcp-6.18*

Timeline

  • Jul 19, 2026 CVE Published
  • Jul 20, 2026 Coalition ESS Score
  • Jul 20, 2026 Security Advisory (31 in total, the first dated here)
  • Jul 30, 2026 CVE Updated
  • Aug 7, 2026 EPSS Score (13 in total, the first dated here)
  • Aug 12, 2026 Distribution Patch (30 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-64040
vulnetix vdb fixes CVE-2026-64040

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-64040/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›