INFO: task udevd:10214 blocked for more than 143 seconds.
Not tainted 5.19.0-rc5-syzkaller-00257-g5867f3b88bb5 #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:udevd state:D stack:24840 pid:10214 ppid: 2976 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:5146 [inline]
__schedule+0xa00/0x4b50 kernel/sched/core.c:6458
schedule+0xd2/0x1f0 kernel/sched/core.c:6530
io_schedule+0xba/0x130 kernel/sched/core.c:8645
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:3530
do_read_cache_page mm/filemap.c:3602 [inline]
read_cache_page+0x59/0x2a0 mm/filemap.c:3611
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/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:0x7f55cb525697
RSP: 002b:00007fffe77ff180 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 0000562d22be4dc0 RCX: 00007f55cb525697
RDX: 00000000000a0800 RSI: 0000562d22bbf850 RDI: 00000000ffffff9c
RBP: 0000562d22bbf850 R08: 0000000000000001 R09: 00007fffe79ab080
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000000a0800
R13: 0000562d22bc7b70 R14: 0000000000000001 R15: 0000562d22bbe910
Showing all locks held in the system:
1 lock held by khungtaskd/28:
#0: ffffffff8bd866a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6491
2 locks held by getty/3287:
#0: ffff88814a6df098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:244
#1: ffffc90002d232e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xe50/0x13c0 drivers/tty/n_tty.c:2124
1 lock held by udevd/10214:
#0: ffff88801d6e7118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xb90 block/bdev.c:814
3 locks held by kworker/u4:14/12366:
#0: ffff8880b9a39ed8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0x2b/0x120 kernel/sched/core.c:544
#1: ffffc9000594fda8 ((work_completion)(&(&bat_priv->nc.work)->work)){+.+.}-{0:0}, at: process_one_work+0x8ae/0x1610 kernel/workqueue.c:2264
#2: ffff8880b9a28398 (&base->lock){-.-.}-{2:2}, at: lock_timer_base+0x5a/0x1f0 kernel/time/timer.c:999
1 lock held by syz-executor.0/25993:
#0: ffff88801d6e7118 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0xbc/0x770 block/bdev.c:912
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 28 Comm: khungtaskd Not tainted 5.19.0-rc5-syzkaller-00257-g5867f3b88bb5 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022
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:212 [inline]
watchdog+0xc1d/0xf50 kernel/hung_task.c:369
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: 15 Comm: ksoftirqd/0 Not tainted 5.19.0-rc5-syzkaller-00257-g5867f3b88bb5 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/29/2022
RIP: 0010:lock_is_held_type+0xeb/0x140 kernel/locking/lockdep.c:5710
Code: 45 31 ed 44 39 f0 41 0f 94 c5 48 c7 c7 60 7d cc 89 e8 69 0d 00 00 b8 ff ff ff ff 65 0f c1 05 24 22 8b 76 83 f8 01 75 29 9c 58 c4 02 75 3d 48 f7 04 24 00 02 00 00 74 01 fb 48 83 c4 08 44 89
RSP: 0018:ffffc90000147c68 EFLAGS: 00000046
RAX: 0000000000000046 RBX: 0000000000000001 RCX: 0000000000000001
RDX: 0000000000000000 RSI: 0000000000000102 RDI: 0000000000000000
RBP: ffffffff8bd865e0 R08: 0000000000000000 R09: ffffffff8dbba1d7
R10: fffffbfff1b7743a R11: 0000000000000001 R12: ffff888011a83b00
R13: 0000000000000000 R14: 00000000ffffffff R15: ffff888011a84560
FS: 0000000000000000(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f86356de990 CR3: 000000000ba8e000 CR4: 0000000000350ef0
Call Trace:
lock_is_held include/linux/lockdep.h:279 [inline]
rcu_read_lock_sched_held+0x3a/0x70 kernel/rcu/update.c:125
trace_lock_acquire include/trace/events/lock.h:24 [inline]
lock_acquire+0x480/0x570 kernel/locking/lockdep.c:5636
seqcount_lockdep_reader_access include/linux/seqlock.h:102 [inline]
timekeeping_get_delta kernel/time/timekeeping.c:253 [inline]
timekeeping_get_ns kernel/time/timekeeping.c:387 [inline]
ktime_get_update_offsets_now+0x14d/0x5c0 kernel/time/timekeeping.c:2317
hrtimer_update_base kernel/time/hrtimer.c:631 [inline]
hrtimer_run_softirq+0x87/0x360 kernel/time/hrtimer.c:1765
__do_softirq+0x29b/0x9c2 kernel/softirq.c:571
run_ksoftirqd kernel/softirq.c:934 [inline]
run_ksoftirqd+0x2d/0x60 kernel/softirq.c:926
smpboot_thread_fn+0x645/0x9c0 kernel/smpboot.c:164
kthread+0x2e9/0x3a0 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:302
----------------
Code disassembly (best guess):
0: 45 31 ed xor %r13d,%r13d
3: 44 39 f0 cmp %r14d,%eax
6: 41 0f 94 c5 sete %r13b
a: 48 c7 c7 60 7d cc 89 mov $0xffffffff89cc7d60,%rdi
11: e8 69 0d 00 00 callq 0xd7f
16: b8 ff ff ff ff mov $0xffffffff,%eax
1b: 65 0f c1 05 24 22 8b xadd %eax,%gs:0x768b2224(%rip) # 0x768b2247
22: 76
23: 83 f8 01 cmp $0x1,%eax
26: 75 29 jne 0x51
28: 9c pushfq
29: 58 pop %rax
* 2a: f6 c4 02 test $0x2,%ah <-- trapping instruction
2d: 75 3d jne 0x6c
2f: 48 f7 04 24 00 02 00 testq $0x200,(%rsp)
36: 00
37: 74 01 je 0x3a
39: fb sti
3a: 48 83 c4 08 add $0x8,%rsp
3e: 44 rex.R
3f: 89 .byte 0x89