syzbot


INFO: trying to register non-static key in xfs_buf_delwri_submit_buffers

Status: auto-obsoleted due to no activity on 2024/03/05 12:47
Subsystems: xfs
[Documentation on labels]
Reported-by: syzbot+11d99e499adff05631cc@syzkaller.appspotmail.com
First crash: 532d, last: 532d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] INFO: trying to register non-static key in xfs_buf_delwri_submit_buffers 0 (1) 2022/12/12 07:03
Last patch testing requests (8)
Created Duration User Patch Repo Result
2024/03/05 12:19 27m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci OK log
2023/12/26 11:38 19m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log
2023/10/17 11:16 19m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log
2023/08/08 01:40 27m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log
2023/05/30 01:12 18m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log
2023/05/30 00:58 19m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log
2023/03/21 00:32 22m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log
2022/12/13 00:22 19m hdanton@sina.com patch https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master report log

Sample crash report:
XFS (loop1): Quotacheck: Done.
syz-executor383 (9789): drop_caches: 2
INFO: trying to register non-static key.
The code is fine but needs lockdep annotation, or maybe
you didn't initialize this object before use?
turning off the locking correctness validator.
CPU: 1 PID: 9789 Comm: syz-executor383 Not tainted 6.1.0-rc8-syzkaller-33330-ga5541c0811a0 #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/0x3c 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
 assign_lock_key+0x134/0x140 kernel/locking/lockdep.c:981
 register_lock_class+0xc4/0x2f8 kernel/locking/lockdep.c:1294
 __lock_acquire+0xa8/0x3084 kernel/locking/lockdep.c:4934
 lock_acquire+0x100/0x1f8 kernel/locking/lockdep.c:5668
 __raw_spin_lock_irqsave include/linux/spinlock_api_smp.h:110 [inline]
 _raw_spin_lock_irqsave+0x6c/0xb4 kernel/locking/spinlock.c:162
 down+0x2c/0x68 kernel/locking/semaphore.c:59
 xfs_buf_lock fs/xfs/xfs_buf.c:1120 [inline]
 xfs_buf_delwri_submit_buffers+0x15c/0x394 fs/xfs/xfs_buf.c:2164
 xfs_buf_delwri_submit+0x4c/0x160 fs/xfs/xfs_buf.c:2242
 xfs_qm_shrink_scan+0x94/0x174 fs/xfs/xfs_qm.c:514
 do_shrink_slab+0x240/0x55c mm/vmscan.c:842
 shrink_slab+0xe4/0x1b8 mm/vmscan.c:1002
 drop_slab_node mm/vmscan.c:1037 [inline]
 drop_slab+0xc8/0x19c mm/vmscan.c:1047
 drop_caches_sysctl_handler+0x130/0x22c fs/drop_caches.c:66
 proc_sys_call_handler+0x240/0x3d8 fs/proc/proc_sysctl.c:604
 proc_sys_write+0x2c/0x3c fs/proc/proc_sysctl.c:630
 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:1317 [inline]
 __se_sys_sendfile64 fs/read_write.c:1309 [inline]
 __arm64_sys_sendfile64+0x14c/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/0x140 arch/arm64/kernel/syscall.c:197
 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
list_add corruption. prev is NULL.
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:24!
Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP
Modules linked in:
CPU: 1 PID: 9789 Comm: syz-executor383 Not tainted 6.1.0-rc8-syzkaller-33330-ga5541c0811a0 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022
pstate: 604000c5 (nZCv daIF +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : __list_add_valid+0x78/0xb8 lib/list_debug.c:23
lr : __list_add_valid+0x78/0xb8 lib/list_debug.c:23
sp : ffff80001795b5b0
x29: ffff80001795b5b0 x28: ffff8000178c3aa8 x27: 0000000000000003
x26: 0000000000000000 x25: ffff800008e51208 x24: ffff80001795b5c8
x23: ffff8000178c39f0 x22: 0000000000000000 x21: 7fffffffffffffff
x20: ffff8000178c39a8 x19: 0000000000000002 x18: 00000000000002d4
x17: 6e69676e45206574 x16: 0000000000000002 x15: 0000000000000000
x14: 0000000000000000 x13: 205d393837395420 x12: 5b5d353332323338
x11: ff808000081c4d64 x10: 0000000000000000 x9 : 73a8e374c5aaba00
x8 : 73a8e374c5aaba00 x7 : 205b5d3533323233 x6 : ffff80000c091ebc
x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000000000000
x2 : 0000000000000000 x1 : 0000000100000001 x0 : 0000000000000022
Call trace:
 __list_add_valid+0x78/0xb8 lib/list_debug.c:23
 __list_add include/linux/list.h:69 [inline]
 list_add_tail include/linux/list.h:102 [inline]
 ___down_common+0x5c/0x17c kernel/locking/semaphore.c:214
 __down_common kernel/locking/semaphore.c:246 [inline]
 __down+0x28/0x44 kernel/locking/semaphore.c:254
 down+0x64/0x68 kernel/locking/semaphore.c:63
 xfs_buf_lock fs/xfs/xfs_buf.c:1120 [inline]
 xfs_buf_delwri_submit_buffers+0x15c/0x394 fs/xfs/xfs_buf.c:2164
 xfs_buf_delwri_submit+0x4c/0x160 fs/xfs/xfs_buf.c:2242
 xfs_qm_shrink_scan+0x94/0x174 fs/xfs/xfs_qm.c:514
 do_shrink_slab+0x240/0x55c mm/vmscan.c:842
 shrink_slab+0xe4/0x1b8 mm/vmscan.c:1002
 drop_slab_node mm/vmscan.c:1037 [inline]
 drop_slab+0xc8/0x19c mm/vmscan.c:1047
 drop_caches_sysctl_handler+0x130/0x22c fs/drop_caches.c:66
 proc_sys_call_handler+0x240/0x3d8 fs/proc/proc_sysctl.c:604
 proc_sys_write+0x2c/0x3c fs/proc/proc_sysctl.c:630
 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:1317 [inline]
 __se_sys_sendfile64 fs/read_write.c:1309 [inline]
 __arm64_sys_sendfile64+0x14c/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/0x140 arch/arm64/kernel/syscall.c:197
 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
Code: d4210000 9001b740 913c9c00 94aa8a26 (d4210000) 
---[ end trace 0000000000000000 ]---

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/12/11 00:12 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 67be1ae7 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-arm64 INFO: trying to register non-static key in xfs_buf_delwri_submit_buffers
* Struck through repros no longer work on HEAD.