Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.2%top 91%

In the Linux kernel, the following vulnerability has been resolved: cachefiles: Fix error return when vfs_mkdir() fails When vfs_mkdir() fails, the… (CVE-2026-64040)

0
Medium
Published: 07/19/2026 (07/19/2026, 18:31:50 UTC)
Source: GCVE Database

Description

A vulnerability in the Linux kernel's cachefiles component was fixed where the error code from vfs_mkdir() failure was not properly extracted. This caused the function to return a NULL error pointer instead of a proper error indication. The issue was addressed by correctly extracting the error code when vfs_mkdir() fails.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/19/2026, 19:57:18 UTC

Technical Analysis

The Linux kernel cachefiles module had a flaw in error handling: when the vfs_mkdir() function failed, the error code was not extracted from the returned error pointer. As a result, the code path led to returning ERR_PTR(0), effectively a NULL pointer, instead of a valid error pointer. This improper error return could cause incorrect behavior in error handling logic. The vulnerability was resolved by modifying the code to extract and return the correct error code from the error pointer when vfs_mkdir() fails.

Potential Impact

The vulnerability causes incorrect error reporting in the cachefiles module of the Linux kernel. While the description does not specify direct exploitation or impact scenarios, improper error handling can lead to unexpected behavior or stability issues in kernel operations involving cachefiles. No known exploits in the wild have been reported.

Mitigation Recommendations

A fix has been implemented in the Linux kernel to correctly extract and return the error code from vfs_mkdir() failures in the cachefiles module. Users should update to the fixed kernel version once available. Patch status is not explicitly confirmed in the provided data; check the official Linux kernel advisories or vendor updates for the exact fixed versions and apply the update accordingly.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-249r-xf46-wj4v
Osv Schema Version
1.4.0
Aliases
["CVE-2026-64040"]
Ecosystems
[]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a5d27a92a4a8d598912d215

Added to database: 07/19/2026, 19:38:17 UTC

Last enriched: 07/19/2026, 19:57:18 UTC

Last updated: 07/20/2026, 17:28:52 UTC

Views: 11

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses