Skip to main content
← All vulnerabilities
CVE-2026-64040

cachefiles: Fix error return when vfs_mkdir() fails

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.18.57, 7.0.11
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Linux Linux

    From 406fad7698f5bf21ab6b5ca195bf4b9e0b3990ed · fixed in 86f4c1586418d50203ee8d76cba5d7b148719a32; From 406fad7698f5bf21ab6b5ca195bf4b9e0b3990ed · fixed in 0940108d27c6995e02819ff832be11892f0b208b; From 406fad7698f5bf21ab6b5ca195bf4b9e0b3990ed · fixed in 8a220d1c312c66194f4a33dd52d1fba42bc2b341

  • Linux Linux

    6.15

  • KernelLinux

    From 6.15.0 · fixed in 6.18.57; From 6.19.0 · fixed in 7.0.11

References 3

git.kernel.org