INFO: task syz-executor.3:6559 blocked for more than 143 seconds. Not tainted 6.6.0-rc2-syzkaller-00244-g27bbf45eae9c #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:25672 pid:6559 ppid:5076 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 io_schedule+0x8c/0x100 kernel/sched/core.c:9026 folio_wait_bit_common+0x881/0x12a0 mm/filemap.c:1301 clean_bdev_aliases+0x2f9/0x770 fs/buffer.c:1725 clean_bdev_bh_alias include/linux/buffer_head.h:222 [inline] __block_write_begin_int+0x771/0x1a40 fs/buffer.c:2115 iomap_write_begin+0xaf6/0x1f00 fs/iomap/buffered-io.c:772 iomap_write_iter fs/iomap/buffered-io.c:907 [inline] iomap_file_buffered_write+0x587/0x1020 fs/iomap/buffered-io.c:968 blkdev_buffered_write block/fops.c:634 [inline] blkdev_write_iter+0x3f5/0x5b0 block/fops.c:684 call_write_iter include/linux/fs.h:1956 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x782/0xaf0 fs/read_write.c:584 ksys_write+0x1a0/0x2c0 fs/read_write.c:637 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:0x7f31a7c7cae9 RSP: 002b:00007f31a88fd0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f31a7d9c050 RCX: 00007f31a7c7cae9 RDX: 000000000156a396 RSI: 0000000020002a40 RDI: 0000000000000003 RBP: 00007f31a7cc847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f31a7d9c050 R15: 00007ffc643c4f18 Showing all locks held in the system: 2 locks held by kworker/0:1/9: #0: ffff8880b983c318 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:558 #1: ffff8880b9828808 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x441/0x770 kernel/sched/psi.c:999 2 locks held by kworker/u4:1/12: 1 lock held by khungtaskd/29: #0: ffffffff8d32c4a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:303 [inline] ffffffff8d32c4a0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:749 [inline] ffffffff8d32c4a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x55/0x2a0 kernel/locking/lockdep.c:6613 2 locks held by kworker/u4:3/48: 2 locks held by kworker/u4:7/1047: 3 locks held by udevd/4484: 2 locks held by getty/4792: #0: ffff88814a8370a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x25/0x70 drivers/tty/tty_ldisc.c:243 #1: ffffc90002efe2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6b1/0x1dc0 drivers/tty/n_tty.c:2206 2 locks held by kworker/1:3/5037: #0: ffff888012872938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2605 [inline] #0: ffff888012872938 ((wq_completion)rcu_gp){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1400 kernel/workqueue.c:2703 #1: ffffc90003a47d20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_one_work kernel/workqueue.c:2605 [inline] #1: ffffc90003a47d20 ((work_completion)(&rew->rew_work)){+.+.}-{0:0}, at: process_scheduled_works+0x825/0x1400 kernel/workqueue.c:2703 1 lock held by syz-executor.3/6690: #0: ffff8880771ae0e0 (&type->s_umount_key#30){++++}-{3:3}, at: __super_lock fs/super.c:56 [inline] #0: ffff8880771ae0e0 (&type->s_umount_key#30){++++}-{3:3}, at: __super_lock_excl fs/super.c:71 [inline] #0: ffff8880771ae0e0 (&type->s_umount_key#30){++++}-{3:3}, at: get_tree_bdev+0x36e/0x5b0 fs/super.c:1575 1 lock held by syz-executor.5/7249: 1 lock held by syz-executor.2/7248: 7 locks held by syz-executor.0/7251: 1 lock held by syz-executor.1/7253: #0: ffff8880b983c318 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2a/0x140 kernel/sched/core.c:558 ============================================= NMI backtrace for cpu 0 CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.6.0-rc2-syzkaller-00244-g27bbf45eae9c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/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 0 to CPUs 1: NMI backtrace for cpu 1 CPU: 1 PID: 4484 Comm: udevd Not tainted 6.6.0-rc2-syzkaller-00244-g27bbf45eae9c #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 RIP: 0010:skb_end_pointer include/linux/skbuff.h:1609 [inline] RIP: 0010:__skb_datagram_iter+0x15b/0x780 net/core/datagram.c:429 Code: 49 8d ac 24 d0 00 00 00 48 81 c3 cc 00 00 00 48 89 e8 48 c1 e8 03 49 bc 00 00 00 00 00 fc ff df 48 89 44 24 40 42 80 3c 20 00 <74> 08 48 89 ef e8 9b 31 37 f9 48 89 6c 24 48 4c 8b 7d 00 48 89 d8 RSP: 0018:ffffc900031778c8 EFLAGS: 00000246 RAX: 1ffff1100fccaa42 RBX: ffff88807e65520c RCX: ffff88807c858000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffff88807e655210 R08: ffffffff88b146dc R09: ffffffff88b15000 R10: dffffc0000000000 R11: fffffbfff1d34d16 R12: dffffc0000000000 R13: 0000000000000000 R14: dffffc0000000000 R15: 0000000000000000 FS: 00007fb51b93bc80(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c02a278000 CR3: 00000000254c2000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: skb_copy_datagram_iter+0xc1/0x220 net/core/datagram.c:527 skb_copy_datagram_msg include/linux/skbuff.h:3957 [inline] __unix_dgram_recvmsg+0x7e7/0x1260 net/unix/af_unix.c:2401 sock_recvmsg_nosec net/socket.c:1027 [inline] sock_recvmsg net/socket.c:1049 [inline] ____sys_recvmsg+0x2a4/0x580 net/socket.c:2760 ___sys_recvmsg net/socket.c:2802 [inline] __sys_recvmsg+0x2f0/0x3d0 net/socket.c:2832 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:0x7fb51b52491e Code: ff 89 ef 48 89 04 24 e8 4f 57 f9 ff 48 8b 04 24 48 83 c4 30 5d c3 c3 64 8b 04 25 18 00 00 00 85 c0 75 21 b8 2f 00 00 00 0f 05 <48> 3d 00 f0 ff ff 76 70 48 8b 15 db c4 0c 00 f7 d8 64 89 02 48 83 RSP: 002b:00007ffe1cabfd68 EFLAGS: 00000246 ORIG_RAX: 000000000000002f RAX: ffffffffffffffda RBX: 0000000000000001 RCX: 00007fb51b52491e RDX: 0000000000000040 RSI: 00007ffe1cabfe30 RDI: 0000000000000009 RBP: 00007ffe1cabfe30 R08: 000000001bfff715 R09: 00007ffe1cbe70b0 R10: 00007ffe1cbe7080 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000200000001 R14: 0000000000000000 R15: 0000000000000000