aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorYousef Alhouseen <alhouseenyousef@gmail.com>2026-06-28 11:55:59 +0200
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>2026-09-16 13:05:55 +0200
commit2f497d23652ff23da07b08cfb4b4a1c2a87f1892 (patch)
tree75711b6dcd71b6070a44a1cd86d118c07cc3f3df /scripts/Makefile.thinlto
parentfs/ntfs3: reject FS_IOC_SETFSLABEL on readonly mounts (diff)
ntfs3: bound index head insertions by buffer capacity
hdr_insert_head() shifts the existing index entries by ins_bytes without checking that the resulting used size fits within hdr->total. A directory index root larger than the newly allocated index buffer can therefore make the memmove write beyond the buffer. Reject insertions whose size would exceed the index header capacity and make both split callers unwind the new node when that happens. Fixes: 82cae269cfa9 ("fs/ntfs3: Add initialization of super block") Reported-by: syzbot+45ef5a8d661162757547@syzkaller.appspotmail.com Closes: https://syzkaller.appspot.com/bug?extid=45ef5a8d661162757547 Cc: stable@vger.kernel.org Signed-off-by: Yousef Alhouseen <alhouseenyousef@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