INFO: task syz-executor.0:5466 blocked for more than 143 seconds. Not tainted 6.6.0-rc4-syzkaller-00284-gb9ddbb0cde2a #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.0 state:D stack:26904 pid:5466 ppid:5399 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0x19b9/0x4b10 kernel/sched/core.c:6695 schedule+0xbf/0x180 kernel/sched/core.c:6771 schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6830 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0x69f/0xd60 kernel/locking/mutex.c:747 blkdev_put+0xfb/0x770 block/bdev.c:884 blkdev_release+0x82/0x90 block/fops.c:604 __fput+0x3f8/0x910 fs/file_table.c:384 task_work_run+0x246/0x300 kernel/task_work.c:180 get_signal+0x166a/0x1840 kernel/signal.c:2668 arch_do_signal_or_restart+0x92/0x800 arch/x86/kernel/signal.c:309 exit_to_user_mode_loop+0x6a/0x100 kernel/entry/common.c:168 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x60/0x270 kernel/entry/common.c:296 do_syscall_64+0x49/0xb0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f0588c7cae9 RSP: 002b:00007f0589a920c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: 0000000000000000 RBX: 00007f0588d9bf80 RCX: 00007f0588c7cae9 RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003 RBP: 00007f0588cc847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f0588d9bf80 R15: 00007ffccfbeff48 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8d32a8e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:303 [inline] #0: ffffffff8d32a8e0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:749 [inline] #0: ffffffff8d32a8e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x51/0x290 kernel/locking/lockdep.c:6613 2 locks held by getty/4789: #0: ffff88814a7de0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc900031332f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ad/0x1db0 drivers/tty/n_tty.c:2206 1 lock held by udevd/5415: #0: ffff88801cd874c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x133/0x620 block/bdev.c:786 1 lock held by syz-executor.0/5466: #0: ffff88801cd874c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xfb/0x770 block/bdev.c:884 1 lock held by syz-executor.0/5773: #0: ffff88801cd874c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x133/0x620 block/bdev.c:786 1 lock held by syz-executor.0/5790: #0: ffff88801cd874c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x133/0x620 block/bdev.c:786 ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.6.0-rc4-syzkaller-00284-gb9ddbb0cde2a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 Call Trace: __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0x1e3/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x494/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x194/0x2f0 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+0xfa1/0xfe0 kernel/hung_task.c:379 kthread+0x2cf/0x360 kernel/kthread.c:388 ret_from_fork+0x44/0x70 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:304 Sending NMI from CPU 1 to CPUs 0: NMI backtrace for cpu 0 CPU: 0 PID: 4479 Comm: klogd Not tainted 6.6.0-rc4-syzkaller-00284-gb9ddbb0cde2a #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 RIP: 0010:check_preemption_disabled+0x37/0x110 Code: 8b 04 25 28 00 00 00 48 89 44 24 08 65 8b 1d ec 1b 41 75 65 8b 05 e1 1b 41 75 a9 ff ff ff 7f 74 22 65 48 8b 04 25 28 00 00 00 <48> 3b 44 24 08 0f 85 c7 00 00 00 89 d8 48 83 c4 10 5b 41 5c 41 5e RSP: 0018:ffffc9000316f2a8 EFLAGS: 00000002 RAX: b57a4658f3b27900 RBX: 0000000000000000 RCX: ffffffff816cdffc RDX: 0000000000000000 RSI: ffffffff8b0c21e0 RDI: ffffffff8b5efa40 RBP: ffffc9000316f420 R08: ffffffff8e9a80ef R09: 1ffffffff1d3501d R10: dffffc0000000000 R11: fffffbfff1d3501e R12: 1ffff9200062de68 R13: ffffffff81769689 R14: ffffc9000316f390 R15: dffffc0000000000 FS: 00007fabe18b9380(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000562255bc7600 CR3: 0000000029b25000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lockdep_recursion_inc kernel/locking/lockdep.c:462 [inline] lock_release+0x183/0x9c0 kernel/locking/lockdep.c:5772 __raw_spin_unlock include/linux/spinlock_api_smp.h:141 [inline] _raw_spin_unlock+0x12/0x40 kernel/locking/spinlock.c:186 rcu_preempt_ctxt_queue kernel/rcu/tree_plugin.h:253 [inline] rcu_note_context_switch+0x9e9/0xf10 kernel/rcu/tree_plugin.h:342 __schedule+0x341/0x4b10 kernel/sched/core.c:6595 preempt_schedule_common+0x83/0xc0 kernel/sched/core.c:6864 preempt_schedule+0xd9/0xe0 kernel/sched/core.c:6888 preempt_schedule_thunk+0x16/0x30 arch/x86/entry/thunk_64.S:45 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline] _raw_spin_unlock_irqrestore+0x128/0x130 kernel/locking/spinlock.c:194 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] __wake_up_common_lock kernel/sched/wait.c:140 [inline] __wake_up_sync_key+0x121/0x1c0 kernel/sched/wait.c:213 sock_def_readable+0x1e6/0x440 net/core/sock.c:3324 unix_dgram_sendmsg+0x15af/0x2070 net/unix/af_unix.c:2093 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg net/socket.c:745 [inline] __sys_sendto+0x480/0x640 net/socket.c:2194 __do_sys_sendto net/socket.c:2206 [inline] __se_sys_sendto net/socket.c:2202 [inline] __x64_sys_sendto+0xda/0xf0 net/socket.c:2202 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fabe1a1b9b5 Code: 8b 44 24 08 48 83 c4 28 48 98 c3 48 98 c3 41 89 ca 64 8b 04 25 18 00 00 00 85 c0 75 26 45 31 c9 45 31 c0 b8 2c 00 00 00 0f 05 <48> 3d 00 f0 ff ff 76 7a 48 8b 15 44 c4 0c 00 f7 d8 64 89 02 48 83 RSP: 002b:00007ffd7d115748 EFLAGS: 00000246 ORIG_RAX: 000000000000002c RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007fabe1a1b9b5 RDX: 0000000000000039 RSI: 000055e2f5a087a0 RDI: 0000000000000003 RBP: 000055e2f5a03910 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000004000 R11: 0000000000000246 R12: 0000000000000013 R13: 00007fabe1ba9212 R14: 00007ffd7d115848 R15: 0000000000000000