ci2 starts bisection 2023-06-28 01:43:53.888983354 +0000 UTC m=+125852.979331230 bisecting fixing commit since 1fe619a7d25218e9b9fdcce9fcac6a05cd62abed building syzkaller on cf1845599c0bdab59c69518eaa0ecb960ec7ddf0 ensuring issue is reproducible on original commit 1fe619a7d25218e9b9fdcce9fcac6a05cd62abed testing commit 1fe619a7d25218e9b9fdcce9fcac6a05cd62abed gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: e461f37bca428c5d14e9cedbf7c0e2050e8eddc06759c1ecc11ab8a864063323 all runs: crashed: INFO: task hung in blkdev_fallocate testing current HEAD f67653019430833d5003f16817d7fa85272a6a76 testing commit f67653019430833d5003f16817d7fa85272a6a76 gcc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 0e4c5d10b856bd6552630d3dd6b81eb5a8ba8c62a7dd33d7c1f481ade38900f6 all runs: crashed: INFO: task hung in blkdev_fallocate crash still not fixed/happens on the oldest tested release revisions tested: 2, total time: 1h6m35.110868572s (build: 53m46.054598856s, test: 11m36.68464428s) crash still not fixed on HEAD or HEAD had kernel test errors commit msg: Linux 5.15.118 crash: INFO: task hung in blkdev_fallocate INFO: task syz-executor.3:4194 blocked for more than 143 seconds. Not tainted 5.15.118-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:28600 pid: 4194 ppid: 3874 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5026 [inline] __schedule+0xaf0/0x54c0 kernel/sched/core.c:6372 schedule+0x10a/0x240 kernel/sched/core.c:6455 rwsem_down_write_slowpath+0x6a5/0x1230 kernel/locking/rwsem.c:1157 __down_write_common kernel/locking/rwsem.c:1284 [inline] __down_write_common kernel/locking/rwsem.c:1281 [inline] __down_write kernel/locking/rwsem.c:1293 [inline] down_write+0x137/0x150 kernel/locking/rwsem.c:1542 filemap_invalidate_lock include/linux/fs.h:832 [inline] blkdev_fallocate+0x1b3/0x3e0 block/fops.c:600 vfs_fallocate+0x2a5/0xbb0 fs/open.c:308 ksys_fallocate fs/open.c:331 [inline] __do_sys_fallocate fs/open.c:339 [inline] __se_sys_fallocate fs/open.c:337 [inline] __x64_sys_fallocate+0xb0/0x100 fs/open.c:337 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f862d6d0169 RSP: 002b:00007f862ca42168 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 00007f862d7eff80 RCX: 00007f862d6d0169 RDX: 0000000000000000 RSI: 0000000000000011 RDI: 0000000000000003 RBP: 00007f862d72bca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000010000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffc66b0476f R14: 00007f862ca42300 R15: 0000000000022000 INFO: task syz-executor.5:4204 blocked for more than 143 seconds. Not tainted 5.15.118-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:28600 pid: 4204 ppid: 3879 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5026 [inline] __schedule+0xaf0/0x54c0 kernel/sched/core.c:6372 schedule+0x10a/0x240 kernel/sched/core.c:6455 rwsem_down_write_slowpath+0x6a5/0x1230 kernel/locking/rwsem.c:1157 __down_write_common kernel/locking/rwsem.c:1284 [inline] __down_write_common kernel/locking/rwsem.c:1281 [inline] __down_write kernel/locking/rwsem.c:1293 [inline] down_write+0x137/0x150 kernel/locking/rwsem.c:1542 filemap_invalidate_lock include/linux/fs.h:832 [inline] blkdev_fallocate+0x1b3/0x3e0 block/fops.c:600 vfs_fallocate+0x2a5/0xbb0 fs/open.c:308 ksys_fallocate fs/open.c:331 [inline] __do_sys_fallocate fs/open.c:339 [inline] __se_sys_fallocate fs/open.c:337 [inline] __x64_sys_fallocate+0xb0/0x100 fs/open.c:337 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7fc65907c169 RSP: 002b:00007fc6583ee168 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 00007fc65919bf80 RCX: 00007fc65907c169 RDX: 0000000000000000 RSI: 0000000000000011 RDI: 0000000000000003 RBP: 00007fc6590d7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000010000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcb9ccf1af R14: 00007fc6583ee300 R15: 0000000000022000 INFO: task syz-executor.1:4206 blocked for more than 144 seconds. Not tainted 5.15.118-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:28600 pid: 4206 ppid: 3870 flags:0x00000004 Call Trace: context_switch kernel/sched/core.c:5026 [inline] __schedule+0xaf0/0x54c0 kernel/sched/core.c:6372 schedule+0x10a/0x240 kernel/sched/core.c:6455 rwsem_down_write_slowpath+0x6a5/0x1230 kernel/locking/rwsem.c:1157 __down_write_common kernel/locking/rwsem.c:1284 [inline] __down_write_common kernel/locking/rwsem.c:1281 [inline] __down_write kernel/locking/rwsem.c:1293 [inline] down_write+0x137/0x150 kernel/locking/rwsem.c:1542 filemap_invalidate_lock include/linux/fs.h:832 [inline] blkdev_fallocate+0x1b3/0x3e0 block/fops.c:600 vfs_fallocate+0x2a5/0xbb0 fs/open.c:308 ksys_fallocate fs/open.c:331 [inline] __do_sys_fallocate fs/open.c:339 [inline] __se_sys_fallocate fs/open.c:337 [inline] __x64_sys_fallocate+0xb0/0x100 fs/open.c:337 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f3ac3aa9169 RSP: 002b:00007f3ac2e1b168 EFLAGS: 00000246 ORIG_RAX: 000000000000011d RAX: ffffffffffffffda RBX: 00007f3ac3bc8f80 RCX: 00007f3ac3aa9169 RDX: 0000000000000000 RSI: 0000000000000011 RDI: 0000000000000003 RBP: 00007f3ac3b04ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000010000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe026d87cf R14: 00007f3ac2e1b300 R15: 0000000000022000 Showing all locks held in the system: 1 lock held by khungtaskd/27: #0: ffffffff8b17c8c0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x272 kernel/locking/lockdep.c:6451 3 locks held by kworker/u4:3/596: 2 locks held by getty/3255: #0: ffff888023a8f098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x1f/0x70 drivers/tty/tty_ldisc.c:252 #1: ffffc900027b32e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xb1a/0x1040 drivers/tty/n_tty.c:2147 1 lock held by syz-executor.0/4177: 1 lock held by syz-executor.3/4194: #0: ffff88801109acb8 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:832 [inline] #0: ffff88801109acb8 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x1b3/0x3e0 block/fops.c:600 1 lock held by syz-executor.5/4204: #0: ffff88801109acb8 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:832 [inline] #0: ffff88801109acb8 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x1b3/0x3e0 block/fops.c:600 1 lock held by syz-executor.1/4206: #0: ffff88801109acb8 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:832 [inline] #0: ffff88801109acb8 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x1b3/0x3e0 block/fops.c:600 1 lock held by syz-executor.2/4364: #0: ffff88801109acb8 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:832 [inline] #0: ffff88801109acb8 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x1b3/0x3e0 block/fops.c:600 1 lock held by syz-executor.4/4395: #0: ffff88801109acb8 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:832 [inline] #0: ffff88801109acb8 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x1b3/0x3e0 block/fops.c:600 1 lock held by syz-executor.0/4403: #0: ffff88801109acb8 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:832 [inline] #0: ffff88801109acb8 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x1b3/0x3e0 block/fops.c:600 1 lock held by syz-executor.3/4417: #0: ffff88801109acb8 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:832 [inline] #0: ffff88801109acb8 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x1b3/0x3e0 block/fops.c:600 1 lock held by syz-executor.5/4419: #0: ffff88801109acb8 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:832 [inline] #0: ffff88801109acb8 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x1b3/0x3e0 block/fops.c:600 1 lock held by syz-executor.1/4421: #0: ffff88801109acb8 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:832 [inline] #0: ffff88801109acb8 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x1b3/0x3e0 block/fops.c:600 1 lock held by syz-executor.2/4439: #0: ffff88801109acb8 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:832 [inline] #0: ffff88801109acb8 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x1b3/0x3e0 block/fops.c:600 1 lock held by syz-executor.4/4462: #0: ffff88801109acb8 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:832 [inline] #0: ffff88801109acb8 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x1b3/0x3e0 block/fops.c:600 1 lock held by syz-executor.0/4487: #0: ffff88801109acb8 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:832 [inline] #0: ffff88801109acb8 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x1b3/0x3e0 block/fops.c:600 1 lock held by syz-executor.3/4505: #0: ffff88801109acb8 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:832 [inline] #0: ffff88801109acb8 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x1b3/0x3e0 block/fops.c:600 1 lock held by syz-executor.1/4526: #0: ffff88801109acb8 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:832 [inline] #0: ffff88801109acb8 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x1b3/0x3e0 block/fops.c:600 1 lock held by syz-executor.5/4528: #0: ffff88801109acb8 (mapping.invalidate_lock#2){++++}-{3:3}, at: filemap_invalidate_lock include/linux/fs.h:832 [inline] #0: ffff88801109acb8 (mapping.invalidate_lock#2){++++}-{3:3}, at: blkdev_fallocate+0x1b3/0x3e0 block/fops.c:600 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 27 Comm: khungtaskd Not tainted 5.15.118-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x57/0x7d lib/dump_stack.c:106 nmi_cpu_backtrace.cold+0x30/0xc0 lib/nmi_backtrace.c:111 nmi_trigger_cpumask_backtrace+0x18f/0x1d0 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:148 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline] watchdog+0x8a6/0xba0 kernel/hung_task.c:295 kthread+0x38b/0x460 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 596 Comm: kworker/u4:3 Not tainted 5.15.118-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/27/2023 Workqueue: bat_events batadv_nc_worker RIP: 0010:mark_lock.part.0+0x160/0x19a0 kernel/locking/lockdep.c:4609 Code: 41 ba 01 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 01 c3 48 c7 03 00 00 00 00 48 c7 43 08 00 00 00 00 48 c7 43 14 00 00 00 00 <48> 8b 84 24 30 01 00 00 65 48 2b 04 25 28 00 00 00 0f 85 54 13 00 RSP: 0018:ffffc9000380f848 EFLAGS: 00000082 RAX: dffffc0000000000 RBX: fffff52000701f10 RCX: 1ffffffff1f8b202 RDX: dffffc0000000000 RSI: 0000000000000004 RDI: ffffffff8fc59010 RBP: 0000000000000004 R08: 0000000000000000 R09: ffffffff8fc03c07 R10: 0000000000000001 R11: 0000000000000001 R12: ffff8880199ec640 R13: 0000000000000002 R14: 0000000000000716 R15: ffff8880199ec660 FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055dd508f9030 CR3: 0000000067d87000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: mark_lock kernel/locking/lockdep.c:4554 [inline] mark_usage kernel/locking/lockdep.c:4499 [inline] __lock_acquire+0x86e/0x55d0 kernel/locking/lockdep.c:4965 lock_acquire kernel/locking/lockdep.c:5622 [inline] lock_acquire+0x1ab/0x4e0 kernel/locking/lockdep.c:5587 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:135 [inline] _raw_spin_lock_bh+0x2f/0x40 kernel/locking/spinlock.c:178 spin_lock_bh include/linux/spinlock.h:368 [inline] batadv_nc_purge_paths+0xc0/0x2d0 net/batman-adv/network-coding.c:446 batadv_nc_worker+0x6e0/0xd90 net/batman-adv/network-coding.c:724 process_one_work+0x85b/0x1360 kernel/workqueue.c:2307 worker_thread+0x5a6/0xf90 kernel/workqueue.c:2454 kthread+0x38b/0x460 kernel/kthread.c:319 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298