CVEvulnerability
CVE-2026-64040
5.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2026-07-19
- Last modified
- 2026-10-15
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-252
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.
Affected configurations
• linux linux kernel (>= 6.15 < 7.0.11)
• linux linux kernel 7.1
Related
Weakness · CWE (1)
- CWE-252 Unchecked Return Value weakness