INFO: task syz-executor.0:14554 blocked for more than 143 seconds. Not tainted 6.6.0-next-20231102-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:28352 pid:14554 tgid:14551 ppid:5111 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5376 [inline] __schedule+0xee5/0x59b0 kernel/sched/core.c:6688 __schedule_loop kernel/sched/core.c:6763 [inline] schedule+0xe5/0x270 kernel/sched/core.c:6778 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6835 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0x960/0x1330 kernel/locking/mutex.c:747 blkdev_put+0xb0/0x8b0 block/bdev.c:931 bdev_release+0x4f/0x80 block/bdev.c:955 blkdev_release+0x37/0x50 block/fops.c:616 __fput+0x270/0xbb0 fs/file_table.c:394 task_work_run+0x14c/0x240 kernel/task_work.c:180 get_signal+0x105a/0x2760 kernel/signal.c:2680 arch_do_signal_or_restart+0x90/0x7e0 arch/x86/kernel/signal.c:309 exit_to_user_mode_loop kernel/entry/common.c:168 [inline] exit_to_user_mode_prepare+0x11c/0x240 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x1d/0x60 kernel/entry/common.c:296 do_syscall_64+0x4b/0x110 arch/x86/entry/common.c:88 entry_SYSCALL_64_after_hwframe+0x62/0x6a RIP: 0033:0x7f27af87cae9 RSP: 002b:00007f27b052a0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: 0000000000000000 RBX: 00007f27af99bf80 RCX: 00007f27af87cae9 RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003 RBP: 00007f27af8c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f27af99bf80 R15: 00007ffd3c0dc928 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8cfae060 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:301 [inline] #0: ffffffff8cfae060 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:747 [inline] #0: ffffffff8cfae060 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6613 3 locks held by kworker/u4:8/2782: #0: ffff8880b983c718 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:558 #1: ffff8880b9828888 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x20c/0x900 kernel/sched/psi.c:976 #2: ffff8880b98297d8 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x5d/0x200 kernel/time/timer.c:999 2 locks held by getty/4828: #0: ffff88802a51a0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900015c72f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc4/0x1490 drivers/tty/n_tty.c:2201 1 lock held by udevd/13754: #0: ffff88801ddff4c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x4de/0xb10 block/bdev.c:789 1 lock held by syz-executor.0/14554: #0: ffff88801ddff4c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xb0/0x8b0 block/bdev.c:931 1 lock held by syz-executor.0/15044: #0: ffff88801ddff4c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x4de/0xb10 block/bdev.c:789 1 lock held by syz-executor.0/15396: #0: ffff88801ddff4c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x4de/0xb10 block/bdev.c:789 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.6.0-next-20231102-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xd9/0x1b0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x277/0x380 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x299/0x300 lib/nmi_backtrace.c:62 trigger_all_cpu_backtrace include/linux/nmi.h:160 [inline] check_hung_uninterruptible_tasks kernel/hung_task.c:222 [inline] watchdog+0xf86/0x1210 kernel/hung_task.c:379 kthread+0x337/0x440 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 14138 Comm: kworker/u4:6 Not tainted 6.6.0-next-20231102-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 Workqueue: bat_events batadv_nc_worker RIP: 0010:__lock_acquire+0x109e/0x5dc0 kernel/locking/lockdep.c:4992 Code: 10 0f b7 c0 3b 84 24 58 01 00 00 0f 8c 4a 15 00 00 48 b8 00 00 00 00 00 fc ff df 48 8b 4c 24 28 48 01 c1 48 c7 01 00 00 00 00 41 08 00 00 00 00 48 8b 84 24 08 01 00 00 65 48 2b 04 25 28 00 RSP: 0018:ffffc90015ba7948 EFLAGS: 00000082 RAX: dffffc0000000000 RBX: ffff888022315940 RCX: fffff52002b74f3b RDX: 0000000000000001 RSI: 0000000000000001 RDI: ffffffff91f2a660 RBP: 0000000000000018 R08: 0000000000000000 R09: fffffbfff23e51d0 R10: ffffffff91f28e87 R11: 1ffffffff19f7279 R12: 0000000058627b88 R13: ffff888022316450 R14: 0000000000000002 R15: 0000000000000004 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c001133000 CR3: 000000000cd78000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire kernel/locking/lockdep.c:5753 [inline] lock_acquire+0x1b1/0x530 kernel/locking/lockdep.c:5718 rcu_lock_acquire include/linux/rcupdate.h:301 [inline] rcu_read_lock include/linux/rcupdate.h:747 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline] batadv_nc_worker+0x16e/0x10e0 net/batman-adv/network-coding.c:719 process_one_work+0x8a2/0x15e0 kernel/workqueue.c:2630 process_scheduled_works kernel/workqueue.c:2703 [inline] worker_thread+0x8b6/0x1280 kernel/workqueue.c:2784 kthread+0x337/0x440 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242