INFO: task udevd:11859 blocked for more than 143 seconds.
Not tainted 5.16.0-rc6-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:udevd state:D stack:25680 pid:11859 ppid: 2971 flags:0x00004000
Call Trace:
context_switch kernel/sched/core.c:4972 [inline]
__schedule+0xa9a/0x4940 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:851 [inline]
folio_wait_locked include/linux/pagemap.h:848 [inline]
wait_on_page_locked include/linux/pagemap.h:863 [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:651 [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+0x4c8/0x1250 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:0x7f590d1f6697
RSP: 002b:00007ffd34d462a0 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 0000564e305db520 RCX: 00007f590d1f6697
RDX: 00000000000a0800 RSI: 0000564e305e5700 RDI: 00000000ffffff9c
RBP: 0000564e305e5700 R08: 0000000000000001 R09: 00007ffd34de0080
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000000a0800
R13: 0000564e305e7770 R14: 0000000000000001 R15: 0000564e305ae2c0
INFO: task syz-executor.1:13185 blocked for more than 143 seconds.
Not tainted 5.16.0-rc6-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.1 state:D stack:28424 pid:13185 ppid: 11526 flags:0x00000004
Call Trace:
context_switch kernel/sched/core.c:4972 [inline]
__schedule+0xa9a/0x4940 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/0x980 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
tracehook_notify_resume include/linux/tracehook.h:189 [inline]
exit_to_user_mode_loop kernel/entry/common.c:175 [inline]
exit_to_user_mode_prepare+0x27e/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:0x7fdbdf361adb
RSP: 002b:00007ffd640bef50 EFLAGS: 00000293 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000005 RCX: 00007fdbdf361adb
RDX: 00007fdbdf4c6398 RSI: ffffffffffffffff RDI: 0000000000000004
RBP: 00007fdbdf4c3960 R08: 0000000000000000 R09: 00007fdbdf4c63a0
R10: 00007ffd640bf050 R11: 0000000000000293 R12: 000000000013f1a1
R13: 00007ffd640bf050 R14: 00007fdbdf4c1f60 R15: 0000000000000032
Showing all locks held in the system:
1 lock held by khungtaskd/27:
#0: ffffffff8bb812a0 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458
2 locks held by getty/3286:
#0: ffff88814aef4098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:252
#1: ffffc90002b8e2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2113
1 lock held by udevd/11859:
#0: ffff88801aecf918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xc70 block/bdev.c:817
1 lock held by syz-executor.1/13185:
#0: ffff88801aecf918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_put+0x99/0x980 block/bdev.c:915
=============================================
NMI backtrace for cpu 0
CPU: 0 PID: 27 Comm: khungtaskd Not tainted 5.16.0-rc6-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: 10724 Comm: kworker/u4:7 Not tainted 5.16.0-rc6-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: bat_events batadv_nc_worker
RIP: 0010:kasan_mem_to_shadow include/linux/kasan.h:55 [inline]
RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:129 [inline]
RIP: 0010:memory_is_poisoned mm/kasan/generic.c:159 [inline]
RIP: 0010:check_region_inline mm/kasan/generic.c:180 [inline]
RIP: 0010:kasan_check_range+0x48/0x180 mm/kasan/generic.c:189
Code: b8 ff ff ff ff ff 7f ff ff 48 39 c7 0f 86 05 01 00 00 49 83 e9 01 48 89 fd 48 b8 00 00 00 00 00 fc ff df 4d 89 ca 48 c1 ed 03 <49> c1 ea 03 48 01 c5 49 01 c2 48 89 e8 49 8d 5a 01 48 89 da 48 29
RSP: 0018:ffffc90002e1fa40 EFLAGS: 00000802
RAX: dffffc0000000000 RBX: ffffffff8bb812a0 RCX: ffffffff815b886c
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff8ff7ba00
RBP: 1ffffffff1fef740 R08: 0000000000000000 R09: ffffffff8ff7ba07
R10: ffffffff8ff7ba07 R11: 0000000000000000 R12: ffff88802833ab70
R13: ffff88802833a0c0 R14: 0000000000020000 R15: 0000000000000002
FS: 0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c0114c5620 CR3: 000000000b88e000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 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]
hlock_class kernel/locking/lockdep.c:199 [inline]
check_wait_context kernel/locking/lockdep.c:4701 [inline]
__lock_acquire+0x47c/0x54a0 kernel/locking/lockdep.c:4977
lock_acquire kernel/locking/lockdep.c:5637 [inline]
lock_acquire+0x1ab/0x510 kernel/locking/lockdep.c:5602
rcu_lock_acquire include/linux/rcupdate.h:268 [inline]
rcu_read_lock include/linux/rcupdate.h:688 [inline]
batadv_nc_purge_orig_hash net/batman-adv/network-coding.c:412 [inline]
batadv_nc_worker+0x12d/0xfa0 net/batman-adv/network-coding.c:723
process_one_work+0x9b2/0x1690 kernel/workqueue.c:2298
worker_thread+0x658/0x11f0 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: b8 ff ff ff ff mov $0xffffffff,%eax
5: ff (bad)
6: 7f ff jg 0x7
8: ff 48 39 decl 0x39(%rax)
b: c7 (bad)
c: 0f 86 05 01 00 00 jbe 0x117
12: 49 83 e9 01 sub $0x1,%r9
16: 48 89 fd mov %rdi,%rbp
19: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
20: fc ff df
23: 4d 89 ca mov %r9,%r10
26: 48 c1 ed 03 shr $0x3,%rbp
* 2a: 49 c1 ea 03 shr $0x3,%r10 <-- trapping instruction
2e: 48 01 c5 add %rax,%rbp
31: 49 01 c2 add %rax,%r10
34: 48 89 e8 mov %rbp,%rax
37: 49 8d 5a 01 lea 0x1(%r10),%rbx
3b: 48 89 da mov %rbx,%rdx
3e: 48 rex.W
3f: 29 .byte 0x29