CVE-2026-64040: cachefiles: Fix error return when vfs_mkdir() fails

Published Jul 19, 2026
·
Updated

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

1 affected component
Linux Kernel Linux kernel

Event History

Jul 19, 2026
CVE Published
via MITRE·03:39 PM
Data Sourced
via MITRE·03:39 PM
Description
Data Sourced
via NVD·04:17 PM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-64040?

CVE-2026-64040 has a risk rating of 12.

2

How do I fix CVE-2026-64040?

To fix CVE-2026-64040, ensure you apply the latest Linux kernel update that addresses this vulnerability.

3

What systems are affected by CVE-2026-64040?

CVE-2026-64040 affects the Linux kernel specifically related to the cachefiles functionality.

4

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.

5

When was CVE-2026-64040 published?

CVE-2026-64040 was published on July 19, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203