INFO: task syz-executor.0:6055 blocked for more than 143 seconds.
Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.0 state:D stack:27616 pid:6055 tgid:6054 ppid:5074 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:5409 [inline]
__schedule+0xf15/0x5c70 kernel/sched/core.c:6736
__schedule_loop kernel/sched/core.c:6813 [inline]
schedule+0xe7/0x350 kernel/sched/core.c:6828
schedule_timeout+0x258/0x2a0 kernel/time/timer.c:2548
do_wait_for_common kernel/sched/completion.c:95 [inline]
__wait_for_common+0x3de/0x5f0 kernel/sched/completion.c:116
__flush_workqueue+0x39e/0x1200 kernel/workqueue.c:3994
nbd_start_device_ioctl drivers/block/nbd.c:1463 [inline]
__nbd_ioctl drivers/block/nbd.c:1524 [inline]
nbd_ioctl+0x308/0xfd0 drivers/block/nbd.c:1564
blkdev_ioctl+0x2f7/0x770 block/ioctl.c:640
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:904 [inline]
__se_sys_ioctl fs/ioctl.c:890 [inline]
__x64_sys_ioctl+0x193/0x220 fs/ioctl.c:890
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xd2/0x260 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x6d/0x75
RIP: 0033:0x7f224847dda9
RSP: 002b:00007f22492c00c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f22485abf80 RCX: 00007f224847dda9
RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003
RBP: 00007f22484ca47a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f22485abf80 R15: 00007ffcc2c68b38
Showing all locks held in the system:
3 locks held by kworker/u8:0/10:
1 lock held by khungtaskd/29:
#0: ffffffff8d7b08e0 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire include/linux/rcupdate.h:298 [inline]
#0: ffffffff8d7b08e0 (rcu_read_lock){....}-{1:2}, at: rcu_read_lock include/linux/rcupdate.h:750 [inline]
#0: ffffffff8d7b08e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x75/0x340 kernel/locking/lockdep.c:6614
2 locks held by getty/4815:
#0: ffff88802aedb0a0 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x24/0x80 drivers/tty/tty_ldisc.c:243
#1: ffffc900015f02f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xfc8/0x1490 drivers/tty/n_tty.c:2201
2 locks held by kworker/u9:2/5078:
#0: ffff888020de9148 ((wq_completion)nbd0-recv){+.+.}-{0:0}, at: process_one_work+0x1296/0x1a60 kernel/workqueue.c:3229
#1: ffffc9000357fd80 ((work_completion)(&args->work)){+.+.}-{0:0}, at: process_one_work+0x906/0x1a60 kernel/workqueue.c:3230
3 locks held by syz-executor.2/8910:
2 locks held by syz-executor.1/8913:
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 29 Comm: khungtaskd Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:114
nmi_cpu_backtrace+0x27b/0x390 lib/nmi_backtrace.c:113
nmi_trigger_cpumask_backtrace+0x29c/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+0xf86/0x1210 kernel/hung_task.c:379
kthread+0x2c1/0x3a0 kernel/kthread.c:388
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:243
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 8913 Comm: syz-executor.1 Not tainted 6.8.0-syzkaller-08951-gfe46a7dd189e #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
RIP: 0010:arch_atomic_read arch/x86/include/asm/atomic.h:23 [inline]
RIP: 0010:raw_atomic_read include/linux/atomic/atomic-arch-fallback.h:457 [inline]
RIP: 0010:rcu_dynticks_curr_cpu_in_eqs include/linux/context_tracking.h:122 [inline]
RIP: 0010:rcu_is_watching+0x60/0xc0 kernel/rcu/tree.c:700
Code: 48 89 fa 48 c1 ea 03 80 3c 02 00 75 5c 48 03 1c ed 20 3b 23 8d 48 b8 00 00 00 00 00 fc ff df 48 89 da 48 c1 ea 03 0f b6 14 02 <48> 89 d8 83 e0 07 83 c0 03 38 d0 7c 04 84 d2 75 24 8b 03 c1 e8 02
RSP: 0018:ffffc90000a08d18 EFLAGS: 00000806
RAX: dffffc0000000000 RBX: ffff8880b9537ee8 RCX: ffffffff816b524b
RDX: 0000000000000000 RSI: ffffffff8b6e8820 RDI: ffffffff8d233b28
RBP: 0000000000000001 R08: 0000000000000000 R09: fffffbfff1f3cdf2
R10: ffffffff8f9e6f97 R11: ffff8880223118c8 R12: 0000000000000001
R13: 0000000000000000 R14: ffff8880b952c9d8 R15: 0000000000000000
FS: 00007f333375b6c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2cb23000 CR3: 000000005d9c2000 CR4: 00000000003506f0
DR0: 0000000000000001 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Call Trace:
trace_lock_acquire include/trace/events/lock.h:24 [inline]
lock_acquire+0x47b/0x540 kernel/locking/lockdep.c:5725
__raw_spin_lock_irq include/linux/spinlock_api_smp.h:119 [inline]
_raw_spin_lock_irq+0x36/0x50 kernel/locking/spinlock.c:170
__run_hrtimer kernel/time/hrtimer.c:1696 [inline]
__hrtimer_run_queues+0x2c0/0xc20 kernel/time/hrtimer.c:1756
hrtimer_interrupt+0x31b/0x800 kernel/time/hrtimer.c:1818
local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1032 [inline]
__sysvec_apic_timer_interrupt+0x10f/0x410 arch/x86/kernel/apic/apic.c:1049
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1043 [inline]
sysvec_apic_timer_interrupt+0x90/0xb0 arch/x86/kernel/apic/apic.c:1043
asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:native_irq_disable arch/x86/include/asm/irqflags.h:37 [inline]
RIP: 0010:arch_local_irq_disable arch/x86/include/asm/irqflags.h:72 [inline]
RIP: 0010:arch_local_irq_save arch/x86/include/asm/irqflags.h:104 [inline]
RIP: 0010:lock_acquire kernel/locking/lockdep.c:5750 [inline]
RIP: 0010:lock_acquire+0x165/0x540 kernel/locking/lockdep.c:5719
Code: 83 e0 07 83 c0 03 38 c8 7c 08 84 c9 0f 85 91 03 00 00 8b 92 d4 0a 00 00 85 d2 0f 85 d6 00 00 00 9c 8f 44 24 08 48 8b 6c 24 08 48 c7 c7 00 ba 0c 8b e8 9e 0b 67 09 48 89 e8 45 89 e0 44 89 ea
RSP: 0018:ffffc90003dbf850 EFLAGS: 00000246
RAX: 0000000000000007 RBX: 1ffff920007b7f0c RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff8b6e8820 RDI: ffff88807eb6e4d4
RBP: 0000000000000246 R08: 0000000000000000 R09: fffffbfff1f3cdf2
R10: ffffffff8f9e6f97 R11: 0000000000000002 R12: 0000000000000001
R13: 0000000000000000 R14: ffff8880b9537f80 R15: 0000000000000000
local_lock_acquire include/linux/local_lock_internal.h:29 [inline]
folio_add_lru+0x2b0/0x7f0 mm/swap.c:515
shmem_alloc_and_add_folio+0x4aa/0x7b0 mm/shmem.c:1728
shmem_get_folio_gfp+0x685/0x13e0 mm/shmem.c:2061
shmem_get_folio mm/shmem.c:2166 [inline]
shmem_write_begin+0x15a/0x370 mm/shmem.c:2750
generic_perform_write+0x272/0x620 mm/filemap.c:3930
shmem_file_write_iter+0x114/0x140 mm/shmem.c:2926
call_write_iter include/linux/fs.h:2108 [inline]
new_sync_write fs/read_write.c:497 [inline]
vfs_write+0x6db/0x1100 fs/read_write.c:590
ksys_write+0x12f/0x260 fs/read_write.c:643
do_syscall_x64 arch/x86/entry/common.c:52 [inline]
do_syscall_64+0xd2/0x260 arch/x86/entry/common.c:83
entry_SYSCALL_64_after_hwframe+0x6d/0x75
RIP: 0033:0x7f3332a7caef
Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 b9 80 02 00 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 0c 81 02 00 48
RSP: 002b:00007f333375ae80 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000001000000 RCX: 00007f3332a7caef
RDX: 0000000001000000 RSI: 00007f3329000000 RDI: 0000000000000003
RBP: 0000000000000000 R08: 0000000000000000 R09: 000000000000485f
R10: 0000000020004942 R11: 0000000000000293 R12: 0000000000000003
R13: 00007f333375af80 R14: 00007f333375af40 R15: 00007f3329000000