INFO: task syz-executor.3:1795 blocked for more than 143 seconds. Not tainted 6.6.0-rc2-next-20230921-syzkaller #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.3 state:D stack:25680 pid:1795 ppid:5114 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5365 [inline] __schedule+0xee1/0x5a00 kernel/sched/core.c:6677 __schedule_loop kernel/sched/core.c:6756 [inline] schedule+0xe9/0x280 kernel/sched/core.c:6771 io_schedule+0xbe/0x130 kernel/sched/core.c:8991 folio_wait_bit_common+0x3dc/0x9c0 mm/filemap.c:1301 folio_lock include/linux/pagemap.h:1042 [inline] clean_bdev_aliases+0x56b/0x610 fs/buffer.c:1732 clean_bdev_bh_alias include/linux/buffer_head.h:222 [inline] __block_write_begin_int+0x8d6/0x14d0 fs/buffer.c:2125 iomap_write_begin+0x5be/0x1800 fs/iomap/buffered-io.c:774 iomap_write_iter fs/iomap/buffered-io.c:909 [inline] iomap_file_buffered_write+0x3d6/0x9a0 fs/iomap/buffered-io.c:970 blkdev_buffered_write block/fops.c:634 [inline] blkdev_write_iter+0x4f5/0xc90 block/fops.c:684 call_write_iter include/linux/fs.h:1957 [inline] do_iter_readv_writev+0x21e/0x3c0 fs/read_write.c:735 do_iter_write+0x17f/0x830 fs/read_write.c:860 vfs_iter_write+0x7a/0xb0 fs/read_write.c:901 iter_file_splice_write+0x698/0xbf0 fs/splice.c:736 do_splice_from fs/splice.c:933 [inline] direct_splice_actor+0x118/0x180 fs/splice.c:1142 splice_direct_to_actor+0x347/0xa30 fs/splice.c:1088 do_splice_direct+0x1af/0x280 fs/splice.c:1194 do_sendfile+0xb88/0x1390 fs/read_write.c:1254 __do_sys_sendfile64 fs/read_write.c:1322 [inline] __se_sys_sendfile64 fs/read_write.c:1308 [inline] __x64_sys_sendfile64+0x1d6/0x220 fs/read_write.c:1308 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fd66c07cae9 RSP: 002b:00007fd66a9dd0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000028 RAX: ffffffffffffffda RBX: 00007fd66c19c1f0 RCX: 00007fd66c07cae9 RDX: 0000000000000000 RSI: 000000000000000a RDI: 0000000000000009 RBP: 00007fd66c0c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0100000000000042 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000006e R14: 00007fd66c19c1f0 R15: 00007ffefe55cd58 Showing all locks held in the system: 6 locks held by kworker/0:1/9: #0: ffff888014eb9138 ((wq_completion)usb_hub_wq){+.+.}-{0:0}, at: process_one_work+0x787/0x15c0 kernel/workqueue.c:2605 #1: ffffc900000e7d80 ((work_completion)(&hub->events)){+.+.}-{0:0}, at: process_one_work+0x7e9/0x15c0 kernel/workqueue.c:2606 #2: ffff88814272b190 (&dev->mutex){....}-{3:3}, at: device_lock include/linux/device.h:992 [inline] #2: ffff88814272b190 (&dev->mutex){....}-{3:3}, at: hub_event+0x1c1/0x4e00 drivers/usb/core/hub.c:5768 #3: ffff8880877b6508 (&port_dev->status_lock){+.+.}-{3:3}, at: usb_lock_port drivers/usb/core/hub.c:3138 [inline] #3: ffff8880877b6508 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5337 [inline] #3: ffff8880877b6508 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5580 [inline] #3: ffff8880877b6508 (&port_dev->status_lock){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5740 [inline] #3: ffff8880877b6508 (&port_dev->status_lock){+.+.}-{3:3}, at: hub_event+0x2801/0x4e00 drivers/usb/core/hub.c:5822 #4: ffff88814234fc68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect drivers/usb/core/hub.c:5338 [inline] #4: ffff88814234fc68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_port_connect_change drivers/usb/core/hub.c:5580 [inline] #4: ffff88814234fc68 (hcd->address0_mutex){+.+.}-{3:3}, at: port_event drivers/usb/core/hub.c:5740 [inline] #4: ffff88814234fc68 (hcd->address0_mutex){+.+.}-{3:3}, at: hub_event+0x282a/0x4e00 drivers/usb/core/hub.c:5822 #5: ffffffff8dce58b0 (ehci_cf_port_reset_rwsem){.+.+}-{3:3}, at: hub_port_reset+0x1a2/0x1c70 drivers/usb/core/hub.c:2953 2 locks held by kworker/u4:0/11: #0: ffff888012c71938 ((wq_completion)events_unbound){+.+.}-{0:0}, at: process_one_work+0x787/0x15c0 kernel/workqueue.c:2605 #1: ffffc90000107d80 ((reaper_work).work){+.+.}-{0:0}, at: process_one_work+0x7e9/0x15c0 kernel/workqueue.c:2606 1 lock held by khungtaskd/29: #0: ffffffff8cbaada0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:303 [inline] #0: ffffffff8cbaada0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:749 [inline] #0: ffffffff8cbaada0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6613 2 locks held by getty/4811: #0: ffff88814ad0a0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc90002efe2f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc5/0x1480 drivers/tty/n_tty.c:2206 4 locks held by syz-executor.1/5103: 1 lock held by syz-executor.4/5106: 2 locks held by kworker/0:2/29819: 1 lock held by udevd/1906: 5 locks held by syz-executor.5/3599: 2 locks held by syz-executor.5/3601: #0: ffff88807dfa50a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffff88807dfa5130 (&tty->atomic_write_lock){+.+.}-{3:3}, at: tty_write_lock drivers/tty/tty_io.c:953 [inline] #1: ffff88807dfa5130 (&tty->atomic_write_lock){+.+.}-{3:3}, at: iterate_tty_write drivers/tty/tty_io.c:969 [inline] #1: ffff88807dfa5130 (&tty->atomic_write_lock){+.+.}-{3:3}, at: file_tty_write.constprop.0+0x2d1/0x9b0 drivers/tty/tty_io.c:1088 2 locks held by syz-executor.0/3611: 2 locks held by syz-executor.3/3615: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.6.0-rc2-next-20230921-syzkaller #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+0xd9/0x1b0 lib/dump_stack.c:106 nmi_cpu_backtrace+0x277/0x380 lib/nmi_backtrace.c:113 nmi_trigger_cpumask_backtrace+0x299/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+0xf87/0x1210 kernel/hung_task.c:379 kthread+0x33c/0x440 kernel/kthread.c:388 ret_from_fork+0x45/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: 3599 Comm: syz-executor.5 Not tainted 6.6.0-rc2-next-20230921-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023 RIP: 0010:cgroup_ino include/linux/cgroup.h:567 [inline] RIP: 0010:cgroup_psi include/linux/psi.h:37 [inline] RIP: 0010:task_psi_group kernel/sched/psi.c:888 [inline] RIP: 0010:psi_task_change+0x101/0x2e0 kernel/sched/psi.c:921 Code: 00 49 8d bf 88 00 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 d8 01 00 00 49 8b 9f 88 00 00 00 <48> b8 00 00 00 00 00 fc ff df 48 8d bb 48 01 00 00 48 89 fa 48 c1 RSP: 0018:ffffc90000007ce8 EFLAGS: 00000046 RAX: dffffc0000000000 RBX: ffff88814438c000 RCX: 0000000000000001 RDX: 1ffff1101059da11 RSI: ffffffff8a8cac60 RDI: ffff888082ced088 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000004 R13: 0000000000000000 R14: 000001ac646394a8 R15: ffff888082ced000 FS: 00007f785ea416c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020018000 CR3: 000000007bfa9000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: psi_enqueue kernel/sched/stats.h:139 [inline] enqueue_task kernel/sched/core.c:2091 [inline] activate_task kernel/sched/core.c:2125 [inline] ttwu_do_activate+0xa6f/0xd90 kernel/sched/core.c:3766 ttwu_queue kernel/sched/core.c:4008 [inline] try_to_wake_up+0x6bc/0x15d0 kernel/sched/core.c:4329 hrtimer_wakeup+0x47/0x60 kernel/time/hrtimer.c:1942 __run_hrtimer kernel/time/hrtimer.c:1688 [inline] __hrtimer_run_queues+0x203/0xc10 kernel/time/hrtimer.c:1752 hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1814 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1063 [inline] __sysvec_apic_timer_interrupt+0x105/0x3f0 arch/x86/kernel/apic/apic.c:1080 sysvec_apic_timer_interrupt+0x8e/0xc0 arch/x86/kernel/apic/apic.c:1074 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0010:check_kcov_mode kernel/kcov.c:173 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x11/0x70 kernel/kcov.c:207 Code: b0 01 00 00 e8 b0 ff ff ff 31 c0 c3 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 f3 0f 1e fa 65 8b 05 7d 82 7b 7e 89 c1 48 8b 34 24 <81> e1 00 01 00 00 65 48 8b 14 25 c0 bc 03 00 a9 00 01 ff 00 74 0e RSP: 0018:ffffc900177bf648 EFLAGS: 00000206 RAX: 0000000080000000 RBX: ffff888013642000 RCX: 0000000080000000 RDX: ffff88809f6b5940 RSI: ffffffff846dfe07 RDI: 0000000000000005 RBP: 00000000ffff00ff R08: 0000000000000005 R09: 0000000000000001 R10: 0000000000000018 R11: 00000000f86c6666 R12: 00000000000007fe R13: 0000000000000006 R14: 0000000000000006 R15: 0000000000000008 bit_cursor+0x357/0x1860 drivers/video/fbdev/core/bitblit.c:242 fbcon_cursor+0x3e0/0x540 drivers/video/fbdev/core/fbcon.c:1327 fbcon_scroll+0x1bc/0x5b0 drivers/video/fbdev/core/fbcon.c:1747 con_scroll+0x45c/0x690 drivers/tty/vt/vt.c:577 lf+0x26c/0x2c0 drivers/tty/vt/vt.c:1461 vc_con_write_normal drivers/tty/vt/vt.c:2805 [inline] do_con_write+0xc63/0x7f40 drivers/tty/vt/vt.c:2909 con_write+0x23/0x40 drivers/tty/vt/vt.c:3245 process_output_block drivers/tty/n_tty.c:579 [inline] n_tty_write+0x422/0x1130 drivers/tty/n_tty.c:2384 iterate_tty_write drivers/tty/tty_io.c:1017 [inline] file_tty_write.constprop.0+0x519/0x9b0 drivers/tty/tty_io.c:1088 call_write_iter include/linux/fs.h:1957 [inline] new_sync_write fs/read_write.c:491 [inline] vfs_write+0x650/0xe40 fs/read_write.c:584 ksys_write+0x12f/0x250 fs/read_write.c:637 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f785dc7cae9 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:00007f785ea410c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f785dd9bf80 RCX: 00007f785dc7cae9 RDX: 0000000000001006 RSI: 0000000020001040 RDI: 0000000000000005 RBP: 00007f785dcc847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f785dd9bf80 R15: 00007ffc934c1a88