diff options
| author | Hyunchul Lee <hyc.lee@gmail.com> | 2026-08-19 16:19:00 +0900 |
|---|---|---|
| committer | Namjae Jeon <linkinjeon@kernel.org> | 2026-08-19 18:31:26 +0900 |
| commit | cc9d09fef78410bcd37ac05168cbd5f6dd75d3d2 (patch) | |
| tree | 24a63137cb2088e7a5a25eeb4794af6eef2f98f7 /tools/perf/scripts/python/stackcollapse.py | |
| parent | d9e00c457d4ab8ab59c6e4b8554c921260e4e16c (diff) | |
ntfs: reject invalid MFT LCNs from boot sector
The NTFS boot sector stores the MFT and MFTMirr locations as unsigned
64-bit LCNs, but parse_ntfs_boot_sector() decoded them into an s64.
A crafted high-bit value could therefore become negative and pass
the existing upper-bound check. The invalid value then propagated into
the MFT zone allocator and could result in an out-of-bounds access to
lcn_empty_bits_per_page.
Fixes: 11ccc9107dc4 ("ntfs: update runlist handling and cluster allocator")
Reported-by: Robert Morris <rtm@csail.mit.edu>
Closes: https://lore.kernel.org/all/57514.1787000602@localhost
Cc: stable@vger.kernel.org
Signed-off-by: Hyunchul Lee <hyc.lee@gmail.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
