syzbot


INFO: rcu detected stall in tc_modify_qdisc

Status: upstream: reported C repro on 2024/08/13 15:46
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+6818656ac1d4c60d28ed@syzkaller.appspotmail.com
First crash: 167d, last: 66d
Bug presence (2)
Date Name Commit Repro Result
2024/11/14 linux-5.15.y (ToT) d98fd109f827 C [report] BUG: soft lockup in tc_modify_qdisc
2024/11/14 upstream (ToT) 0a9b9d17f3a7 C Didn't crash
Similar bugs (8)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 INFO: rcu detected stall in tc_modify_qdisc 3 197d 235d 0/3 auto-obsoleted due to no activity on 2024/10/23 00:42
upstream INFO: rcu detected stall in tc_modify_qdisc net C done 565 1d07h 1643d 0/28 upstream: reported C repro on 2020/07/29 05:53
linux-6.1 INFO: rcu detected stall in tc_modify_qdisc (2) origin:upstream C 2 3d20h 81d 0/3 upstream: reported C repro on 2024/11/08 00:04
android-6-1 BUG: soft lockup in tc_modify_qdisc C done done 53 426d 458d 0/2 auto-obsoleted due to no activity on 2024/02/06 04:01
android-5-15 BUG: soft lockup in tc_modify_qdisc origin:lts C done done 254 516d 571d 0/2 auto-obsoleted due to no activity on 2023/11/09 01:01
linux-5.15 BUG: soft lockup in tc_modify_qdisc origin:upstream C error 1 605d 605d 0/3 auto-obsoleted due to no activity on 2023/09/11 01:53
linux-6.1 BUG: soft lockup in tc_modify_qdisc origin:upstream C done 1 603d 603d 3/3 fixed on 2023/07/10 11:22
android-5-10 BUG: soft lockup in tc_modify_qdisc C done done 314 517d 571d 0/2 auto-obsoleted due to no activity on 2023/11/07 07:54
Last patch testing requests (2)
Created Duration User Patch Repo Result
2025/01/23 19:42 14m retest repro linux-5.15.y report log
2025/01/06 20:18 12m retest repro linux-5.15.y report log
Fix bisection attempts (2)
Created Duration User Patch Repo Result
2024/12/13 18:21 1m fix candidate upstream error job log
2024/11/04 08:18 11m fix candidate upstream error job log

Sample crash report:
watchdog: BUG: soft lockup - CPU#1 stuck for 27s! [syz-executor406:4093]
Modules linked in:
irq event stamp: 1351
hardirqs last  enabled at (1350): [<ffff800011b96c1c>] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline]
hardirqs last  enabled at (1350): [<ffff800011b96c1c>] _raw_spin_unlock_irqrestore+0xac/0x158 kernel/locking/spinlock.c:194
hardirqs last disabled at (1351): [<ffff800011abe9ec>] enter_el1_irq_or_nmi+0x10/0x1c arch/arm64/kernel/entry-common.c:227
softirqs last  enabled at (1306): [<ffff8000081b691c>] softirq_handle_end kernel/softirq.c:401 [inline]
softirqs last  enabled at (1306): [<ffff8000081b691c>] handle_softirqs+0xb88/0xdbc kernel/softirq.c:586
softirqs last disabled at (1340): [<ffff8000101f63e0>] spin_lock_bh include/linux/spinlock.h:368 [inline]
softirqs last disabled at (1340): [<ffff8000101f63e0>] taprio_change+0x2af8/0x3770 net/sched/sch_taprio.c:1556
CPU: 1 PID: 4093 Comm: syz-executor406 Not tainted 5.15.171-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:161 [inline]
pc : _raw_spin_unlock_irqrestore+0xbc/0x158 kernel/locking/spinlock.c:194
lr : __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline]
lr : _raw_spin_unlock_irqrestore+0xac/0x158 kernel/locking/spinlock.c:194
sp : ffff8000201d6a80
x29: ffff8000201d6a90 x28: 0000000000000000 x27: ffff0000d63782c0
x26: ffff70000403ad74 x25: ffff0000d63780f0 x24: ffff0000e4c46a10
x23: 0000000000000000 x22: ffff8000101f6898 x21: ffff0000d6378300
x20: ffff0000d63782e8 x19: 0000000000000000 x18: ffff8000201d6500
x17: 0000000000000000 x16: ffff8000082ec8b8 x15: 00000000000118f1
x14: 1ffff0000295a06a x13: dfff800000000000 x12: 0000000000000003
x11: 0000000000000202 x10: 0000000000000003 x9 : 0000000000000080
x8 : 00000000000000c0 x7 : 0000000000000000 x6 : 0000000000000000
x5 : 0000000000000080 x4 : 0000000000000000 x3 : ffff80000804605c
x2 : 0000000000000002 x1 : ffff800011c1ad00 x0 : ffff80019f789000
Call trace:
 arch_local_irq_restore arch/arm64/include/asm/irqflags.h:122 [inline]
 __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline]
 _raw_spin_unlock_irqrestore+0xbc/0x158 kernel/locking/spinlock.c:194
 spin_unlock_irqrestore include/linux/spinlock.h:418 [inline]
 taprio_change+0x2fb0/0x3770 net/sched/sch_taprio.c:1620
 taprio_init+0x46c/0x514 net/sched/sch_taprio.c:1752
 qdisc_create+0x6fc/0xf44 net/sched/sch_api.c:1269
 tc_modify_qdisc+0x8fc/0x1364
 rtnetlink_rcv_msg+0xa74/0xdac net/core/rtnetlink.c:5647
 netlink_rcv_skb+0x20c/0x3b8 net/netlink/af_netlink.c:2504
 rtnetlink_rcv+0x28/0x38 net/core/rtnetlink.c:5665
 netlink_unicast_kernel net/netlink/af_netlink.c:1326 [inline]
 netlink_unicast+0x664/0x938 net/netlink/af_netlink.c:1352
 netlink_sendmsg+0x844/0xb38 net/netlink/af_netlink.c:1920
 sock_sendmsg_nosec net/socket.c:704 [inline]
 __sock_sendmsg net/socket.c:716 [inline]
 ____sys_sendmsg+0x584/0x870 net/socket.c:2436
 ___sys_sendmsg+0x214/0x294 net/socket.c:2490
 __sys_sendmsg net/socket.c:2519 [inline]
 __do_sys_sendmsg net/socket.c:2528 [inline]
 __se_sys_sendmsg net/socket.c:2526 [inline]
 __arm64_sys_sendmsg+0x1ac/0x25c net/socket.c:2526
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181
 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:608
 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:626
 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/11/10 16:34 linux-5.15.y 3c17fc483905 6b856513 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: soft lockup in tc_modify_qdisc
2024/10/27 18:53 linux-5.15.y 74cdd62cb470 65e8686b .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: soft lockup in tc_modify_qdisc
2024/08/13 15:46 linux-5.15.y 7e89efd3ae1c f21a18ca .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in tc_modify_qdisc
2024/11/22 17:57 linux-5.15.y 0a51d2d4527b 4b25d554 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: soft lockup in tc_modify_qdisc
2024/09/17 19:58 linux-5.15.y 3a5928702e71 c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 BUG: soft lockup in tc_modify_qdisc
* Struck through repros no longer work on HEAD.