INFO: task syz-executor.2:5449 blocked for more than 143 seconds. Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:27152 pid:5449 tgid:5449 ppid:5076 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0xf15/0x5c70 kernel/sched/core.c:6736 __schedule_loop kernel/sched/core.c:6813 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6828 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6885 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x5b8/0x9c0 kernel/locking/mutex.c:752 bdev_release+0x161/0xb30 block/bdev.c:1028 blkdev_release+0x15/0x20 block/fops.c:628 __fput+0x270/0xb80 fs/file_table.c:422 __fput_sync+0x47/0x50 fs/file_table.c:507 __do_sys_close fs/open.c:1556 [inline] __se_sys_close fs/open.c:1541 [inline] __x64_sys_close+0x86/0x100 fs/open.c:1541 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xd2/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x7fc62d47cc9a RSP: 002b:00007ffe6895e8b0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003 RAX: ffffffffffffffda RBX: 0000000000000007 RCX: 00007fc62d47cc9a RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000006 RBP: 00007fc62d5ad980 R08: 0000001b30c20000 R09: 000000000000000f R10: 0000000081323edd R11: 0000000000000293 R12: 000000000001edfa R13: ffffffffffffffff R14: 00007fc62d000000 R15: 000000000001eab9 INFO: task syz-executor.2:5450 blocked for more than 143 seconds. Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:29136 pid:5450 tgid:5449 ppid:5076 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0xf15/0x5c70 kernel/sched/core.c:6736 __schedule_loop kernel/sched/core.c:6813 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6828 blk_mq_freeze_queue_wait+0x146/0x190 block/blk-mq.c:138 nbd_set_size drivers/block/nbd.c:363 [inline] __nbd_ioctl drivers/block/nbd.c:1509 [inline] nbd_ioctl+0x69e/0xfd0 drivers/block/nbd.c:1564 blkdev_ioctl+0x2f7/0x770 block/ioctl.c:640 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:904 [inline] __se_sys_ioctl fs/ioctl.c:890 [inline] __x64_sys_ioctl+0x193/0x220 fs/ioctl.c:890 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xd2/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x7fc62d47dda9 RSP: 002b:00007fc62e2200c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fc62d5abf80 RCX: 00007fc62d47dda9 RDX: 0000000000040001 RSI: 000000000000ab01 RDI: 0000000000000007 RBP: 00007fc62d4ca47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007fc62d5abf80 R15: 00007ffe6895e7e8 INFO: task syz-executor.2:5451 blocked for more than 143 seconds. Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:27120 pid:5451 tgid:5449 ppid:5076 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0xf15/0x5c70 kernel/sched/core.c:6736 __schedule_loop kernel/sched/core.c:6813 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6828 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6885 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x5b8/0x9c0 kernel/locking/mutex.c:752 nbd_start_device_ioctl drivers/block/nbd.c:1464 [inline] __nbd_ioctl drivers/block/nbd.c:1524 [inline] nbd_ioctl+0x312/0xfd0 drivers/block/nbd.c:1564 blkdev_ioctl+0x2f7/0x770 block/ioctl.c:640 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:904 [inline] __se_sys_ioctl fs/ioctl.c:890 [inline] __x64_sys_ioctl+0x193/0x220 fs/ioctl.c:890 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xd2/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x7fc62d47dda9 RSP: 002b:00007fc62e1ff0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fc62d5ac050 RCX: 00007fc62d47dda9 RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003 RBP: 00007fc62d4ca47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fc62d5ac050 R15: 00007ffe6895e7e8 INFO: task syz-executor.2:5457 blocked for more than 144 seconds. Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:28896 pid:5457 tgid:5449 ppid:5076 flags:0x00000006 Call Trace: context_switch kernel/sched/core.c:5409 [inline] __schedule+0xf15/0x5c70 kernel/sched/core.c:6736 __schedule_loop kernel/sched/core.c:6813 [inline] schedule+0xe7/0x350 kernel/sched/core.c:6828 schedule_preempt_disabled+0x13/0x30 kernel/sched/core.c:6885 __mutex_lock_common kernel/locking/mutex.c:684 [inline] __mutex_lock+0x5b8/0x9c0 kernel/locking/mutex.c:752 nbd_ioctl+0x151/0xfd0 drivers/block/nbd.c:1557 blkdev_ioctl+0x2f7/0x770 block/ioctl.c:640 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:904 [inline] __se_sys_ioctl fs/ioctl.c:890 [inline] __x64_sys_ioctl+0x193/0x220 fs/ioctl.c:890 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xd2/0x260 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x6d/0x75 RIP: 0033:0x7fc62d47dda9 RSP: 002b:00007fc62e1bd0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007fc62d5ac1f0 RCX: 00007fc62d47dda9 RDX: 0000000000000000 RSI: 000000000000ab04 RDI: 0000000000000003 RBP: 00007fc62d4ca47a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fc62d5ac1f0 R15: 00007ffe6895e7e8 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8d7b08e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline] #0: ffffffff8d7b08e0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline] #0: ffffffff8d7b08e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6614 1 lock held by klogd/4502: #0: ffff8880b943e698 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:559 2 locks held by getty/4817: #0: ffff88802add20a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900020a92f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc8/0x1490 drivers/tty/n_tty.c:2201 1 lock held by udevd/5123: #0: ffff88802041b4c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open+0x444/0xe30 block/bdev.c:862 1 lock held by udevd/5232: #0: ffff88801ff4e4c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open+0x444/0xe30 block/bdev.c:862 1 lock held by syz-executor.2/5449: #0: ffff88801ff4e4c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_release+0x161/0xb30 block/bdev.c:1028 1 lock held by syz-executor.2/5450: #0: ffff88801ff60198 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x151/0xfd0 drivers/block/nbd.c:1557 1 lock held by syz-executor.2/5451: #0: ffff88801ff60198 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_start_device_ioctl drivers/block/nbd.c:1464 [inline] #0: ffff88801ff60198 (&nbd->config_lock){+.+.}-{3:3}, at: __nbd_ioctl drivers/block/nbd.c:1524 [inline] #0: ffff88801ff60198 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x312/0xfd0 drivers/block/nbd.c:1564 1 lock held by syz-executor.2/5457: #0: ffff88801ff60198 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x151/0xfd0 drivers/block/nbd.c:1557 1 lock held by syz-executor.3/6099: #0: ffff88802041b4c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_release+0x161/0xb30 block/bdev.c:1028 1 lock held by syz-executor.3/6102: #0: ffff88802041b4c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_release+0x161/0xb30 block/bdev.c:1028 1 lock held by syz-executor.3/7640: #0: ffff88802041b4c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open+0x444/0xe30 block/bdev.c:862 1 lock held by syz-executor.3/7643: #0: ffff88802041b4c8 (&disk->open_mutex){+.+.}-{3:3}, at: bdev_open+0x444/0xe30 block/bdev.c:862 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:114 nmi_cpu_backtrace+0x27b/0x390 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x29c/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+0x2c1/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 6392 Comm: kworker/u8:9 Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024 Workqueue: bat_events batadv_nc_worker RIP: 0010:check_wait_context kernel/locking/lockdep.c:4801 [inline] RIP: 0010:__lock_acquire+0x60d/0x3b30 kernel/locking/lockdep.c:5087 Code: c4 00 00 00 48 89 f9 49 89 f8 48 c1 e9 03 41 83 e0 07 0f b6 0c 29 44 38 c1 7f 08 84 c9 0f 85 72 22 00 00 0f b6 88 c4 00 00 00 <84> c9 74 3a 48 8d b8 c6 00 00 00 41 38 cf 44 0f 47 f9 49 89 f8 49 RSP: 0018:ffffc9000423f958 EFLAGS: 00000046 RAX: ffffffff93dfdba8 RBX: ffff88801f7c9e00 RCX: 0000000000000000 RDX: fffffbfff27b4e4c RSI: 0000000000000008 RDI: ffffffff93dfdc6c RBP: dffffc0000000000 R08: 0000000000000004 R09: fffffbfff27b4e4b R10: ffffffff93da725f R11: 0000000000000002 R12: ffffed1003ef951a R13: ffff88801f7ca8d8 R14: 0000000000000001 R15: 0000000000000004 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c00165c020 CR3: 000000000d57a000 CR4: 00000000003506f0 Call Trace: lock_acquire kernel/locking/lockdep.c:5754 [inline] lock_acquire+0x1b1/0x540 kernel/locking/lockdep.c:5719 rcu_lock_acquire include/linux/rcupdate.h:298 [inline] rcu_read_lock include/linux/rcupdate.h:750 [inline] batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:408 [inline] batadv_nc_worker+0x16e/0x10f0 net/batman-adv/network-coding.c:719 process_one_work+0x9a9/0x1a60 kernel/workqueue.c:3254 process_scheduled_works kernel/workqueue.c:3335 [inline] worker_thread+0x6c8/0xf70 kernel/workqueue.c:3416 kthread+0x2c1/0x3a0 kernel/kthread.c:388 ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243