diff options
| author | Yi Xie <xieyi@kylinos.cn> | 2026-07-07 10:14:44 +0800 |
|---|---|---|
| committer | Konstantin Komarov <almaz.alexandrovich@paragon-software.com> | 2026-09-24 17:32:32 +0200 |
| commit | a2914eb60a09dccfd3d22f324c7c6108cf6105ea (patch) | |
| tree | ea1a01afc25358f2044ecd6272a7b9389aca5501 /scripts/patch-kernel | |
| parent | 4d7e2c4c6329b80dd0ff5674fa23a92f9dcf5b16 (diff) | |
ntfs3: fix resident attribute handling in run load paths
Don't dereference nres unless attr->non_res is set. ni_find_attr() can
succeed with a resident record on a corrupted image, and run_unpack_ex()
would mis-parse it as mapping pairs.
Fix attr_load_runs(), attr_load_runs_vcn() and attr_set_size().
Fixes: 5ec75546dc71 ("ntfs: fix WARN_ON for resident attribute in ntfs_map_runlist_nolock()")
Signed-off-by: Yi Xie <xieyi@kylinos.cn>
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
