INFO: task syz-executor417:3644 blocked for more than 143 seconds.
Not tainted 5.19.0-rc2-next-20220615-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor417 state:D stack:27632 pid: 3644 ppid: 3632 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5148 [inline]
__schedule+0xa06/0x4c00 kernel/sched/core.c:6460
schedule+0xd2/0x1f0 kernel/sched/core.c:6532
blk_mq_freeze_queue_wait+0x112/0x160 block/blk-mq.c:180
nbd_add_socket+0x166/0x810 drivers/block/nbd.c:1122
__nbd_ioctl drivers/block/nbd.c:1463 [inline]
nbd_ioctl+0x4af/0xbd0 drivers/block/nbd.c:1520
blkdev_ioctl+0x36e/0x800 block/ioctl.c:614
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:870 [inline]
__se_sys_ioctl fs/ioctl.c:856 [inline]
__x64_sys_ioctl+0x193/0x200 fs/ioctl.c:856
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x46/0xb0
RIP: 0033:0x7f8c1bd65399
RSP: 002b:00007ffd5134c138 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00000000000746d4 RCX: 00007f8c1bd65399
RDX: 0000000000000004 RSI: 000000000000ab00 RDI: 0000000000000003
RBP: 0000000000000000 R08: 00007ffd5134c2d8 R09: 00007ffd5134c2d8
R10: 00007ffd5134c2d8 R11: 0000000000000246 R12: 00007ffd5134c14c
R13: 431bde82d7b634db R14: 0000000000000000 R15: 0000000000000000
INFO: task udevd:3645 blocked for more than 143 seconds.
Not tainted 5.19.0-rc2-next-20220615-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:udevd state:D stack:27656 pid: 3645 ppid: 2974 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5148 [inline]
__schedule+0xa06/0x4c00 kernel/sched/core.c:6460
schedule+0xd2/0x1f0 kernel/sched/core.c:6532
io_schedule+0xba/0x130 kernel/sched/core.c:8647
folio_wait_bit_common+0x4f2/0xa90 mm/filemap.c:1304
folio_put_wait_locked mm/filemap.c:1478 [inline]
do_read_cache_folio+0x34a/0x5b0 mm/filemap.c:3501
read_mapping_folio include/linux/pagemap.h:764 [inline]
read_part_sector+0xf6/0x440 block/partitions/core.c:715
adfspart_check_ICS+0x9a/0x890 block/partitions/acorn.c:360
check_partition block/partitions/core.c:147 [inline]
blk_add_partitions block/partitions/core.c:600 [inline]
bdev_disk_changed block/partitions/core.c:686 [inline]
bdev_disk_changed+0x629/0xf60 block/partitions/core.c:653
blkdev_get_whole+0x18a/0x2d0 block/bdev.c:686
blkdev_get_by_dev.part.0+0x5ec/0xb90 block/bdev.c:823
blkdev_get_by_dev+0x6b/0x80 block/bdev.c:857
blkdev_open+0x13c/0x2c0 block/fops.c:485
do_dentry_open+0x4a1/0x11f0 fs/open.c:848
do_open fs/namei.c:3520 [inline]
path_openat+0x1c71/0x2910 fs/namei.c:3653
do_filp_open+0x1aa/0x400 fs/namei.c:3680
do_sys_openat2+0x16d/0x4c0 fs/open.c:1278
do_sys_open fs/open.c:1294 [inline]
__do_sys_openat fs/open.c:1310 [inline]
__se_sys_openat fs/open.c:1305 [inline]
__x64_sys_openat+0x13f/0x1f0 fs/open.c:1305
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x46/0xb0
RIP: 0033:0x7fc8c8f25697
RSP: 002b:00007ffcdc6a35a0 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 000056255a3474d0 RCX: 00007fc8c8f25697
RDX: 00000000000a0800 RSI: 000056255a32b190 RDI: 00000000ffffff9c
RBP: 000056255a32b190 R08: 0000000000000001 R09: 00007ffcdc7a9080
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000000a0800
R13: 000056255a335790 R14: 00007ffcdc6a364c R15: 000056255a31b910
Showing all locks held in the system:
1 lock held by rcu_tasks_kthre/12:
#0: ffffffff8bd867f0 (rcu_tasks.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507
1 lock held by rcu_tasks_trace/13:
#0: ffffffff8bd864f0 (rcu_tasks_trace.tasks_gp_mutex){+.+.}-{3:3}, at: rcu_tasks_one_gp+0x26/0xc70 kernel/rcu/tasks.h:507
1 lock held by khungtaskd/29:
1 lock held by khungtaskd/29:
#0: ffffffff8bd87340 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6491
2 locks held by getty/3289:
#0: ffff88801f792098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244
#1: ffffc90002d162f0 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xe50/0x13c0 drivers/tty/n_tty.c:2177
1 lock held by syz-executor417/3644:
#0: ffff888147269198 (&nbd->config_lock){+.+.}-{3:3}, at: nbd_ioctl+0x151/0xbd0 drivers/block/nbd.c:1513
1 lock held by udevd/3645:
#0: ffff88801d613118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xb90 block/bdev.c:814
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 29 Comm: khungtaskd Not tainted 5.19.0-rc2-next-20220615-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106
nmi_cpu_backtrace.cold+0x47/0x144 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x1e6/0x230 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:220 [inline]
watchdog+0xc22/0xf90 kernel/hung_task.c:378
kthread+0x2e9/0x3a0 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:302
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 16 Comm: pr/ttyS0 Not tainted 5.19.0-rc2-next-20220615-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:io_serial_in+0x83/0xa0 drivers/tty/serial/8250/8250_port.c:461
Code: df 16 fd 48 8d 7d 40 44 89 e1 48 b8 00 00 00 00 00 fc ff df 48 89 fa d3 e3 48 c1 ea 03 80 3c 02 00 75 16 66 03 5d 40 89 da ec <5b> 0f b6 c0 5d 41 5c c3 e8 60 b7 63 fd eb a6 e8 89 b7 63 fd eb e3
RSP: 0018:ffffc90000157b08 EFLAGS: 00000002
RAX: dffffc0000000000 RBX: 00000000000003fd RCX: 0000000000000000
RDX: 00000000000003fd RSI: ffffffff8463e43c RDI: ffffffff9123a720
RBP: ffffffff9123a6e0 R08: 0000000000000001 R09: 000000000000001f
R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000000
R13: 0000000000000020 R14: fffffbfff2247531 R15: fffffbfff22474e6
FS: 0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055ea48896600 CR3: 000000000ba8e000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
serial_in drivers/tty/serial/8250/8250.h:118 [inline]
serial_lsr_in drivers/tty/serial/8250/8250.h:140 [inline]
wait_for_lsr+0xab/0x120 drivers/tty/serial/8250/8250_port.c:2075
serial8250_console_fifo_write drivers/tty/serial/8250/8250_port.c:3342 [inline]
serial8250_console_write+0xc87/0xfe0 drivers/tty/serial/8250/8250_port.c:3424
call_console_driver kernel/printk/printk.c:2075 [inline]
__console_emit_next_record+0x896/0xa60 kernel/printk/printk.c:2916
console_emit_next_record kernel/printk/printk.c:3721 [inline]
printk_kthread_func.cold+0x702/0x73d kernel/printk/printk.c:3837
kthread+0x2e9/0x3a0 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:302
----------------
Code disassembly (best guess):
0: df 16 fists (%rsi)
2: fd std
3: 48 8d 7d 40 lea 0x40(%rbp),%rdi
7: 44 89 e1 mov %r12d,%ecx
a: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
11: fc ff df
14: 48 89 fa mov %rdi,%rdx
17: d3 e3 shl %cl,%ebx
19: 48 c1 ea 03 shr $0x3,%rdx
1d: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1)
21: 75 16 jne 0x39
23: 66 03 5d 40 add 0x40(%rbp),%bx
27: 89 da mov %ebx,%edx
29: ec in (%dx),%al
* 2a: 5b pop %rbx <-- trapping instruction
2b: 0f b6 c0 movzbl %al,%eax
2e: 5d pop %rbp
2f: 41 5c pop %r12
31: c3 retq
32: e8 60 b7 63 fd callq 0xfd63b797
37: eb a6 jmp 0xffffffdf
39: e8 89 b7 63 fd callq 0xfd63b7c7
3e: eb e3 jmp 0x23