INFO: task udevd:17256 blocked for more than 143 seconds.
Not tainted 5.18.0-rc2-syzkaller-00219-g028192fea1de #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:udevd state:D stack:22848 pid:17256 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:0x7f0915525697
RSP: 002b:00007fff1d8da550 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 0000561db87010c0 RCX: 00007f0915525697
RDX: 00000000000a0800 RSI: 0000561db8707530 RDI: 00000000ffffff9c
RBP: 0000561db8707530 R08: 0000000000000001 R09: 0000000000000010
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000000a0800
R13: 0000561db86f5650 R14: 0000000000000001 R15: 0000561db86db910
INFO: task syz-executor.0:384 blocked for more than 143 seconds.
Not tainted 5.18.0-rc2-syzkaller-00219-g028192fea1de #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.0 state:D stack:27032 pid: 384 ppid: 3603 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:0x7f35e223bd2b
RSP: 002b:00007fff5eee72f0 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000004 RCX: 00007f35e223bd2b
RDX: 0000001b2c920000 RSI: 0000001b2c921ba0 RDI: 0000000000000003
RBP: 00007f35e239d960 R08: 0000000000000000 R09: 00000000587912ac
R10: 00007fff5ef610b8 R11: 0000000000000293 R12: 00000000001040d7
R13: 00007fff5eee73f0 R14: 00007f35e239c030 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/3276:
#0: ffff88814c3d8098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:244
#1: ffffc90002e632e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6ad/0x1c90 drivers/tty/n_tty.c:2075
1 lock held by udevd/17256:
#0: ffff88801c47d918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0xfd/0xa30 block/bdev.c:807
1 lock held by syz-executor.0/384:
#0: ffff88801c47d918 (&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-00219-g028192fea1de #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: 8 Comm: kworker/u4:0 Not tainted 5.18.0-rc2-syzkaller-00219-g028192fea1de #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: phy6 ieee80211_iface_work
RIP: 0010:lookup_chain_cache kernel/locking/lockdep.c:3697 [inline]
RIP: 0010:lookup_chain_cache_add kernel/locking/lockdep.c:3716 [inline]
RIP: 0010:validate_chain+0x1d0/0x65c0 kernel/locking/lockdep.c:3771
Code: f8 48 85 c0 48 0f 44 d8 48 85 db 74 47 4c 8d 7b 18 4c 89 f8 48 c1 e8 03 42 80 3c 20 00 74 08 4c 89 ff e8 43 0c 6f 00 49 8b 07 <4c> 39 f0 74 1c 48 83 c3 08 48 89 d8 48 c1 e8 03 42 80 3c 20 00 74
RSP: 0018:ffffc900000d76c0 EFLAGS: 00000046
RAX: 9a81274381573ce6 RBX: ffffffff8f99e3a0 RCX: ffffffff8167a5f6
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8f8f20b0
RBP: ffffc900000d79f8 R08: dffffc0000000000 R09: fffffbfff1f1e417
R10: fffffbfff1f1e417 R11: 1ffffffff1f1e416 R12: dffffc0000000000
R13: ffff888011245700 R14: 9a81274381573ce6 R15: ffffffff8f99e3b8
FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c0006d300c CR3: 000000000c68e000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__lock_acquire+0x129a/0x1f80 kernel/locking/lockdep.c:5029
lock_acquire+0x1a7/0x400 kernel/locking/lockdep.c:5641
process_one_work+0x7f1/0xd10 kernel/workqueue.c:2265
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: f8 clc
1: 48 85 c0 test %rax,%rax
4: 48 0f 44 d8 cmove %rax,%rbx
8: 48 85 db test %rbx,%rbx
b: 74 47 je 0x54
d: 4c 8d 7b 18 lea 0x18(%rbx),%r15
11: 4c 89 f8 mov %r15,%rax
14: 48 c1 e8 03 shr $0x3,%rax
18: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1)
1d: 74 08 je 0x27
1f: 4c 89 ff mov %r15,%rdi
22: e8 43 0c 6f 00 callq 0x6f0c6a
27: 49 8b 07 mov (%r15),%rax
* 2a: 4c 39 f0 cmp %r14,%rax <-- trapping instruction
2d: 74 1c je 0x4b
2f: 48 83 c3 08 add $0x8,%rbx
33: 48 89 d8 mov %rbx,%rax
36: 48 c1 e8 03 shr $0x3,%rax
3a: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1)
3f: 74 .byte 0x74