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 vfsmkdir() fails
When vfsmkdir() fails, the error code is not extracted from the returned error pointer. This causes mkdirerror to be reached with ret=0, which leads to returning ERRPTR(0) (NULL) instead of a proper error pointer.
Fix this by extracting the error code from the error pointer when vfsmkdir() fails.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-64040?
CVE-2026-64040 has a risk rating of 12.
How do I fix CVE-2026-64040?
To fix CVE-2026-64040, ensure you apply the latest Linux kernel update that addresses this vulnerability.
What systems are affected by CVE-2026-64040?
CVE-2026-64040 affects the Linux kernel specifically related to the cachefiles functionality.
What is the impact of CVE-2026-64040?
The impact of CVE-2026-64040 could lead to improper error handling in directory creation, potentially causing system instability.
When was CVE-2026-64040 published?
CVE-2026-64040 was published on July 19, 2026.