INFO: task systemd-udevd:7735 blocked for more than 143 seconds.
Not tainted 5.15.0-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:systemd-udevd state:D stack:26232 pid: 7735 ppid: 2944 flags:0x00000000
Call Trace:
context_switch kernel/sched/core.c:4969 [inline]
__schedule+0xa9a/0x4940 kernel/sched/core.c:6250
schedule+0xd2/0x260 kernel/sched/core.c:6323
io_schedule+0xee/0x170 kernel/sched/core.c:8368
folio_wait_bit_common+0x4f2/0xa60 mm/filemap.c:1356
folio_wait_bit mm/filemap.c:1416 [inline]
folio_wait_locked include/linux/pagemap.h:752 [inline]
folio_wait_locked include/linux/pagemap.h:749 [inline]
wait_on_page_locked include/linux/pagemap.h:764 [inline]
wait_on_page_read mm/filemap.c:3420 [inline]
do_read_cache_page+0x986/0x11a0 mm/filemap.c:3463
read_mapping_page include/linux/pagemap.h:552 [inline]
read_part_sector+0xf6/0x5b0 block/partitions/core.c:728
adfspart_check_ICS+0x9d/0xc90 block/partitions/acorn.c:360
check_partition block/partitions/core.c:149 [inline]
blk_add_partitions block/partitions/core.c:613 [inline]
bdev_disk_changed+0x79f/0x1100 block/partitions/core.c:699
blkdev_get_whole+0x206/0x2d0 block/bdev.c:684
blkdev_get_by_dev.part.0+0x354/0xb50 block/bdev.c:826
blkdev_get_by_dev+0x6b/0x80 block/bdev.c:859
blkdev_open+0x154/0x2e0 block/fops.c:501
do_dentry_open+0x4c8/0x11d0 fs/open.c:822
do_open fs/namei.c:3426 [inline]
path_openat+0x1c9a/0x2740 fs/namei.c:3559
do_filp_open+0x1aa/0x400 fs/namei.c:3586
do_sys_openat2+0x16d/0x4d0 fs/open.c:1200
do_sys_open fs/open.c:1216 [inline]
__do_sys_open fs/open.c:1224 [inline]
__se_sys_open fs/open.c:1220 [inline]
__x64_sys_open+0x119/0x1c0 fs/open.c:1220
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+0x44/0xae
RIP: 0033:0x7fe9f6551840
RSP: 002b:00007ffc61f00428 EFLAGS: 00000246 ORIG_RAX: 0000000000000002
RAX: ffffffffffffffda RBX: 000055a81dd457c0 RCX: 00007fe9f6551840
RDX: 000055a81c598fe3 RSI: 0000000000080000 RDI: 000055a81dd53550
RBP: 0000000000000001 R08: 000055a81c598670 R09: 0000000000000110
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 000055a81dd47710 R15: 00000000ffffffff
INFO: task syz-executor.0:7800 blocked for more than 143 seconds.
Not tainted 5.15.0-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.0 state:D stack:28496 pid: 7800 ppid: 29576 flags:0x00004006
Call Trace:
context_switch kernel/sched/core.c:4969 [inline]
__schedule+0xa9a/0x4940 kernel/sched/core.c:6250
schedule+0xd2/0x260 kernel/sched/core.c:6323
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6382
__mutex_lock_common kernel/locking/mutex.c:680 [inline]
__mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:740
blkdev_put+0x97/0x9e0 block/bdev.c:914
blkdev_close+0x6a/0x80 block/fops.c:515
__fput+0x286/0x9f0 fs/file_table.c:280
task_work_run+0xdd/0x1a0 kernel/task_work.c:164
get_signal+0x1b80/0x21d0 kernel/signal.c:2593
arch_do_signal_or_restart+0x2a9/0x1c40 arch/x86/kernel/signal.c:868
handle_signal_work kernel/entry/common.c:148 [inline]
exit_to_user_mode_loop kernel/entry/common.c:172 [inline]
exit_to_user_mode_prepare+0x17d/0x290 kernel/entry/common.c:207
__syscall_exit_to_user_mode_work kernel/entry/common.c:289 [inline]
syscall_exit_to_user_mode+0x19/0x60 kernel/entry/common.c:300
do_syscall_64+0x42/0xb0 arch/x86/entry/common.c:86
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7fb8a75e3ae9
RSP: 002b:00007fb8a4b59188 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: fffffffffffffe00 RBX: 00007fb8a76f6f60 RCX: 00007fb8a75e3ae9
RDX: 0000000000000000 RSI: 000000000000ab03 RDI: 0000000000000003
RBP: 00007fb8a763df25 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffd8226b5cf R14: 00007fb8a4b59300 R15: 0000000000022000
Showing all locks held in the system:
1 lock held by khungtaskd/27:
#0: ffffffff8b983960 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6446
2 locks held by kworker/u4:5/1023:
#0: ffff8880b9d39a98 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:478
#1: ffff8880b9d279c8 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x3a6/0x490 kernel/sched/psi.c:880
1 lock held by in:imklog/6170:
1 lock held by systemd-udevd/7735:
#0: ffff88801a412918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xb50 block/bdev.c:819
1 lock held by syz-executor.0/7800:
#0: ffff88801a412918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0x97/0x9e0 block/bdev.c:914
1 lock held by systemd-tmpfile/8210:
#0: ffff88814485a1d8 (&type->i_mutex_dir_key#4){++++}-{3:3}, at: inode_lock_shared include/linux/fs.h:793 [inline]
#0: ffff88814485a1d8 (&type->i_mutex_dir_key#4){++++}-{3:3}, at: open_last_lookups fs/namei.c:3349 [inline]
#0: ffff88814485a1d8 (&type->i_mutex_dir_key#4){++++}-{3:3}, at: path_openat+0x154f/0x2740 fs/namei.c:3556
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.15.0-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:105
nmi_trigger_cpumask_backtrace+0x1ae/0x220 lib/nmi_backtrace.c:62
trigger_all_cpu_backtrace include/linux/nmi.h:146 [inline]
check_hung_uninterruptible_tasks kernel/hung_task.c:210 [inline]
watchdog+0xc1d/0xf50 kernel/hung_task.c:295
kthread+0x405/0x4f0 kernel/kthread.c:327
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 6171 Comm: rs:main Q:Reg Not tainted 5.15.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__kasan_check_read+0x4/0x10 mm/kasan/shadow.c:31
Code: 38 07 48 85 db 0f 85 c5 59 39 07 48 83 c4 60 5b 5d 41 5c 41 5d c3 c3 e9 c5 5a 39 07 cc cc cc cc cc cc cc cc cc cc 48 8b 0c 24 <89> f6 31 d2 e9 03 f9 ff ff 0f 1f 00 48 8b 0c 24 89 f6 ba 01 00 00
RSP: 0018:ffffc9000d11f860 EFLAGS: 00000293
RAX: 0000000000000000 RBX: 0000000000001000 RCX: ffffffff82100f62
RDX: ffff88801f7a5700 RSI: 0000000000000008 RDI: ffffea0000259800
RBP: ffffea0000259800 R08: ffffffffffffffff R09: 0000000000000000
R10: ffffffff82100f46 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: 00fff00000002001 R15: 0000000000001000
FS: 00007f0c6244e700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fc6b8d52010 CR3: 000000006f9ba000 CR4: 0000000000350ee0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
instrument_atomic_read include/linux/instrumented.h:71 [inline]
test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline]
PageHead include/linux/page-flags.h:687 [inline]
compound_order include/linux/mm.h:943 [inline]
page_size include/linux/mm.h:1002 [inline]
zero_user_segments+0xb2/0x560 include/linux/highmem.h:245
ext4_block_write_begin+0xba6/0x1140 fs/ext4/inode.c:1089
ext4_da_write_begin+0x3eb/0xad0 fs/ext4/inode.c:2969
generic_perform_write+0x205/0x510 mm/filemap.c:3746
ext4_buffered_write_iter+0x1ac/0x3b0 fs/ext4/file.c:269
ext4_file_write_iter+0x423/0x14e0 fs/ext4/file.c:681
call_write_iter include/linux/fs.h:2161 [inline]
new_sync_write+0x429/0x660 fs/read_write.c:503
vfs_write+0x7cd/0xae0 fs/read_write.c:590
ksys_write+0x12d/0x250 fs/read_write.c:643
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+0x44/0xae
RIP: 0033:0x7f0c64e921cd
Code: c2 20 00 00 75 10 b8 01 00 00 00 0f 05 48 3d 01 f0 ff ff 73 31 c3 48 83 ec 08 e8 ae fc ff ff 48 89 04 24 b8 01 00 00 00 0f 05 <48> 8b 3c 24 48 89 c2 e8 f7 fc ff ff 48 89 d0 48 83 c4 08 48 3d 01
RSP: 002b:00007f0c6244d590 EFLAGS: 00000293 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f0c58027b10 RCX: 00007f0c64e921cd
RDX: 0000000000000547 RSI: 00007f0c58027b10 RDI: 000000000000000a
RBP: 0000000000000000 R08: 0000000000000000 R09: 00007f0c63feb8b7
R10: 0000000000000000 R11: 0000000000000293 R12: 00007f0c58027890
R13: 00007f0c6244d5b0 R14: 0000557a19e867c0 R15: 0000000000000547
----------------
Code disassembly (best guess):
0: 38 07 cmp %al,(%rdi)
2: 48 85 db test %rbx,%rbx
5: 0f 85 c5 59 39 07 jne 0x73959d0
b: 48 83 c4 60 add $0x60,%rsp
f: 5b pop %rbx
10: 5d pop %rbp
11: 41 5c pop %r12
13: 41 5d pop %r13
15: c3 retq
16: c3 retq
17: e9 c5 5a 39 07 jmpq 0x7395ae1
1c: cc int3
1d: cc int3
1e: cc int3
1f: cc int3
20: cc int3
21: cc int3
22: cc int3
23: cc int3
24: cc int3
25: cc int3
26: 48 8b 0c 24 mov (%rsp),%rcx
* 2a: 89 f6 mov %esi,%esi <-- trapping instruction
2c: 31 d2 xor %edx,%edx
2e: e9 03 f9 ff ff jmpq 0xfffff936
33: 0f 1f 00 nopl (%rax)
36: 48 8b 0c 24 mov (%rsp),%rcx
3a: 89 f6 mov %esi,%esi
3c: ba .byte 0xba
3d: 01 00 add %eax,(%rax)