diff options
| author | 2026-07-13 14:11:40 +0530 | |
|---|---|---|
| committer | 2026-10-13 15:44:58 +0200 | |
| commit | 2727ac2ba87af3d5469a17648207fcfd72f6be7f (patch) | |
| tree | a50604bb802743f191495ee0d01786ac869f4646 /scripts/Makefile.thinlto | |
| parent | fs/ntfs3: fix ntfs_fnd leak when compare function is missing (diff) | |
fs/ntfs3: prevent positive E_NTFS_NONRESIDENT from reaching writeback error handling
attr_data_write_resident() returns the internal positive status code
E_NTFS_NONRESIDENT when the DATA attribute becomes non-resident.
ntfs_writepages() propagates this value into generic writeback error
handling, which expects a standard negative errno and triggers
WARN_ON_ONCE(err > 0).
Translate positive E_NTFS_* status codes to -EIO before recording
the writeback error. This prevents positive internal status codes from
reaching generic writeback code while preserving the existing behaviour
of treating this path as a writeback error.
Reported-by: syzbot+57f9327d593d301ce2a2@syzkaller.appspotmail.com
Closes: https://syzkaller.appspot.com/bug?extid=57f9327d593d301ce2a2
Signed-off-by: Vidhu Sarwal <vidhu.linux@gmail.com>
Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
