lei lu 617cf144c2 fs/ntfs3: Validate ff offset
commit 50c47879650b4c97836a0086632b3a2e300b0f06 upstream.

This adds sanity checks for ff offset. There is a check
on rt->first_free at first, but walking through by ff
without any check. If the second ff is a large offset.
We may encounter an out-of-bound read.

Signed-off-by: lei lu <llfamsec@gmail.com>
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2024-07-27 11:40:32 +02:00
..
2024-05-25 14:19:01 -07:00
2024-05-25 14:19:01 -07:00
2024-07-27 11:40:32 +02:00
2024-05-25 14:19:01 -07:00
2024-05-25 14:19:01 -07:00
2023-07-03 00:21:27 +04:00
2024-05-25 14:19:01 -07:00
2023-07-03 00:21:27 +04:00
2024-05-25 14:19:01 -07:00
2022-09-30 17:39:47 +03:00