fs/ntfs3: zero frame pages on read error
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Sep 25, 2026
Description
In the Linux kernel, the following vulnerability has been resolved:
fs/ntfs3: zero frame pages on read error
ni_read_frame() marks every frame page uptodate at the 'out:' label regardless of the return value. The pages come from ntfs_lock_new_page() and are not zeroed, and several error paths reach 'out:' before anything is written to them (e.g. a failed decompress_lznt()/decompress_lzx_xpress() on a corrupted chunk, or an allocation failure).
A page marked uptodate is served directly from the page cache, so a later read() of the file returns the uninitialized page contents to userspace. On a crafted compressed image this leaks kernel memory, including pointers.
Zero each page on the error path before marking it uptodate. The success path is unchanged.
| Product | Versions |
|---|---|
| Linux Linux | 4342306f0f0d5ff4315a204d315c1b51b914fca5 to before fe4d97ff5ce396a482b2af2ca2b2544736dc89e7 Affected4342306f0f0d5ff4315a204d315c1b51b914fca5 to before cd237d7a5f54b1c883790cc182fd6cb650e85ead Affected4342306f0f0d5ff4315a204d315c1b51b914fca5 to before 7c090b6dc70d7b854c5ff8005acd5f6e4337e896 Affected4342306f0f0d5ff4315a204d315c1b51b914fca5 to before eef961d6365eca8b3151aa733faa6450ae1f0397 Affected4342306f0f0d5ff4315a204d315c1b51b914fca5 to before 737edf5ce4af0d0cdee4cd2e9911c871150293e0 Affected4342306f0f0d5ff4315a204d315c1b51b914fca5 to before 4d9c54cff28386ce761b5d54e210acef74d3e39d Affected4342306f0f0d5ff4315a204d315c1b51b914fca5 to before a32e893a077a4b0d3b04c86cb7f69e354a187995 Affected |
| Linux Linux | 5.15 Affectedbefore 5.15 Not Affected5.15.226 through 5.15.* Not Affected6.1.193 through 6.1.* Not Affected6.6.163 through 6.6.* Not Affected6.12.119 through 6.12.* Not Affected6.18.65 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
- https://git.kernel.org/stable/c/fe4d97ff5ce396a482b2af2ca2b2544736dc89e7
- https://git.kernel.org/stable/c/cd237d7a5f54b1c883790cc182fd6cb650e85ead
- https://git.kernel.org/stable/c/7c090b6dc70d7b854c5ff8005acd5f6e4337e896
- https://git.kernel.org/stable/c/eef961d6365eca8b3151aa733faa6450ae1f0397
- https://git.kernel.org/stable/c/737edf5ce4af0d0cdee4cd2e9911c871150293e0
- https://git.kernel.org/stable/c/4d9c54cff28386ce761b5d54e210acef74d3e39d
- https://git.kernel.org/stable/c/a32e893a077a4b0d3b04c86cb7f69e354a187995
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.