INFO: task syz-executor.1:1213 blocked for more than 143 seconds. Not tainted 6.5.0-rc4-syzkaller-00051-g7bafbd4027ae #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.1 state:D stack:28544 pid:1213 ppid:5053 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5381 [inline] __schedule+0xee1/0x59f0 kernel/sched/core.c:6710 schedule+0xe7/0x1b0 kernel/sched/core.c:6786 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6845 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0x967/0x1340 kernel/locking/mutex.c:747 blkdev_get_by_dev.part.0+0x4f0/0xb20 block/bdev.c:803 blkdev_get_by_dev+0x75/0x80 block/bdev.c:846 blkdev_open+0x112/0x380 block/fops.c:517 do_dentry_open+0x88b/0x1780 fs/open.c:914 do_open fs/namei.c:3636 [inline] path_openat+0x19af/0x29c0 fs/namei.c:3793 do_filp_open+0x1de/0x430 fs/namei.c:3820 do_sys_openat2+0x176/0x1e0 fs/open.c:1407 do_sys_open fs/open.c:1422 [inline] __do_sys_openat fs/open.c:1438 [inline] __se_sys_openat fs/open.c:1433 [inline] __x64_sys_openat+0x175/0x210 fs/open.c:1433 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fb56767cae9 RSP: 002b:00007fb5683530c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007fb56779bf80 RCX: 00007fb56767cae9 RDX: 0000000000000002 RSI: 0000000020001000 RDI: ffffffffffffff9c RBP: 00007fb5676c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fb56779bf80 R15: 00007ffd74aee0b8 INFO: task syz-executor.5:1253 blocked for more than 143 seconds. Not tainted 6.5.0-rc4-syzkaller-00051-g7bafbd4027ae #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:29040 pid:1253 ppid:5065 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5381 [inline] __schedule+0xee1/0x59f0 kernel/sched/core.c:6710 schedule+0xe7/0x1b0 kernel/sched/core.c:6786 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6845 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0x967/0x1340 kernel/locking/mutex.c:747 blkdev_get_by_dev.part.0+0x4f0/0xb20 block/bdev.c:803 blkdev_get_by_dev+0x75/0x80 block/bdev.c:846 blkdev_open+0x112/0x380 block/fops.c:517 do_dentry_open+0x88b/0x1780 fs/open.c:914 do_open fs/namei.c:3636 [inline] path_openat+0x19af/0x29c0 fs/namei.c:3793 do_filp_open+0x1de/0x430 fs/namei.c:3820 do_sys_openat2+0x176/0x1e0 fs/open.c:1407 do_sys_open fs/open.c:1422 [inline] __do_sys_openat fs/open.c:1438 [inline] __se_sys_openat fs/open.c:1433 [inline] __x64_sys_openat+0x175/0x210 fs/open.c:1433 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f72ce07cae9 RSP: 002b:00007f72cee9a0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f72ce19bf80 RCX: 00007f72ce07cae9 RDX: 0000000000000002 RSI: 0000000020001000 RDI: ffffffffffffff9c RBP: 00007f72ce0c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f72ce19bf80 R15: 00007ffce114d708 INFO: task syz-executor.5:1258 blocked for more than 144 seconds. Not tainted 6.5.0-rc4-syzkaller-00051-g7bafbd4027ae #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:28544 pid:1258 ppid:5065 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5381 [inline] __schedule+0xee1/0x59f0 kernel/sched/core.c:6710 schedule+0xe7/0x1b0 kernel/sched/core.c:6786 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6845 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0x967/0x1340 kernel/locking/mutex.c:747 blkdev_get_by_dev.part.0+0x4f0/0xb20 block/bdev.c:803 blkdev_get_by_dev+0x75/0x80 block/bdev.c:846 blkdev_open+0x112/0x380 block/fops.c:517 do_dentry_open+0x88b/0x1780 fs/open.c:914 do_open fs/namei.c:3636 [inline] path_openat+0x19af/0x29c0 fs/namei.c:3793 do_filp_open+0x1de/0x430 fs/namei.c:3820 do_sys_openat2+0x176/0x1e0 fs/open.c:1407 do_sys_open fs/open.c:1422 [inline] __do_sys_openat fs/open.c:1438 [inline] __se_sys_openat fs/open.c:1433 [inline] __x64_sys_openat+0x175/0x210 fs/open.c:1433 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f72ce07cae9 RSP: 002b:00007f72cee790c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 00007f72ce19c050 RCX: 00007f72ce07cae9 RDX: 0000000000000002 RSI: 0000000020001000 RDI: ffffffffffffff9c RBP: 00007f72ce0c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f72ce19c050 R15: 00007ffce114d708 Showing all locks held in the system: 1 lock held by rcu_tasks_kthre/12: #0: ffffffff8c9a2730 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x2c/0xe20 kernel/rcu/tasks.h:522 1 lock held by rcu_tasks_trace/13: #0: ffffffff8c9a2430 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x2c/0xe20 kernel/rcu/tasks.h:522 1 lock held by khungtaskd/27: #0: ffffffff8c9a3340 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x340 kernel/locking/lockdep.c:6615 3 locks held by kworker/u4:4/56: 2 locks held by getty/4767: #0: ffff88802d675098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900020382f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfcb/0x1480 drivers/tty/n_tty.c:2187 2 locks held by syz-executor.2/1094: 1 lock held by syz-executor.0/1173: 7 locks held by syz-executor.0/1175: 1 lock held by syz-executor.1/1213: #0: ffff8880202e54c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x4f0/0xb20 block/bdev.c:803 1 lock held by syz-executor.5/1253: #0: ffff8880202e54c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x4f0/0xb20 block/bdev.c:803 1 lock held by syz-executor.5/1258: #0: ffff8880202e54c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x4f0/0xb20 block/bdev.c:803 1 lock held by syz-executor.3/1277: #0: ffff8880202e54c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x4f0/0xb20 block/bdev.c:803 1 lock held by syz-executor.5/1478: #0: ffff8880202e54c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x4f0/0xb20 block/bdev.c:803 1 lock held by syz-executor.5/1479: #0: ffff8880202e54c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x4f0/0xb20 block/bdev.c:803 1 lock held by syz-executor.3/1486: #0: ffff8880202e54c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x4f0/0xb20 block/bdev.c:803 1 lock held by syz-executor.5/1562: #0: ffff8880202e54c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x4f0/0xb20 block/bdev.c:803 1 lock held by syz-executor.5/1563: #0: ffff8880202e54c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x4f0/0xb20 block/bdev.c:803 1 lock held by syz-executor.3/1568: #0: ffff8880202e54c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x4f0/0xb20 block/bdev.c:803 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 27 Comm: khungtaskd Not tainted 6.5.0-rc4-syzkaller-00051-g7bafbd4027ae #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/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+0x2ac/0x310 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+0xf29/0x11b0 kernel/hung_task.c:379 kthread+0x33a/0x430 kernel/kthread.c:389 ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 Sending NMI from CPU 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 27390 Comm: kworker/u4:8 Not tainted 6.5.0-rc4-syzkaller-00051-g7bafbd4027ae #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023 Workqueue: bat_events batadv_nc_worker RIP: 0010:check_preemption_disabled+0x0/0xe0 lib/smp_processor_id.c:13 Code: 46 2a 7a 04 85 c0 74 18 65 8b 05 2b ab d1 75 85 c0 75 0d 65 8b 05 3c a8 d1 75 85 c0 74 02 0f 0b e9 85 fc ff ff 0f 1f 44 00 00 <41> 54 55 53 48 83 ec 08 65 8b 1d 4d db d2 75 65 8b 05 42 db d2 75 RSP: 0018:ffffc90014b1fac0 EFLAGS: 00000046 RAX: 0000000000000007 RBX: 1ffff92002963f5b RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff8a6c6860 RDI: ffffffff8ac7e2a0 RBP: 0000000000000246 R08: 0000000000000000 R09: fffffbfff1d55a72 R10: ffffffff8eaad397 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: ffffffff8c9a3340 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555556494938 CR3: 000000007deae000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lockdep_recursion_inc kernel/locking/lockdep.c:462 [inline] lock_acquire kernel/locking/lockdep.c:5760 [inline] lock_acquire+0x16f/0x510 kernel/locking/lockdep.c:5726 rcu_lock_acquire include/linux/rcupdate.h:303 [inline] rcu_read_lock include/linux/rcupdate.h:749 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline] batadv_nc_worker+0x175/0x10f0 net/batman-adv/network-coding.c:719 process_one_work+0xaa2/0x16f0 kernel/workqueue.c:2597 worker_thread+0x687/0x1110 kernel/workqueue.c:2748 kthread+0x33a/0x430 kernel/kthread.c:389 ret_from_fork+0x2c/0x70 arch/x86/kernel/process.c:145 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304