INFO: task udevd:8506 blocked for more than 143 seconds.
Not tainted 5.18.0-rc2-syzkaller-00050-ga19944809fe9 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:udevd state:D stack:23200 pid: 8506 ppid: 2963 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:5073 [inline]
__schedule+0x939/0xea0 kernel/sched/core.c:6388
schedule+0xeb/0x1b0 kernel/sched/core.c:6460
io_schedule+0x83/0x100 kernel/sched/core.c:8563
folio_wait_bit_common+0x97a/0x1490 mm/filemap.c:1330
folio_wait_bit mm/filemap.c:1479 [inline]
folio_wait_locked include/linux/pagemap.h:976 [inline]
do_read_cache_folio+0x77c/0xd50 mm/filemap.c:3522
do_read_cache_page mm/filemap.c:3594 [inline]
read_cache_page+0x57/0x250 mm/filemap.c:3603
read_mapping_page include/linux/pagemap.h:759 [inline]
read_part_sector+0xd5/0x450 block/partitions/core.c:723
adfspart_check_ICS+0xd4/0x750 block/partitions/acorn.c:360
check_partition block/partitions/core.c:147 [inline]
blk_add_partitions block/partitions/core.c:608 [inline]
bdev_disk_changed+0x75d/0x13e0 block/partitions/core.c:694
blkdev_get_whole+0x31e/0x3c0 block/bdev.c:679
blkdev_get_by_dev+0x2fb/0xa30 block/bdev.c:816
blkdev_open+0x128/0x2e0 block/fops.c:498
do_dentry_open+0x77f/0xfd0 fs/open.c:824
do_open fs/namei.c:3476 [inline]
path_openat+0x26c0/0x2ec0 fs/namei.c:3609
do_filp_open+0x277/0x4f0 fs/namei.c:3636
do_sys_openat2+0x13b/0x500 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+0x243/0x290 fs/open.c:1240
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7efeda925697
RSP: 002b:00007ffe2c455540 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 000055c712b570c0 RCX: 00007efeda925697
RDX: 00000000000a0800 RSI: 000055c712b58620 RDI: 00000000ffffff9c
RBP: 000055c712b58620 R08: 0000000000000001 R09: 0000000000000010
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000000a0800
R13: 000055c712b583f0 R14: 0000000000000001 R15: 000055c712b31910
INFO: task syz-executor.5:17732 blocked for more than 143 seconds.
Not tainted 5.18.0-rc2-syzkaller-00050-ga19944809fe9 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.5 state:D stack:27032 pid:17732 ppid: 3622 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:5073 [inline]
__schedule+0x939/0xea0 kernel/sched/core.c:6388
schedule+0xeb/0x1b0 kernel/sched/core.c:6460
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6519
__mutex_lock_common+0xecf/0x26e0 kernel/locking/mutex.c:673
__mutex_lock kernel/locking/mutex.c:733 [inline]
mutex_lock_nested+0x17/0x20 kernel/locking/mutex.c:785
blkdev_put+0xf8/0x790 block/bdev.c:905
blkdev_close+0x55/0x80 block/fops.c:512
__fput+0x3b9/0x820 fs/file_table.c:317
task_work_run+0x146/0x1c0 kernel/task_work.c:164
resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
exit_to_user_mode_loop+0x134/0x160 kernel/entry/common.c:169
exit_to_user_mode_prepare+0xad/0x110 kernel/entry/common.c:201
__syscall_exit_to_user_mode_work kernel/entry/common.c:283 [inline]
syscall_exit_to_user_mode+0x2e/0x70 kernel/entry/common.c:294
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f030083bd2b
RSP: 002b:00007ffed79ec470 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007f030083bd2b
RDX: 0000001b2dc20000 RSI: 0000001b2dc2144c RDI: 0000000000000003
RBP: 00007f030099d960 R08: 0000000000000000 R09: 00000000f7c3dcec
R10: 00007ffed79ee0b8 R11: 0000000000000293 R12: 00000000000791ca
R13: 00007ffed79ec570 R14: 00007ffed79ec590 R15: 0000000000000032
Showing all locks held in the system:
1 lock held by khungtaskd/28:
#0: ffffffff8c91ae60 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
2 locks held by getty/3273:
#0: ffff88807f100098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244
#1: ffffc90002e732e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ad/0x1c90 drivers/tty/n_tty.c:2075
2 locks held by kworker/u4:13/4892:
1 lock held by udevd/8506:
#0: ffff88801c72b118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0xfd/0xa30 block/bdev.c:807
1 lock held by syz-executor.5/17732:
#0: ffff88801c72b118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xf8/0x790 block/bdev.c:905
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 28 Comm: khungtaskd Not tainted 5.18.0-rc2-syzkaller-00050-ga19944809fe9 #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+0x1e3/0x2cb lib/dump_stack.c:106
nmi_cpu_backtrace+0x473/0x4a0 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x168/0x280 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:212 [inline]
watchdog+0xcf9/0xd40 kernel/hung_task.c:369
kthread+0x266/0x300 kernel/kthread.c:376
ret_from_fork+0x1f/0x30
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 4892 Comm: kworker/u4:13 Not tainted 5.18.0-rc2-syzkaller-00050-ga19944809fe9 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events_unbound toggle_allocation_gate
RIP: 0010:check_kcov_mode kernel/kcov.c:177 [inline]
RIP: 0010:write_comp_data kernel/kcov.c:221 [inline]
RIP: 0010:__sanitizer_cov_trace_const_cmp8+0x33/0xa0 kernel/kcov.c:294
Code: 80 6f 02 00 65 8b 0d 14 a4 7c 7e f7 c1 00 01 ff 00 74 11 f7 c1 00 01 00 00 74 76 83 ba a4 15 00 00 00 74 6d 8b 8a 80 15 00 00 <83> f9 03 75 62 48 8b 8a 88 15 00 00 44 8b 8a 84 15 00 00 49 c1 e1
RSP: 0018:ffffc90003bdf678 EFLAGS: 00000046
RAX: ffffffff813c0f54 RBX: 0000000000000000 RCX: 0000000000000000
RDX: ffff88802d1e1d00 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90003bdf7b0 R08: ffffffff813c0f67 R09: fffffbfff1e97994
R10: fffffbfff1e97994 R11: 1ffffffff1e97993 R12: ffff888011320000
R13: 00000001400fb000 R14: 00000001400fb000 R15: 000000000000002e
FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fdafc559000 CR3: 00000001400fb000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
phys_addr_valid arch/x86/mm/physaddr.h:7 [inline]
__phys_addr+0xa7/0x160 arch/x86/mm/physaddr.c:28
build_cr3 arch/x86/mm/tlb.c:163 [inline]
switch_mm_irqs_off+0x8cb/0x910 arch/x86/mm/tlb.c:523
unuse_temporary_mm arch/x86/kernel/alternative.c:984 [inline]
__text_poke+0x723/0x9a0 arch/x86/kernel/alternative.c:1080
text_poke arch/x86/kernel/alternative.c:1121 [inline]
text_poke_bp_batch+0x6a5/0x960 arch/x86/kernel/alternative.c:1436
text_poke_flush arch/x86/kernel/alternative.c:1542 [inline]
text_poke_finish+0x16/0x30 arch/x86/kernel/alternative.c:1549
arch_jump_label_transform_apply+0x13/0x20 arch/x86/kernel/jump_label.c:146
static_key_disable_cpuslocked+0xc8/0x1b0 kernel/jump_label.c:207
static_key_disable+0x16/0x20 kernel/jump_label.c:215
toggle_allocation_gate+0x3d8/0x470 mm/kfence/core.c:799
process_one_work+0x81c/0xd10 kernel/workqueue.c:2289
worker_thread+0xb14/0x1330 kernel/workqueue.c:2436
kthread+0x266/0x300 kernel/kthread.c:376
ret_from_fork+0x1f/0x30
----------------
Code disassembly (best guess):
0: 80 6f 02 00 subb $0x0,0x2(%rdi)
4: 65 8b 0d 14 a4 7c 7e mov %gs:0x7e7ca414(%rip),%ecx # 0x7e7ca41f
b: f7 c1 00 01 ff 00 test $0xff0100,%ecx
11: 74 11 je 0x24
13: f7 c1 00 01 00 00 test $0x100,%ecx
19: 74 76 je 0x91
1b: 83 ba a4 15 00 00 00 cmpl $0x0,0x15a4(%rdx)
22: 74 6d je 0x91
24: 8b 8a 80 15 00 00 mov 0x1580(%rdx),%ecx
* 2a: 83 f9 03 cmp $0x3,%ecx <-- trapping instruction
2d: 75 62 jne 0x91
2f: 48 8b 8a 88 15 00 00 mov 0x1588(%rdx),%rcx
36: 44 8b 8a 84 15 00 00 mov 0x1584(%rdx),%r9d
3d: 49 rex.WB
3e: c1 .byte 0xc1
3f: e1 .byte 0xe1