diff options
| author | Hongling Zeng <zenghongling@kylinos.cn> | 2026-08-05 14:45:59 +0800 |
|---|---|---|
| committer | Konstantin Komarov <almaz.alexandrovich@paragon-software.com> | 2026-10-28 08:09:16 +0100 |
| commit | f517cae6333121783043d9ba5142b50f5d1cf75b (patch) | |
| tree | 387bdd7423c70e5944e40fa125383092a962e1e8 /scripts/basic | |
| parent | 408216b66afd9ddadaba2dce56fd4af6793e95a2 (diff) | |
| download | linux-f517cae6333121783043d9ba5142b50f5d1cf75b.tar.gz linux-f517cae6333121783043d9ba5142b50f5d1cf75b.zip | |
ntfs3: fix mapping pairs bounds check for alignment
In the UpdateMappingPairs action, the expansion check compares the
unaligned new attribute size with the available record space. The new
size is aligned to an 8-byte boundary before the mapping pairs are
updated, so the check can underestimate the required space by up to
seven bytes.
Use the aligned size in the expansion check to ensure that the
subsequent update cannot exceed the available record space.
Fixes: b46acd6a6a62 ("fs/ntfs3: Add NTFS journal")
Cc: stable@vger.kernel.org
Signed-off-by: Hongling Zeng <zenghongling@kylinos.cn>
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
