cachefiles: Fix error return when vfs_mkdir() fails
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.18.57, 7.0.11
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 406fad7698f5bf21ab6b5ca195bf4b9e0b3990ed · fixed in 86f4c1586418d50203ee8d76cba5d7b148719a32; From 406fad7698f5bf21ab6b5ca195bf4b9e0b3990ed · fixed in 0940108d27c6995e02819ff832be11892f0b208b; From 406fad7698f5bf21ab6b5ca195bf4b9e0b3990ed · fixed in 8a220d1c312c66194f4a33dd52d1fba42bc2b341
- Linux Linux
6.15
- KernelLinux
From 6.15.0 · fixed in 6.18.57; From 6.19.0 · fixed in 7.0.11