INFO: task syz-executor.1:14300 blocked for more than 143 seconds.
Not tainted 5.16.0-rc1-syzkaller #0
"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
task:syz-executor.1 state:D stack:27960 pid:14300 ppid: 18557 flags:0x20000004
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
blk_mq_freeze_queue_wait+0x112/0x160 block/blk-mq.c:178
loop_set_status+0x440/0x930 drivers/block/loop.c:1264
loop_set_status_compat+0xac/0x100 drivers/block/loop.c:1674
lo_compat_ioctl+0xeb/0x110 drivers/block/loop.c:1700
compat_blkdev_ioctl+0x3b8/0x810 block/ioctl.c:674
__do_compat_sys_ioctl+0x1c7/0x290 fs/ioctl.c:972
do_syscall_32_irqs_on arch/x86/entry/common.c:112 [inline]
__do_fast_syscall_32+0x65/0xf0 arch/x86/entry/common.c:178
do_fast_syscall_32+0x2f/0x70 arch/x86/entry/common.c:203
entry_SYSENTER_compat_after_hwframe+0x4d/0x5c
RIP: 0023:0xf6eb4549
RSP: 002b:00000000f44ae5fc EFLAGS: 00000296 ORIG_RAX: 0000000000000036
RAX: ffffffffffffffda RBX: 0000000000000005 RCX: 0000000000004c02
RDX: 0000000020000940 RSI: 0000000000000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
Showing all locks held in the system:
3 locks held by kworker/u4:1/10:
1 lock held by khungtaskd/26:
#0: ffffffff8bb83a60 (rcu_read_lock){....}-{1:2}, at: debug_show_all_locks+0x53/0x260 kernel/locking/lockdep.c:6458
1 lock held by in:imklog/6220:
#0: ffff88801e5c2af0 (&f->f_pos_lock){+.+.}-{3:3}, at: __fdget_pos+0xe9/0x100 fs/file.c:990
2 locks held by agetty/6283:
#0: ffff88801b932098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x22/0x80 drivers/tty/tty_ldisc.c:252
#1: ffffc90001f3a2e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0xcf0/0x1230 drivers/tty/n_tty.c:2113
2 locks held by systemd-udevd/14260:
#0: ffff88801a0c5918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev.part.0+0x9b/0xb50 block/bdev.c:819
#1: ffff88801a0c1360 (&lo->lo_mutex){+.+.}-{3:3}, at: lo_open+0x75/0x120 drivers/block/loop.c:1733
1 lock held by syz-executor.1/14300:
#0: ffff88801a0c1360 (&lo->lo_mutex){+.+.}-{3:3}, at: loop_set_status+0x2a/0x930 drivers/block/loop.c:1248
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 26 Comm: khungtaskd Not tainted 5.16.0-rc1-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 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 10 Comm: kworker/u4:1 Not tainted 5.16.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: bat_events batadv_tt_purge
RIP: 0010:variable_test_bit arch/x86/include/asm/bitops.h:214 [inline]
RIP: 0010:test_bit include/asm-generic/bitops/instrumented-non-atomic.h:135 [inline]
RIP: 0010:cpumask_test_cpu include/linux/cpumask.h:344 [inline]
RIP: 0010:cpu_online include/linux/cpumask.h:895 [inline]
RIP: 0010:trace_lock_acquire include/trace/events/lock.h:13 [inline]
RIP: 0010:lock_acquire+0x3ae/0x510 kernel/locking/lockdep.c:5608
Code: 7e 83 fa 07 0f 87 15 01 00 00 89 d2 be 08 00 00 00 48 89 d0 48 89 54 24 08 48 c1 f8 06 48 8d 3c c5 d0 72 91 8d e8 b2 9c 61 00 <48> 8b 54 24 08 48 0f a3 15 65 6c 34 0c 0f 83 0a fd ff ff 65 ff 05
RSP: 0018:ffffc90000cf7ba8 EFLAGS: 00000246
RAX: 0000000000000001 RBX: 1ffff9200019ef77 RCX: ffffffff815d065e
RDX: fffffbfff1b22e5b RSI: 0000000000000008 RDI: ffffffff8d9172d0
RBP: 0000000000000001 R08: 0000000000000000 R09: ffffffff8d9172d7
R10: fffffbfff1b22e5a R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: ffff8880296d3058 R15: 0000000000000000
FS: 0000000000000000(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f9dfbcf4000 CR3: 000000006ead9000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__raw_spin_lock_bh include/linux/spinlock_api_smp.h:126 [inline]
_raw_spin_lock_bh+0x2f/0x40 kernel/locking/spinlock.c:178
spin_lock_bh include/linux/spinlock.h:354 [inline]
batadv_tt_global_purge net/batman-adv/translation-table.c:2280 [inline]
batadv_tt_purge+0x123/0xaf0 net/batman-adv/translation-table.c:3562
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), 1 bytes skipped:
0: 83 fa 07 cmp $0x7,%edx
3: 0f 87 15 01 00 00 ja 0x11e
9: 89 d2 mov %edx,%edx
b: be 08 00 00 00 mov $0x8,%esi
10: 48 89 d0 mov %rdx,%rax
13: 48 89 54 24 08 mov %rdx,0x8(%rsp)
18: 48 c1 f8 06 sar $0x6,%rax
1c: 48 8d 3c c5 d0 72 91 lea -0x726e8d30(,%rax,8),%rdi
23: 8d
24: e8 b2 9c 61 00 callq 0x619cdb
* 29: 48 8b 54 24 08 mov 0x8(%rsp),%rdx <-- trapping instruction
2e: 48 0f a3 15 65 6c 34 bt %rdx,0xc346c65(%rip) # 0xc346c9b
35: 0c
36: 0f 83 0a fd ff ff jae 0xfffffd46
3c: 65 gs
3d: ff .byte 0xff
3e: 05 .byte 0x5