CVE-2026-64040

published 19 Jul 2026 · updated 15 Oct 2026

cachefiles: Fix error return when vfs_mkdir() fails

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 0940108d27c6995e02819ff832be11892f0b208b, Kernel 86f4c1586418d50203ee8d76cba5d7b148719a32 and Kernel 8a220d1c312c66194f4a33dd52d1fba42bc2b341.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.15, >=406fad7698f5bf21ab6b5ca195bf4b9e0b3990ed <0940108d27c6995e02819ff832be11892f0b208b, >=406fad7698f5bf21ab6b5ca195bf4b9e0b3990ed <86f4c1586418d50203ee8d76cba5d7b148719a32, >=406fad7698f5bf21ab6b5ca195bf4b9e0b3990ed <8a220d1c312c66194f4a33dd52d1fba42bc2b3410940108d27c6995e02819ff832be11892f0b208b, 86f4c1586418d50203ee8d76cba5d7b148719a32, 8a220d1c312c66194f4a33dd52d1fba42bc2b341

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-64040 severity on Zeptric[![CVE-2026-64040](https://zeptric.io/badge/cve/CVE-2026-64040.svg)](https://zeptric.io/cve/CVE-2026-64040)