INFO: task udevd:11579 blocked for more than 143 seconds.
Not tainted 5.18.0-syzkaller-04943-g7e062cda7d90 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:udevd state:D stack:24984 pid:11579 ppid: 2970 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:5076 [inline]
__schedule+0xa00/0x4b30 kernel/sched/core.c:6391
schedule+0xd2/0x1f0 kernel/sched/core.c:6463
io_schedule+0xba/0x130 kernel/sched/core.c:8578
folio_wait_bit_common+0x4f2/0xa90 mm/filemap.c:1324
folio_wait_bit mm/filemap.c:1473 [inline]
folio_wait_locked include/linux/pagemap.h:1028 [inline]
folio_wait_locked include/linux/pagemap.h:1025 [inline]
do_read_cache_folio+0x4ff/0x760 mm/filemap.c:3515
do_read_cache_page mm/filemap.c:3587 [inline]
read_cache_page+0x59/0x2a0 mm/filemap.c:3596
read_mapping_page include/linux/pagemap.h:759 [inline]
read_part_sector+0xf6/0x920 block/partitions/core.c:715
adfspart_check_ICS+0x9a/0x690 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:481
do_dentry_open+0x4a1/0x11e0 fs/open.c:824
do_open fs/namei.c:3477 [inline]
path_openat+0x1c71/0x2910 fs/namei.c:3610
do_filp_open+0x1aa/0x400 fs/namei.c:3637
do_sys_openat2+0x16d/0x4c0 fs/open.c:1213
do_sys_open fs/open.c:1229 [inline]
__do_sys_openat fs/open.c:1245 [inline]
__se_sys_openat fs/open.c:1240 [inline]
__x64_sys_openat+0x13f/0x1f0 fs/open.c:1240
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:0x7f28f9f25697
RSP: 002b:00007ffd82696650 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 000055720a84f190 RCX: 00007f28f9f25697
RDX: 00000000000a0800 RSI: 000055720a8443f0 RDI: 00000000ffffff9c
RBP: 000055720a8443f0 R08: 0000000000000001 R09: 00007ffd82704080
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000000a0800
R13: 000055720a843720 R14: 0000000000000001 R15: 000055720a829910
R13: 000055720a843720 R14: 0000000000000001 R15: 000055720a829910
INFO: task syz-executor.5:25179 blocked for more than 143 seconds.
Not tainted 5.18.0-syzkaller-04943-g7e062cda7d90 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.5 state:D stack:28032 pid:25179 ppid: 3618 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:5076 [inline]
__schedule+0xa00/0x4b30 kernel/sched/core.c:6391
schedule+0xd2/0x1f0 kernel/sched/core.c:6463
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6522
__mutex_lock_common kernel/locking/mutex.c:679 [inline]
__mutex_lock+0xa70/0x1350 kernel/locking/mutex.c:747
blkdev_put+0xbc/0x770 block/bdev.c:912
blkdev_close+0x64/0x80 block/fops.c:495
__fput+0x277/0x9d0 fs/file_table.c:317
task_work_run+0xdd/0x1a0 kernel/task_work.c:177
resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
exit_to_user_mode_loop kernel/entry/common.c:169 [inline]
exit_to_user_mode_prepare+0x23c/0x250 kernel/entry/common.c:201
__syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline]
syscall_exit_to_user_mode+0x19/0x50 kernel/entry/common.c:294
do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x46/0xb0
RIP: 0033:0x7fb84383bd4b
RSP: 002b:00007ffc5bf25c60 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007fb84383bd4b
RDX: 0000001b2d820000 RSI: 0000001b2d822fc8 RDI: 0000000000000003
RBP: 00007fb84399d960 R08: 0000000000000000 R09: 00000000cdc50577
R10: 00007ffc5bf9b090 R11: 0000000000000293 R12: 000000000011052d
R13: 00007ffc5bf25d60 R14: 00007ffc5bf25d80 R15: 0000000000000032
Showing all locks held in the system:
2 locks held by pr/ttyS0/16:
1 lock held by khungtaskd/29:
#0: ffffffff8bd855e0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6460
2 locks held by getty/3286:
#0: ffff88814c18c098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244
#1: ffffc90002cd62e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcea/0x1230 drivers/tty/n_tty.c:2075
1 lock held by udevd/11579:
#0: ffff88801bd30118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xb90 block/bdev.c:814
1 lock held by syz-executor.5/25179:
#0: ffff88801bd30118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xbc/0x770 block/bdev.c:912
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 29 Comm: khungtaskd Not tainted 5.18.0-syzkaller-04943-g7e062cda7d90 #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 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 16 Comm: pr/ttyS0 Not tainted 5.18.0-syzkaller-04943-g7e062cda7d90 #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: 34 1c 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 40 7a 68 fd eb a6 e8 69 7a 68 fd eb e3
RSP: 0018:ffffc90000157ac0 EFLAGS: 00000002
RAX: dffffc0000000000 RBX: 00000000000003fd RCX: 0000000000000000
RDX: 00000000000003fd RSI: ffffffff845d7fbc RDI: ffffffff908ba180
RBP: ffffffff908ba140 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff845d7fad R11: 000000000000001f R12: 0000000000000000
R13: fffffbfff211747b R14: fffffbfff2117432 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f675efe46c8 CR3: 000000002376b000 CR4: 0000000000350ef0
Call Trace:
serial_in drivers/tty/serial/8250/8250.h:115 [inline]
wait_for_xmitr+0x9a/0x210 drivers/tty/serial/8250/8250_port.c:2089
serial8250_console_putchar+0x1d/0x60 drivers/tty/serial/8250/8250_port.c:3310
uart_console_write+0x59/0x100 drivers/tty/serial/serial_core.c:1935
serial8250_console_write+0xa57/0xc30 drivers/tty/serial/8250/8250_port.c:3382
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: 34 1c xor $0x1c,%al
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 40 7a 68 fd callq 0xfd687a77
37: eb a6 jmp 0xffffffdf
39: e8 69 7a 68 fd callq 0xfd687aa7
3e: eb e3 jmp 0x23