Hello,
syzbot found the following issue on:
HEAD commit: 756db2ba8bde Linux 4.14.249
git tree: linux-4.14.y
console output:
https://syzkaller.appspot.com/x/log.txt?x=14c08d20b00000
kernel config:
https://syzkaller.appspot.com/x/.config?x=79558fdc04ec5505
dashboard link:
https://syzkaller.appspot.com/bug?extid=47baabaa396befe0fb36
compiler: gcc version 10.2.1 20210110 (Debian 10.2.1-6)
syz repro:
https://syzkaller.appspot.com/x/repro.syz?x=15927348b00000
C reproducer:
https://syzkaller.appspot.com/x/repro.c?x=15494068b00000
IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by:
syzbot+47baab...@syzkaller.appspotmail.com
watchdog: BUG: soft lockup - CPU#0 stuck for 22s! [aoe_tx0:3072]
Modules linked in:
irq event stamp: 18763
hardirqs last enabled at (18762): [<ffffffff87400976>] restore_regs_and_return_to_kernel+0x0/0x2a
hardirqs last disabled at (18763): [<ffffffff874018ae>] apic_timer_interrupt+0x8e/0xa0 arch/x86/entry/entry_64.S:793
softirqs last enabled at (748): [<ffffffff85c3ebb6>] rcu_read_unlock_bh include/linux/rcupdate.h:721 [inline]
softirqs last enabled at (748): [<ffffffff85c3ebb6>] __dev_queue_xmit+0xc96/0x2480 net/core/dev.c:3548
softirqs last disabled at (758): [<ffffffff85c3e0cc>] __dev_queue_xmit+0x1ac/0x2480 net/core/dev.c:3455
CPU: 0 PID: 3072 Comm: aoe_tx0 Not tainted 4.14.249-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff8880ab5ea540 task.stack: ffff8880ab4b0000
RIP: 0010:fq_codel_dequeue+0xb6/0x2c10 net/sched/sch_fq_codel.c:303
RSP: 0018:ffff8880ab4b7b28 EFLAGS: 00000a06 ORIG_RAX: ffffffffffffff10
RAX: 0000000000000000 RBX: ffff8880b2d906b8 RCX: ffff8880b2d906a8
RDX: 0000000000000000 RSI: ffff8880b2d906b8 RDI: ffff888092e08658
RBP: ffff8880b2d906c0 R08: 0000000000000001 R09: 000000000004850f
R10: ffff8880ab5eae18 R11: ffff8880ab5ea540 R12: ffff8880b2d90480
R13: dffffc0000000000 R14: ffff8880b2d90480 R15: ffff888092e08650
FS: 0000000000000000(0000) GS:ffff8880ba400000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fff88df2888 CR3: 00000000b30c1000 CR4: 00000000003406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
dequeue_skb net/sched/sch_generic.c:148 [inline]
qdisc_restart net/sched/sch_generic.c:241 [inline]
__qdisc_run+0x322/0xe00 net/sched/sch_generic.c:257
__dev_xmit_skb net/core/dev.c:3231 [inline]
__dev_queue_xmit+0x13ac/0x2480 net/core/dev.c:3489
tx+0x68/0xa0 drivers/block/aoe/aoenet.c:63
kthread+0x1b9/0x350 drivers/block/aoe/aoecmd.c:1259
kthread+0x30d/0x420 kernel/kthread.c:232
ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404
Code: 48 c1 e8 03 42 80 3c 28 00 0f 85 3f 23 00 00 48 8b 04 24 4c 8b 38 49 8d 47 10 48 89 84 24 80 00 00 00 48 c1 e8 03 42 0f b6 04 28 <84> c0 74 08 3c 03 0f 8e 05 23 00 00 41 8b 5f 10 85 db 0f 8e 98
----------------
Code disassembly (best guess):
0: 48 c1 e8 03 shr $0x3,%rax
4: 42 80 3c 28 00 cmpb $0x0,(%rax,%r13,1)
9: 0f 85 3f 23 00 00 jne 0x234e
f: 48 8b 04 24 mov (%rsp),%rax
13: 4c 8b 38 mov (%rax),%r15
16: 49 8d 47 10 lea 0x10(%r15),%rax
1a: 48 89 84 24 80 00 00 mov %rax,0x80(%rsp)
21: 00
22: 48 c1 e8 03 shr $0x3,%rax
26: 42 0f b6 04 28 movzbl (%rax,%r13,1),%eax
* 2b: 84 c0 test %al,%al <-- trapping instruction
2d: 74 08 je 0x37
2f: 3c 03 cmp $0x3,%al
31: 0f 8e 05 23 00 00 jle 0x233c
37: 41 8b 5f 10 mov 0x10(%r15),%ebx
3b: 85 db test %ebx,%ebx
3d: 0f .byte 0xf
3e: 8e .byte 0x8e
3f: 98 cwtl