INFO: task syz-executor.5:7637 blocked for more than 143 seconds. Not tainted 6.6.0-rc4-syzkaller-00176-gb78b18fb8ee1 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.5 state:D stack:26136 pid:7637 ppid:5078 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0x196c/0x4af0 kernel/sched/core.c:6695 schedule+0xc3/0x180 kernel/sched/core.c:6771 schedule_preempt_disabled+0x13/0x20 kernel/sched/core.c:6830 __mutex_lock_common kernel/locking/mutex.c:679 [inline] __mutex_lock+0x6a3/0xd60 kernel/locking/mutex.c:747 blkdev_put+0xff/0x770 block/bdev.c:884 blkdev_release+0x86/0x90 block/fops.c:604 __fput+0x3f8/0x910 fs/file_table.c:384 task_work_run+0x24a/0x300 kernel/task_work.c:180 get_signal+0x1662/0x1840 kernel/signal.c:2668 arch_do_signal_or_restart+0x96/0x860 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+0x64/0x280 kernel/entry/common.c:296 do_syscall_64+0x4d/0xc0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f6e2107cae9 RSP: 002b:00007f6e21d160c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: 0000000000000000 RBX: 00007f6e2119bf80 RCX: 00007f6e2107cae9 RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003 RBP: 00007f6e210c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f6e2119bf80 R15: 00007ffcaef2cfb8 Showing all locks held in the system: 1 lock held by khungtaskd/29: #0: ffffffff8d32c420 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:303 [inline] #0: ffffffff8d32c420 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:749 [inline] #0: ffffffff8d32c420 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6613 2 locks held by getty/4788: #0: ffff88814ae710a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002f062f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b1/0x1dc0 drivers/tty/n_tty.c:2206 3 locks held by syz-executor.3/5084: 2 locks held by kworker/u4:13/1833: 1 lock held by kworker/u4:2/1320: 1 lock held by udevd/7244: #0: ffff88801d6cd4c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0x137/0x620 block/bdev.c:786 1 lock held by syz-executor.5/7637: #0: ffff88801d6cd4c8 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xff/0x770 block/bdev.c:884 1 lock held by syz-executor.4/10292: 2 locks held by syz-executor.3/10313: 5 locks held by syz-executor.3/10315: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.6.0-rc4-syzkaller-00176-gb78b18fb8ee1 #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+0x1e7/0x2d0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x498/0x4d0 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x198/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+0xfa9/0xff0 kernel/hung_task.c:379 kthread+0x2d3/0x370 kernel/kthread.c:388 ret_from_fork+0x48/0x80 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: 10292 Comm: syz-executor.4 Not tainted 6.6.0-rc4-syzkaller-00176-gb78b18fb8ee1 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 RIP: 0010:check_preemption_disabled+0x2/0x110 lib/smp_processor_id.c:13 Code: ff ff ff 0f 1f 44 00 00 f3 0f 1e fa 48 c7 c7 80 9c 59 8b 48 c7 c6 c0 9c 59 8b eb 0c 66 2e 0f 1f 84 00 00 00 00 00 66 90 41 57 <41> 56 41 54 53 48 83 ec 10 65 48 8b 04 25 28 00 00 00 48 89 44 24 RSP: 0018:ffffc9000a297490 EFLAGS: 00000046 RAX: 1ffff1101123450c RBX: ffff8880891a1dc0 RCX: ffffffff91ef4303 RDX: dffffc0000000000 RSI: ffffffff8b0ab180 RDI: ffffffff8b599ce0 RBP: ffffc9000a297548 R08: ffffffff8e9a7faf R09: 1ffffffff1d34ff5 R10: dffffc0000000000 R11: fffffbfff1d34ff6 R12: dffffc0000000000 R13: 1ffff92001452eac R14: 7fc3f337d4160950 R15: 1ffff92001452e98 FS: 00007f05cd68e6c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000002029a030 CR3: 0000000094bc9000 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] lockdep_hardirqs_on_prepare+0x1f8/0x7a0 kernel/locking/lockdep.c:4357 trace_hardirqs_on+0x28/0x40 kernel/trace/trace_preemptirq.c:61 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline] _raw_spin_unlock_irqrestore+0x8f/0x140 kernel/locking/spinlock.c:194 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline] __skb_try_recv_datagram+0x1cb/0x6a0 net/core/datagram.c:265 __unix_dgram_recvmsg+0x3c5/0x1260 net/unix/af_unix.c:2362 sock_recvmsg_nosec+0x86/0xd0 net/socket.c:1044 ____sys_recvmsg+0x483/0x580 net/socket.c:2775 ___sys_recvmsg net/socket.c:2819 [inline] do_recvmmsg+0x474/0xae0 net/socket.c:2913 __sys_recvmmsg net/socket.c:2992 [inline] __do_sys_recvmmsg net/socket.c:3015 [inline] __se_sys_recvmmsg net/socket.c:3008 [inline] __x64_sys_recvmmsg+0x199/0x240 net/socket.c:3008 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x41/0xc0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f05cc87cae9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f05cd68e0c8 EFLAGS: 00000246 ORIG_RAX: 000000000000012b RAX: ffffffffffffffda RBX: 00007f05cc99c050 RCX: 00007f05cc87cae9 RDX: 0000000000010106 RSI: 00000000200000c0 RDI: 0000000000000003 RBP: 00007f05cc8c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007f05cc99c050 R15: 00007fff0967b638