CVE-2026-64040CWE-252

CVE-2026-64040

Medium · published July 19, 2026

CVSS v3.1
5.5
EPSS
0%
Percentile
4.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00160 · 4.8th percentile
Weakness
CWE-252 · Unchecked Return Value
Published
2026-07-19T20:17Z
Affected products (5)
ProductVersionsFixed in
linux/linux_kernel≥ 6.15, < 7.0.117.0.11
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (3)
EPSS history
Timeline
  • 19 JUL 15:39Z
    cachefiles: Fix error return when vfs_mkdir() fails
    cvelistv5