CVE-2026-64040
Last modified
CVE-2026-64040 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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.. EPSS estimates a 0.14% chance of exploitation in the next 30 days.
Description
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 6.15, < 7.0.11 | — |
| Linux | Linux Kernel | 7.1 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2026-64040?
How severe is CVE-2026-64040?
How do I fix CVE-2026-64040?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-64035In the Linux kernel, the following vulnerability has been re…9.8
- CVE-2026-64036In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-64037In the Linux kernel, the following vulnerability has been re…9.8
- CVE-2026-64038In the Linux kernel, the following vulnerability has been re…4.7
- CVE-2026-64039In the Linux kernel, the following vulnerability has been re…7.7
- CVE-2026-6404The Anomify AI – Anomaly Detection and Alerting plugin for W…4.4
- CVE-2026-64041In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-64042In the Linux kernel, the following vulnerability has been re…8.8
- CVE-2026-64043In the Linux kernel, the following vulnerability has been re…4.7
- CVE-2026-64044In the Linux kernel, the following vulnerability has been re…7.8
- CVE-2026-64045In the Linux kernel, the following vulnerability has been re…8.4
- CVE-2026-64046In the Linux kernel, the following vulnerability has been re…9.8
Are you affected by CVE-2026-64040?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
