syzbot


BUG: soft lockup in net_tx_action

Status: auto-obsoleted due to no activity on 2023/11/20 11:28
Reported-by: syzbot+c5b4eae26ca0235b7e22@syzkaller.appspotmail.com
First crash: 446d, last: 446d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in net_tx_action net C unreliable done 37 188d 1228d 0/28 auto-obsoleted due to no activity on 2024/08/13 22:03
linux-4.19 BUG: soft lockup in net_tx_action 1 1157d 1157d 0/1 auto-closed as invalid on 2022/01/08 10:24
linux-5.15 BUG: soft lockup in net_tx_action origin:upstream C 1 21d 506d 0/3 upstream: reported C repro on 2023/06/23 13:57

Sample crash report:
watchdog: BUG: soft lockup - CPU#1 stuck for 144s! [syz-executor.0:12314]
Modules linked in:
CPU: 1 PID: 12314 Comm: syz-executor.0 Not tainted 5.15.122-syzkaller-00676-g1463976ddc64 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023
RIP: 0010:native_safe_halt arch/x86/include/asm/irqflags.h:51 [inline]
RIP: 0010:arch_safe_halt arch/x86/include/asm/irqflags.h:89 [inline]
RIP: 0010:kvm_wait+0x147/0x180 arch/x86/kernel/kvm.c:918
Code: 4c 89 e8 48 c1 e8 03 42 0f b6 04 20 84 c0 44 8b 74 24 1c 75 34 41 0f b6 45 00 44 38 f0 75 10 66 90 0f 00 2d 6b ff f2 03 fb f4 <e9> 24 ff ff ff fb e9 1e ff ff ff 44 89 e9 80 e1 07 38 c1 7c a3 4c
RSP: 0018:ffffc900001d0ca0 EFLAGS: 00000246
RAX: 0000000000000001 RBX: 1ffff9200003a198 RCX: 1ffffffff0d1a98c
RDX: 0000000000000001 RSI: 0000000000000001 RDI: ffff8881f7137ed4
RBP: ffffc900001d0d50 R08: dffffc0000000000 R09: ffffed103ee26fdb
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff8881f7137ed4 R14: 0000000000000001 R15: 1ffff9200003a19c
FS:  00007f8b1a7a86c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020268030 CR3: 0000000126d41000 CR4: 00000000003506a0
Call Trace:
 <IRQ>
 pv_wait arch/x86/include/asm/paravirt.h:597 [inline]
 pv_wait_node kernel/locking/qspinlock_paravirt.h:325 [inline]
 __pv_queued_spin_lock_slowpath+0x41b/0xc40 kernel/locking/qspinlock.c:473
 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:585 [inline]
 queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:51 [inline]
 queued_spin_lock include/asm-generic/qspinlock.h:85 [inline]
 do_raw_spin_lock include/linux/spinlock.h:187 [inline]
 __raw_spin_lock include/linux/spinlock_api_smp.h:143 [inline]
 _raw_spin_lock+0x139/0x1b0 kernel/locking/spinlock.c:154
 spin_lock include/linux/spinlock.h:363 [inline]
 net_tx_action+0x429/0x550 net/core/dev.c:5056
 __do_softirq+0x26d/0x5bf kernel/softirq.c:565
 invoke_softirq kernel/softirq.c:425 [inline]
 __irq_exit_rcu+0x50/0xf0 kernel/softirq.c:647
 irq_exit_rcu+0x9/0x10 kernel/softirq.c:659
 sysvec_apic_timer_interrupt+0x9a/0xc0 arch/x86/kernel/apic/apic.c:1096
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1b/0x20 arch/x86/include/asm/idtentry.h:638
RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:161 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0x57/0x80 kernel/locking/spinlock.c:194
Code: 8d 86 e8 4c 70 eb fc 48 83 3d 3c 3e c7 01 00 74 35 48 89 df e8 ee ab 8e fc 66 90 41 f7 c6 00 02 00 00 74 01 fb bf 01 00 00 00 <e8> c4 f5 85 fc 65 8b 05 45 5f 3c 7b 85 c0 74 05 5b 41 5e 5d c3 e8
RSP: 0018:ffffc90000b575c0 EFLAGS: 00000206
RAX: 0000000000000001 RBX: ffff88815b86f8c0 RCX: dffffc0000000000
RDX: dffffc0000000000 RSI: 0000000000000246 RDI: 0000000000000001
RBP: ffffc90000b575d0 R08: ffffffff8172d410 R09: fffffbfff0e0bf8e
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000246
R13: 1ffff9200016aec4 R14: 0000000000000246 R15: 0000000000000010
 spin_unlock_irqrestore include/linux/spinlock.h:418 [inline]
 __wake_up_common_lock kernel/sched/wait.c:141 [inline]
 __wake_up_sync_key+0x1b1/0x3d0 kernel/sched/wait.c:209
 __unix_dgram_recvmsg+0x5fc/0x1260 net/unix/af_unix.c:2344
 unix_dgram_recvmsg+0xc4/0xe0 net/unix/af_unix.c:2415
 ____sys_recvmsg+0x286/0x530
 ___sys_recvmsg+0x1ec/0x690 net/socket.c:2673
 do_recvmmsg+0x36b/0x8b0 net/socket.c:2767
 __sys_recvmmsg net/socket.c:2846 [inline]
 __do_sys_recvmmsg net/socket.c:2869 [inline]
 __se_sys_recvmmsg net/socket.c:2862 [inline]
 __x64_sys_recvmmsg+0x195/0x240 net/socket.c:2862
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f8b1ba46ae9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f8b1a7a80c8 EFLAGS: 00000246 ORIG_RAX: 000000000000012b
RAX: ffffffffffffffda RBX: 00007f8b1bb66050 RCX: 00007f8b1ba46ae9
RDX: 0000000000010106 RSI: 00000000200000c0 RDI: 0000000000000003
RBP: 00007f8b1ba9247a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000002 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000006e R14: 00007f8b1bb66050 R15: 00007ffe3b71eb38
 </TASK>
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 12304 Comm: syz-executor.1 Not tainted 5.15.122-syzkaller-00676-g1463976ddc64 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/26/2023
RIP: 0010:pv_wait_head_or_lock kernel/locking/qspinlock_paravirt.h:434 [inline]
RIP: 0010:__pv_queued_spin_lock_slowpath+0x5ba/0xc40 kernel/locking/qspinlock.c:508
Code: 00 00 49 89 dc c6 03 00 48 8b 44 24 10 0f b6 04 10 84 c0 0f 85 48 01 00 00 48 8b 44 24 08 c6 00 01 bb 00 80 ff ff eb 06 f3 90 <ff> c3 74 5e 41 0f b6 44 15 00 84 c0 75 36 41 80 3f 00 75 ea 4c 89
RSP: 0018:ffffc90000bd6bc0 EFLAGS: 00000206
RAX: 0000000000000000 RBX: 00000000ffff9154 RCX: ffffffff8154ce3f
RDX: dffffc0000000000 RSI: 0000000000000003 RDI: ffff88810d1678ac
RBP: ffffc90000bd6cb0 R08: dffffc0000000000 R09: ffffed1021a2cf16
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8881f7037ed4
R13: 1ffff11021a2cf15 R14: 1ffff1103ee00001 R15: ffff88810d1678ac
FS:  00007f97e8aad6c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f97e8aabf78 CR3: 000000016a69c000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 <TASK>
 pv_queued_spin_lock_slowpath arch/x86/include/asm/paravirt.h:585 [inline]
 queued_spin_lock_slowpath arch/x86/include/asm/qspinlock.h:51 [inline]
 queued_spin_lock include/asm-generic/qspinlock.h:85 [inline]
 do_raw_spin_lock include/linux/spinlock.h:187 [inline]
 __raw_spin_lock_bh include/linux/spinlock_api_smp.h:136 [inline]
 _raw_spin_lock_bh+0x139/0x1b0 kernel/locking/spinlock.c:178
 spin_lock_bh include/linux/spinlock.h:368 [inline]
 get_dist_table+0x207/0x2e0 net/sched/sch_netem.c:798
 netem_change+0xa05/0x20c0 net/sched/sch_netem.c:988
 netem_init+0x5b/0xb0 net/sched/sch_netem.c:1075
 qdisc_create+0x890/0x12e0 net/sched/sch_api.c:1264
 tc_modify_qdisc+0x8b4/0x14b0
 rtnetlink_rcv_msg+0x951/0xc40 net/core/rtnetlink.c:5599
 netlink_rcv_skb+0x1cf/0x410 net/netlink/af_netlink.c:2505
 rtnetlink_rcv+0x1c/0x20 net/core/rtnetlink.c:5617
 netlink_unicast_kernel net/netlink/af_netlink.c:1330 [inline]
 netlink_unicast+0x8df/0xac0 net/netlink/af_netlink.c:1356
 netlink_sendmsg+0xa0a/0xd20 net/netlink/af_netlink.c:1924
 sock_sendmsg_nosec net/socket.c:704 [inline]
 sock_sendmsg net/socket.c:724 [inline]
 ____sys_sendmsg+0x59e/0x8f0 net/socket.c:2412
 ___sys_sendmsg+0x252/0x2e0 net/socket.c:2466
 __sys_sendmsg net/socket.c:2495 [inline]
 __do_sys_sendmsg net/socket.c:2504 [inline]
 __se_sys_sendmsg+0x19a/0x260 net/socket.c:2502
 __x64_sys_sendmsg+0x7b/0x90 net/socket.c:2502
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f97e9d2aae9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f97e8aad0c8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f97e9e49f80 RCX: 00007f97e9d2aae9
RDX: 0000000000000000 RSI: 0000000020000640 RDI: 0000000000000005
RBP: 00007f97e9d7647a R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007f97e9e49f80 R15: 00007ffe8a6febe8
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/08/22 11:24 android13-5.15-lts 1463976ddc64 6b415825 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: soft lockup in net_tx_action
* Struck through repros no longer work on HEAD.