INFO: task syz-executor.0:6965 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.0 state:D stack:24080 pid: 6965 ppid: 21527 flags:0x00004004
Call Trace:
context_switch kernel/sched/core.c:4972 [inline]
__schedule+0xb72/0x1460 kernel/sched/core.c:6253
schedule+0x12b/0x1f0 kernel/sched/core.c:6326
blk_mq_freeze_queue_wait+0x105/0x190 block/blk-mq.c:178
__loop_clr_fd+0x1c6/0x9b0 drivers/block/loop.c:1122
loop_clr_fd drivers/block/loop.c:1237 [inline]
lo_ioctl+0x107b/0x1f40 drivers/block/loop.c:1562
blkdev_ioctl+0x3ac/0x790 block/ioctl.c:609
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:874 [inline]
__se_sys_ioctl+0xfb/0x170 fs/ioctl.c:860
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7fa3b2b848a7
RSP: 002b:00007fa3b00f9fa8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000020000200 RCX: 00007fa3b2b848a7
RDX: 0000000000000000 RSI: 0000000000004c01 RDI: 0000000000000004
RBP: 00007fa3b00fa6bc R08: 00007fa3b00fa040 R09: 0000000020000000
R10: 0000000000000000 R11: 0000000000000246 R12: ffffffffffffffff
R13: 0000000000000005 R14: 00007fa3b00fa000 R15: 0000000020010300
Showing all locks held in the system:
1 lock held by khungtaskd/27:
#0: ffffffff8cb1dc00 (rcu_read_lock){....}-{1:2}, at: rcu_lock_acquire+0x0/0x30
1 lock held by in:imklog/6216:
2 locks held by kworker/0:19/20349:
#0: ffff8880b9a395d8 (&rq->__lock){-.-.}-{2:2}, at: raw_spin_rq_lock_nested+0xc6/0x110 kernel/sched/core.c:486
#1: ffff8880b9a27888 (&per_cpu_ptr(group->pcpu, cpu)->seq){-.-.}-{0:0}, at: psi_task_switch+0x4c1/0x780 kernel/sched/psi.c:880
2 locks held by agetty/31927:
#0: ffff888073dfd098 (&tty->ldisc_sem){++++}-{0:0}, at: tty_ldisc_ref_wait+0x21/0x70 drivers/tty/tty_ldisc.c:252
#1: ffffc900031172e8 (&ldata->atomic_read_lock){+.+.}-{3:3}, at: n_tty_read+0x6c5/0x1c60 drivers/tty/n_tty.c:2113
2 locks held by systemd-udevd/6454:
#0: ffff88801b1f8918 (&disk->open_mutex){+.+.}-{3:3}, at: blkdev_get_by_dev+0xfc/0xb80 block/bdev.c:819
#1: ffff88801b15c360 (&lo->lo_mutex){+.+.}-{3:3}, at: lo_open+0x68/0x100 drivers/block/loop.c:1733
1 lock held by syz-executor.0/6965:
#0: ffff88801b15c360 (&lo->lo_mutex){+.+.}-{3:3}, at: __loop_clr_fd+0x6d/0x9b0 drivers/block/loop.c:1106
=============================================
NMI backtrace for cpu 1
CPU: 1 PID: 27 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+0x1dc/0x2d8 lib/dump_stack.c:106
nmi_cpu_backtrace+0x45f/0x490 lib/nmi_backtrace.c:111
nmi_trigger_cpumask_backtrace+0x16a/0x280 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+0xc82/0xcd0 kernel/hung_task.c:295
kthread+0x468/0x490 kernel/kthread.c:327
ret_from_fork+0x1f/0x30
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 2967 Comm: systemd-journal Not tainted 5.16.0-rc1-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:stack_trace_consume_entry+0x3/0x270 kernel/stacktrace.c:83
Code: ff 44 89 e1 80 e1 07 80 c1 03 38 c1 0f 8c 5c ff ff ff 4c 89 e7 e8 0d 88 5e 00 e9 4f ff ff ff e8 23 1b a0 08 0f 1f 00 55 41 57 <41> 56 41 55 41 54 53 48 83 ec 18 48 89 fb 48 ba 00 00 00 00 00 fc
RSP: 0018:ffffc900000074e8 EFLAGS: 00000282
RAX: ffffffff8a200c02 RBX: ffffc90000007500 RCX: ffffffff8f33a000
RDX: ffffffff8f484501 RSI: ffffffff8a200c02 RDI: ffffc900000075e0
RBP: ffffc90000007590 R08: dffffc0000000000 R09: ffffc90000007550
R10: fffff52000000eac R11: 0000000000000000 R12: ffff88807aca1d00
R13: ffffffff8171bd90 R14: ffffc900000075e0 R15: 0000000000000000
FS: 00007f667fc1c8c0(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f667d47d000 CR3: 0000000022dc1000 CR4: 00000000003506f0
DR0: 0080ffff00000000 DR1: 0080ffff00000000 DR2: 0080ffff00000000
DR3: 0080ffff00000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Call Trace:
arch_stack_walk+0x106/0x140 arch/x86/kernel/stacktrace.c:27
stack_trace_save+0x11b/0x1e0 kernel/stacktrace.c:122
kasan_save_stack mm/kasan/common.c:38 [inline]
kasan_set_track mm/kasan/common.c:46 [inline]
set_alloc_info mm/kasan/common.c:434 [inline]
__kasan_slab_alloc+0xb6/0xf0 mm/kasan/common.c:467
kasan_slab_alloc include/linux/kasan.h:259 [inline]
slab_post_alloc_hook mm/slab.h:519 [inline]
slab_alloc_node mm/slub.c:3234 [inline]
kmem_cache_alloc_node+0x201/0x370 mm/slub.c:3270
__alloc_skb+0xd8/0x5a0 net/core/skbuff.c:414
__netdev_alloc_skb+0xf6/0x4d0 net/core/skbuff.c:494
netdev_alloc_skb include/linux/skbuff.h:2914 [inline]
dev_alloc_skb include/linux/skbuff.h:2927 [inline]
hsr_init_skb+0xd2/0x4e0 net/hsr/hsr_device.c:247
send_hsr_supervision_frame+0x11e/0x9f0 net/hsr/hsr_device.c:291
hsr_announce+0x15b/0x2d0 net/hsr/hsr_device.c:382
call_timer_fn+0xf6/0x210 kernel/time/timer.c:1421
expire_timers kernel/time/timer.c:1466 [inline]
__run_timers+0x71a/0x910 kernel/time/timer.c:1734
run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1747
__do_softirq+0x392/0x7a3 kernel/softirq.c:558
__irq_exit_rcu+0xec/0x170 kernel/softirq.c:636
irq_exit_rcu+0x5/0x20 kernel/softirq.c:648
sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1097
asm_sysvec_apic_timer_interrupt+0x12/0x20
RIP: 0010:memset_erms+0x9/0x10
Code: c1 e9 03 40 0f b6 f6 48 b8 01 01 01 01 01 01 01 01 48 0f af c6 f3 48 ab 89 d1 f3 aa 4c 89 c8 c3 90 49 89 f9 40 88 f0 48 89 d1 aa 4c 89 c8 c3 90 49 89 fa 40 0f b6 ce 48 b8 01 01 01 01 01 01
RSP: 0018:ffffc90001f7fae8 EFLAGS: 00010202
RAX: 0000000000000b00 RBX: ffff88807cd0fe00 RCX: 0000000000000180
RDX: 0000000000000200 RSI: 0000000000000000 RDI: ffffc90001f7fb70
RBP: ffffc90001f7fd10 R08: dffffc0000000000 R09: ffffc90001f7faf0
R10: 0000000000000006 R11: 0000000000000000 R12: ffff88807cd0ff00
R13: ffff888011442c80 R14: 0000000000400dc0 R15: ffffc90001f7faf0
kasan_save_stack mm/kasan/common.c:35 [inline]
kasan_set_track mm/kasan/common.c:46 [inline]
set_alloc_info mm/kasan/common.c:434 [inline]
____kasan_kmalloc+0xcd/0x110 mm/kasan/common.c:513
kasan_kmalloc include/linux/kasan.h:269 [inline]
__kmalloc+0x253/0x380 mm/slub.c:4423
kmalloc include/linux/slab.h:595 [inline]
kzalloc+0x1d/0x30 include/linux/slab.h:724
lsm_cred_alloc security/security.c:537 [inline]
security_prepare_creds+0x46/0x220 security/security.c:1692
prepare_creds+0x452/0x640 kernel/cred.c:291
access_override_creds fs/open.c:351 [inline]
do_faccessat+0xec/0x940 fs/open.c:415
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7f667eed79c7
Code: 83 c4 08 48 3d 01 f0 ff ff 73 01 c3 48 8b 0d c8 d4 2b 00 f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 b8 15 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d a1 d4 2b 00 f7 d8 64 89 01 48
RSP: 002b:00007ffcd27df8e8 EFLAGS: 00000246 ORIG_RAX: 0000000000000015
RAX: ffffffffffffffda RBX: 00007ffcd27e2800 RCX: 00007f667eed79c7
RDX: 00007f667f948a00 RSI: 0000000000000000 RDI: 00005581f033a9a3
RBP: 00007ffcd27df920 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000069 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007ffcd27e2800 R15: 00007ffcd27dfe10
----------------
Code disassembly (best guess):
0: ff 44 89 e1 incl -0x1f(%rcx,%rcx,4)
4: 80 e1 07 and $0x7,%cl
7: 80 c1 03 add $0x3,%cl
a: 38 c1 cmp %al,%cl
c: 0f 8c 5c ff ff ff jl 0xffffff6e
12: 4c 89 e7 mov %r12,%rdi
15: e8 0d 88 5e 00 callq 0x5e8827
1a: e9 4f ff ff ff jmpq 0xffffff6e
1f: e8 23 1b a0 08 callq 0x8a01b47
24: 0f 1f 00 nopl (%rax)
27: 55 push %rbp
28: 41 57 push %r15
* 2a: 41 56 push %r14 <-- trapping instruction
2c: 41 55 push %r13
2e: 41 54 push %r12
30: 53 push %rbx
31: 48 83 ec 18 sub $0x18,%rsp
35: 48 89 fb mov %rdi,%rbx
38: 48 rex.W
39: ba 00 00 00 00 mov $0x0,%edx
3e: 00 fc add %bh,%ah