CVE-2026-80598: ntfs3: fix out-of-bounds read in decompress_lznt
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
ntfs3: fix out-of-bounds read in decompress_lznt
decompress_lznt() does not validate array index bounds before accessing the decompression table. A corrupted NTFS3 image with invalid compressed data can trigger an out-of-bounds read.
Add index bounds checking to prevent the OOB access.
The Linux kernel CVE team has assigned CVE-2026-80598 to this issue.
Affected and fixed versions
===========================
Fixed in 5.15.212 with commit 1113fa5b01a47a1a4cdbb9c695197ca6215f02a8 Fixed in 6.1.178 with commit 61415ffa365d2eca6986914afd0d1412444aa1dd Fixed in 6.6.145 with commit bd77afca2ae9b6d44d37902e3ad672ebb028b070 Fixed in 6.12.97 with commit c694f8ea2611e7413b3f04ee47e04a9b7b45817b Fixed in 6.18.40 with commit ff05a98150ebb2b03919a9c05c576681e86abbb7 Fixed in 7.1.5 with commit a93980141253c932aa6ae5d4422d90e0162dc774 Fixed in 7.2 with commit 7160a57192fb16d7a6fa9b7f5c7ac341d2444a89
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-80598
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
fs/ntfs3/lznt.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/1113fa5b01a47a1a4cdbb9c695197ca6215f02a8 https://git.kernel.org/stable/c/61415ffa365d2eca6986914afd0d1412444aa1dd https://git.kernel.org/stable/c/bd77afca2ae9b6d44d37902e3ad672ebb028b070 https://git.kernel.org/stable/c/c694f8ea2611e7413b3f04ee47e04a9b7b45817b https://git.kernel.org/stable/c/ff05a98150ebb2b03919a9c05c576681e86abbb7 https://git.kernel.org/stable/c/a93980141253c932aa6ae5d4422d90e0162dc774 https://git.kernel.org/stable/c/7160a57192fb16d7a6fa9b7f5c7ac341d2444a89