INFO: task syz-executor.2:4195 blocked for more than 143 seconds. Not tainted 6.6.0-rc4-syzkaller-00229-g82714078aee4 #0 "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. task:syz-executor.2 state:D stack:28432 pid:4195 ppid:5088 flags:0x00004006 Call Trace: context_switch kernel/sched/core.c:5382 [inline] __schedule+0xee1/0x5a10 kernel/sched/core.c:6695 schedule+0xe7/0x1b0 kernel/sched/core.c:6771 schedule_timeout+0x278/0x2c0 kernel/time/timer.c:2143 do_wait_for_common kernel/sched/completion.c:95 [inline] __wait_for_common+0x3e0/0x5f0 kernel/sched/completion.c:116 __flush_workqueue+0x3e0/0x1320 kernel/workqueue.c:3195 nbd_start_device_ioctl drivers/block/nbd.c:1426 [inline] __nbd_ioctl drivers/block/nbd.c:1487 [inline] nbd_ioctl+0x308/0xd60 drivers/block/nbd.c:1527 blkdev_ioctl+0x2f9/0x770 block/ioctl.c:630 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:871 [inline] __se_sys_ioctl fs/ioctl.c:857 [inline] __x64_sys_ioctl+0x18f/0x210 fs/ioctl.c:857 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f746987cae9 RSP: 002b:00007f746a5a70c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f746999c050 RCX: 00007f746987cae9 RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003 RBP: 00007f74698c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f746999c050 R15: 00007ffce83076f8 Showing all locks held in the system: 3 locks held by ksoftirqd/0/16: #0: ffff8880b983c718 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x29/0x130 kernel/sched/core.c:558 #1: ffff8880b9828888 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x2d9/0x900 kernel/sched/psi.c:999 #2: ffffffff8cbab2a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:303 [inline] #2: ffffffff8cbab2a0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:749 [inline] #2: ffffffff8cbab2a0 (rcu_read_lock){....}-{1:2}, at: percpu_ref_get_many include/linux/percpu-refcount.h:202 [inline] #2: ffffffff8cbab2a0 (rcu_read_lock){....}-{1:2}, at: percpu_ref_get include/linux/percpu-refcount.h:222 [inline] #2: ffffffff8cbab2a0 (rcu_read_lock){....}-{1:2}, at: obj_cgroup_get include/linux/memcontrol.h:798 [inline] #2: ffffffff8cbab2a0 (rcu_read_lock){....}-{1:2}, at: refill_obj_stock+0x1ac/0x7b0 mm/memcontrol.c:3338 1 lock held by khungtaskd/29: #0: ffffffff8cbab2a0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:303 [inline] #0: ffffffff8cbab2a0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:749 [inline] #0: ffffffff8cbab2a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6613 2 locks held by getty/4787: #0: ffff88802666b0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243 #1: ffffc900031232f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc5/0x1480 drivers/tty/n_tty.c:2206 2 locks held by kworker/u5:0/29740: #0: ffff88801cc2a138 ((wq_completion)nbd2-recv){+.+.}-{0:0}, at: process_one_work+0x787/0x15c0 kernel/workqueue.c:2605 #1: ffffc90015b2fd80 ((work_completion)(&args->work)){+.+.}-{0:0}, at: process_one_work+0x7e9/0x15c0 kernel/workqueue.c:2606 1 lock held by syz-executor.0/6539: 2 locks held by syz-executor.5/6544: 2 locks held by syz-executor.3/6546: ============================================= NMI backtrace for cpu 1 CPU: 1 PID: 29 Comm: khungtaskd Not tainted 6.6.0-rc4-syzkaller-00229-g82714078aee4 #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+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: 6539 Comm: syz-executor.0 Not tainted 6.6.0-rc4-syzkaller-00229-g82714078aee4 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023 RIP: 0010:__task_state_match kernel/sched/core.c:2239 [inline] RIP: 0010:ttwu_state_match kernel/sched/core.c:4057 [inline] RIP: 0010:try_to_wake_up+0xd5/0x15b0 kernel/sched/core.c:4232 Code: e8 70 6e e6 08 45 84 ff 49 89 c4 0f 85 63 01 00 00 4c 8d 7d 18 48 b8 00 00 00 00 00 fc ff df 4c 89 fa 48 c1 ea 03 0f b6 14 02 <4c> 89 f8 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 eb 08 00 00 8b RSP: 0018:ffffc90000007d68 EFLAGS: 00000016 RAX: dffffc0000000000 RBX: 1ffff92000000fb2 RCX: ffffffff8168fe4e RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffffc90000007cd8 RBP: ffff8880268c0000 R08: 0000000000000001 R09: fffff52000000f9b R10: 0000000000000003 R11: ffffc90000007ff8 R12: 0000000000000083 R13: 0000000000000003 R14: ffff8880268c09e8 R15: ffff8880268c0018 FS: 00007faa4ae4c6c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa4e1ffe000 CR3: 0000000073e60000 CR4: 0000000000350ef0 Call Trace: 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:console_trylock_spinning kernel/printk/printk.c:1979 [inline] RIP: 0010:vprintk_emit+0x3aa/0x5f0 kernel/printk/printk.c:2306 Code: 00 4d 85 e4 0f 85 e4 01 00 00 e8 61 5e 1c 00 9c 5d 81 e5 00 02 00 00 31 ff 48 89 ee e8 df 59 1c 00 48 85 ed 0f 85 f0 01 00 00 41 5e 1c 00 45 31 c9 41 b8 01 00 00 00 31 c9 48 8d 05 00 00 00 RSP: 0018:ffffc90004e27740 EFLAGS: 00000246 RAX: 0000000000040000 RBX: 0000000000000039 RCX: ffffc90004759000 RDX: 0000000000040000 RSI: ffffffff816b6a64 RDI: 0000000000000007 RBP: 0000000000000000 R08: 0000000000000007 R09: 0000000000000000 R10: 0000000000000000 R11: 61736e6172742067 R12: 0000000000000200 R13: ffff8880132c0000 R14: ffffffff8aa2b5c0 R15: ffffc90004e277c0 vprintk+0x7b/0x90 kernel/printk/printk_safe.c:45 _printk+0xc8/0x100 kernel/printk/printk.c:2332 reiserfs_info+0xea/0x150 fs/reiserfs/prints.c:303 journal_read fs/reiserfs/journal.c:2389 [inline] journal_init+0x1e2d/0x6470 fs/reiserfs/journal.c:2904 reiserfs_fill_super+0xcc6/0x3150 fs/reiserfs/super.c:2022 mount_bdev+0x1f3/0x2e0 fs/super.c:1629 legacy_get_tree+0x109/0x220 fs/fs_context.c:638 vfs_get_tree+0x8c/0x370 fs/super.c:1750 do_new_mount fs/namespace.c:3335 [inline] path_mount+0x1492/0x1ed0 fs/namespace.c:3662 do_mount fs/namespace.c:3675 [inline] __do_sys_mount fs/namespace.c:3884 [inline] __se_sys_mount fs/namespace.c:3861 [inline] __x64_sys_mount+0x293/0x310 fs/namespace.c:3861 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7faa4a07e1ea Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 09 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 00 00 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:00007faa4ae4bee8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5 RAX: ffffffffffffffda RBX: 00007faa4ae4bf80 RCX: 00007faa4a07e1ea RDX: 0000000020000000 RSI: 0000000020000040 RDI: 00007faa4ae4bf40 RBP: 0000000020000000 R08: 00007faa4ae4bf80 R09: 000000000120c081 R10: 000000000120c081 R11: 0000000000000202 R12: 0000000020000040 R13: 00007faa4ae4bf40 R14: 00000000000010fd R15: 0000000020000b80