netfs: release readahead folios on iterator preparation failure
- 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.44, 7.1.8
- 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: netfs: release readahead folios on iterator preparation failure netfs_prepare_read_iterator() batches readahead folios in put_batch so that the folio references can be dropped after the I/O iterator has been prepared. If rolling_buffer_load_from_ra() fails after earlier folios have been batched, the function returns immediately and leaves those references held. Release the batch before returning the error.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From e0186fa7436e55db10cecc2308749e2a877269a5 · fixed in 9ef7c3c5cf771286f187aed199dac0972404cc0f; From 06fa229ceb36898e68022b5654c017d2c6582d7d · fixed in 2c148a31ca01fc160aceec777bbc0041b0d0b8bd; From 06fa229ceb36898e68022b5654c017d2c6582d7d · fixed in 935e7b74bb2368f215cf8c2ad4bff60ee4e7589e; From 06fa229ceb36898e68022b5654c017d2c6582d7d · fixed in 87eb3d272dcbcbbfe5c1576c10e5dc72810cf1f6
- Linux Linux
6.14
- KernelLinux
From 6.14.0 · fixed in 6.18.44; From 6.19.0 · fixed in 7.1.8