syzbot


kernel panic: stack is corrupted in wnd_find

Status: moderation: reported on 2022/11/19 21:44
Reported-by: syzbot+f030134432f6ca7d974d@syzkaller.appspotmail.com
First crash: 82d, last: 77d

Sample crash report:
Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: wnd_find+0x11b4/0x1208
CPU: 1 PID: 22034 Comm: syz-executor.5 Not tainted 6.1.0-rc5-syzkaller-32269-g9500fc6e9e60 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022
Call trace:
 dump_backtrace+0x1c4/0x1f0 arch/arm64/kernel/stacktrace.c:156
 show_stack+0x2c/0x54 arch/arm64/kernel/stacktrace.c:163
 __dump_stack lib/dump_stack.c:88 [inline]
 dump_stack_lvl+0x104/0x16c lib/dump_stack.c:106
 dump_stack+0x1c/0x58 lib/dump_stack.c:113
 panic+0x218/0x508 kernel/panic.c:274
 warn_bogus_irq_restore+0x0/0x40 kernel/panic.c:703
 wnd_find+0x11b4/0x1208
 ntfs_look_for_free_space+0x154/0x340 fs/ntfs3/fsntfs.c:406
 attr_allocate_clusters+0xc4/0x2bc fs/ntfs3/attrib.c:182
 attr_set_size+0x944/0x132c fs/ntfs3/attrib.c:576
 ntfs_set_size+0xe4/0x150 fs/ntfs3/inode.c:817
 ntfs_extend+0xc0/0x274 fs/ntfs3/file.c:432
 ntfs_file_write_iter+0x1b8/0x330 fs/ntfs3/file.c:1159
 do_iter_write+0x318/0x560 fs/read_write.c:861
 vfs_iter_write+0x4c/0x6c fs/read_write.c:902
 iter_file_splice_write+0x2a8/0x518 fs/splice.c:686
 do_splice_from fs/splice.c:764 [inline]
 direct_splice_actor+0x4c/0xe0 fs/splice.c:931
 splice_direct_to_actor+0x1dc/0x3e4 fs/splice.c:886
 do_splice_direct+0xc4/0x14c fs/splice.c:974
 do_sendfile+0x298/0x68c fs/read_write.c:1255
 __do_sys_sendfile64 fs/read_write.c:1323 [inline]
 __se_sys_sendfile64 fs/read_write.c:1309 [inline]
 __arm64_sys_sendfile64+0xb0/0x230 fs/read_write.c:1309
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall arch/arm64/kernel/syscall.c:52 [inline]
 el0_svc_common+0x138/0x220 arch/arm64/kernel/syscall.c:142
 do_el0_svc+0x48/0x164 arch/arm64/kernel/syscall.c:206
 el0_svc+0x58/0x150 arch/arm64/kernel/entry-common.c:637
 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655
 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:584
SMP: stopping secondary CPUs
Kernel Offset: disabled
CPU features: 0x00000,040e0108,4c017203
Memory Limit: none
Rebooting in 86400 seconds..

Crashes (2):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci-upstream-gce-arm64 2022/11/21 01:04 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9500fc6e9e60 5bb70014 .config console log report info [disk image] [vmlinux] [kernel image] kernel panic: stack is corrupted in wnd_find
ci-upstream-gce-arm64 2022/11/15 21:40 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9e4ce762f0e7 97de9cfc .config console log report info [disk image] [vmlinux] [kernel image] kernel panic: stack is corrupted in wnd_find
* Struck through repros no longer work on HEAD.