{"id":"CVE-2026-64040","published":"2026-07-19T15:39:27Z","modified":"2026-10-15T10:07:58Z","title":"cachefiles: Fix error return when vfs_mkdir() fails","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ncachefiles: Fix error return when vfs_mkdir() fails\n\nWhen vfs_mkdir() fails, the error code is not extracted from the\nreturned error pointer. This causes mkdir_error to be reached with\nret=0, which leads to returning ERR_PTR(0) (NULL) instead of a\nproper error pointer.\n\nFix this by extracting the error code from the error pointer when\nvfs_mkdir() fails.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.0016,"percentile":0.02742,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/86f4c1586418d50203ee8d76cba5d7b148719a32","tags":[]},{"url":"https://git.kernel.org/stable/c/0940108d27c6995e02819ff832be11892f0b208b","tags":[]},{"url":"https://git.kernel.org/stable/c/8a220d1c312c66194f4a33dd52d1fba42bc2b341","tags":[]}],"priority":{"score":0.5,"factors":[{"name":"EPSS percentile","points":0.55}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 406fad7698f5bf21ab6b5ca195bf4b9e0b3990ed, < 86f4c1586418d50203ee8d76cba5d7b148719a32",">= 406fad7698f5bf21ab6b5ca195bf4b9e0b3990ed, < 0940108d27c6995e02819ff832be11892f0b208b",">= 406fad7698f5bf21ab6b5ca195bf4b9e0b3990ed, < 8a220d1c312c66194f4a33dd52d1fba42bc2b341"]},{"vendor":"Linux","product":"Linux","versions":["6.15"]}],"euvd":{"id":"EUVD-2026-45613","exploited":false,"provenance":"source"}}