INFO: task udevd:4133 blocked for more than 143 seconds.
Not tainted 5.16.0-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:udevd state:D stack:25384 pid: 4133 ppid: 2969 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:4972 [inline]
__schedule+0xa9a/0x4900 kernel/sched/core.c:6253
schedule+0xd2/0x260 kernel/sched/core.c:6326
io_schedule+0xee/0x170 kernel/sched/core.c:8371
folio_wait_bit_common+0x4f2/0xa60 mm/filemap.c:1371
folio_wait_bit mm/filemap.c:1431 [inline]
folio_wait_locked include/linux/pagemap.h:850 [inline]
folio_wait_locked include/linux/pagemap.h:847 [inline]
wait_on_page_locked include/linux/pagemap.h:862 [inline]
wait_on_page_read mm/filemap.c:3428 [inline]
do_read_cache_page+0x986/0x11a0 mm/filemap.c:3471
read_mapping_page include/linux/pagemap.h:650 [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+0x759/0x1100 block/partitions/core.c:699
blkdev_get_whole+0x206/0x2d0 block/bdev.c:684
blkdev_get_by_dev.part.0+0x5c6/0xc70 block/bdev.c:826
blkdev_get_by_dev+0x6b/0x80 block/bdev.c:860
blkdev_open+0x154/0x2e0 block/fops.c:501
do_dentry_open+0x4b9/0x1240 fs/open.c:822
do_open fs/namei.c:3426 [inline]
path_openat+0x1cad/0x2750 fs/namei.c:3559
do_filp_open+0x1aa/0x400 fs/namei.c:3586
do_sys_openat2+0x16d/0x4d0 fs/open.c:1212
do_sys_open fs/open.c:1228 [inline]
__do_sys_openat fs/open.c:1244 [inline]
__se_sys_openat fs/open.c:1239 [inline]
__x64_sys_openat+0x13f/0x1f0 fs/open.c:1239
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:0x7fc359289697
RSP: 002b:00007ffdf1e50610 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 0000555fd745e740 RCX: 00007fc359289697
RDX: 00000000000a0800 RSI: 0000555fd745f7e0 RDI: 00000000ffffff9c
RBP: 0000555fd745f7e0 R08: 0000000000000001 R09: 00007ffdf1e54080
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000000a0800
R13: 0000555fd7472660 R14: 0000000000000001 R15: 0000555fd745e910
INFO: task syz-executor.4:23413 blocked for more than 143 seconds.
Not tainted 5.16.0-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.4 state:D stack:27720 pid:23413 ppid: 3629 flags:0x00004002
Call Trace:
context_switch kernel/sched/core.c:4972 [inline]
__schedule+0xa9a/0x4900 kernel/sched/core.c:6253
schedule+0xd2/0x260 kernel/sched/core.c:6326
schedule_preempt_disabled+0xf/0x20 kernel/sched/core.c:6385
__mutex_lock_common kernel/locking/mutex.c:680 [inline]
__mutex_lock+0xa32/0x12f0 kernel/locking/mutex.c:740
blkdev_put+0x99/0x950 block/bdev.c:915
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
exit_task_work include/linux/task_work.h:32 [inline]
do_exit+0xc14/0x2b40 kernel/exit.c:832
do_group_exit+0x125/0x310 kernel/exit.c:929
get_signal+0x47d/0x2220 kernel/signal.c:2852
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:0x7fb2a19e5e99
RSP: 002b:00007fb2a0319168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: 0000000000000000 RBX: 00007fb2a1af9100 RCX: 00007fb2a19e5e99
RDX: ffffffffffffffff RSI: 000000000000ab03 RDI: 0000000000000006
RBP: 00007fb2a1a3fff1 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffc767e077f R14: 00007fb2a0319300 R15: 0000000000022000
Showing all locks held in the system:
1 lock held by khungtaskd/27:
#0: ffffffff8bb83da0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458
2 locks held by getty/3286:
#0: ffff8880236ae098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:252
#1: ffffc90002b962e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2113
1 lock held by udevd/4133:
#0: ffff88801abd2918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xc70 block/bdev.c:817
1 lock held by syz-executor.4/23413:
#0: ffff88801abd2918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0x99/0x950 block/bdev.c:915
1 lock held by syz-executor.4/23931:
#0: ffff88801abd2918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xc70 block/bdev.c:817
1 lock held by syz-executor.4/23934:
#0: ffff88801abd2918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xc70 block/bdev.c:817
1 lock held by syz-executor.4/23935:
#0: ffff88801abd2918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xc70 block/bdev.c:817
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.16.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:111
nmi_trigger_cpumask_backtrace+0x1b3/0x230 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: 1098 Comm: kworker/u4:4 Not tainted 5.16.0-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: phy9 ieee80211_iface_work
RIP: 0010:__sanitizer_cov_trace_cmp8+0xc/0x70 kernel/kcov.c:266
Code: 4c 38 f0 48 c7 44 38 e0 04 00 00 00 48 89 74 38 e8 4e 89 54 c8 20 48 89 10 c3 0f 1f 40 00 49 89 f8 bf 03 00 00 00 4c 8b 14 24 <48> 89 f1 65 48 8b 34 25 40 70 02 00 e8 c3 f7 ff ff 84 c0 74 48 48
RSP: 0018:ffffc90004faf610 EFLAGS: 00000282
RAX: 0000000000000000 RBX: dffffc0000000000 RCX: 0000000000000000
RDX: 0000000000000006 RSI: ffff88823bcb87a7 RDI: 0000000000000003
RBP: ffff88823bcb9000 R08: ffff88823bcb9000 R09: 0000000000000030
R10: ffffffff81be9203 R11: 000000000000003f R12: ffff88823bcb87a7
R13: ffff88823bcb8000 R14: 00000000ffffffac R15: ffff88823bcb8210
FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c01686d870 CR3: 000000000b88e000 CR4: 0000000000350ee0
Call Trace:
for_each_canary mm/kfence/core.c:351 [inline]
kfence_guarded_alloc mm/kfence/core.c:436 [inline]
__kfence_alloc+0xe83/0x13a0 mm/kfence/core.c:909
kfence_alloc include/linux/kfence.h:126 [inline]
slab_alloc_node mm/slub.c:3152 [inline]
slab_alloc mm/slub.c:3242 [inline]
kmem_cache_alloc_trace+0x2a5/0x2c0 mm/slub.c:3259
kmalloc include/linux/slab.h:590 [inline]
kzalloc include/linux/slab.h:724 [inline]
ieee802_11_parse_elems_crc+0xd5/0x1050 net/mac80211/util.c:1476
ieee802_11_parse_elems net/mac80211/ieee80211_i.h:2228 [inline]
ieee80211_rx_mgmt_probe_beacon net/mac80211/ibss.c:1605 [inline]
ieee80211_ibss_rx_queued_mgmt+0xd0e/0x3150 net/mac80211/ibss.c:1639
ieee80211_iface_process_skb net/mac80211/iface.c:1468 [inline]
ieee80211_iface_work+0xa65/0xd00 net/mac80211/iface.c:1522
process_one_work+0x9b2/0x1660 kernel/workqueue.c:2298
worker_thread+0x65d/0x1130 kernel/workqueue.c:2445
kthread+0x405/0x4f0 kernel/kthread.c:327
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
----------------
Code disassembly (best guess):
0: 4c 38 f0 rex.WR cmp %r14b,%al
3: 48 c7 44 38 e0 04 00 movq $0x4,-0x20(%rax,%rdi,1)
a: 00 00
c: 48 89 74 38 e8 mov %rsi,-0x18(%rax,%rdi,1)
11: 4e 89 54 c8 20 mov %r10,0x20(%rax,%r9,8)
16: 48 89 10 mov %rdx,(%rax)
19: c3 retq
1a: 0f 1f 40 00 nopl 0x0(%rax)
1e: 49 89 f8 mov %rdi,%r8
21: bf 03 00 00 00 mov $0x3,%edi
26: 4c 8b 14 24 mov (%rsp),%r10
* 2a: 48 89 f1 mov %rsi,%rcx <-- trapping instruction
2d: 65 48 8b 34 25 40 70 mov %gs:0x27040,%rsi
34: 02 00
36: e8 c3 f7 ff ff callq 0xfffff7fe
3b: 84 c0 test %al,%al
3d: 74 48 je 0x87
3f: 48 rex.W