syzbot


INFO: rcu detected stall in hidp_sock_ioctl

Status: auto-obsoleted due to no activity on 2025/04/26 22:04
Subsystems: kernel
[Documentation on labels]
First crash: 216d, last: 216d

Sample crash report:
rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 	0-...!: (10500 ticks this GP) idle=76ac/1/0x4000000000000000 softirq=12698/12698 fqs=0
rcu: 	(t=10500 jiffies g=9133 q=1831 ncpus=2)
rcu: rcu_preempt kthread timer wakeup didn't happen for 10499 jiffies! g9133 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402
rcu: 	Possible timer handling issue on cpu=0 timer-softirq=4256
rcu: rcu_preempt kthread starved for 10500 jiffies! g9133 f0x0 RCU_GP_WAIT_FQS(5) ->state=0x402 ->cpu=0
rcu: 	Unless rcu_preempt kthread gets sufficient CPU time, OOM is now expected behavior.
rcu: RCU grace-period kthread stack dump:
task:rcu_preempt     state:I stack:25784 pid:17    tgid:17    ppid:2      flags:0x00004000
Call Trace:
 <TASK>
 context_switch kernel/sched/core.c:5373 [inline]
 __schedule+0x186c/0x4be0 kernel/sched/core.c:6760
 __schedule_loop kernel/sched/core.c:6837 [inline]
 schedule+0x14b/0x320 kernel/sched/core.c:6852
 schedule_timeout+0x15a/0x290 kernel/time/sleep_timeout.c:99
 rcu_gp_fqs_loop+0x2df/0x1330 kernel/rcu/tree.c:2024
 rcu_gp_kthread+0xa7/0x3b0 kernel/rcu/tree.c:2226
 kthread+0x7a9/0x920 kernel/kthread.c:464
 ret_from_fork+0x4b/0x80 arch/x86/kernel/process.c:148
 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
 </TASK>
CPU: 0 UID: 0 PID: 6359 Comm: syz.4.128 Not tainted 6.13.0-syzkaller-04057-g15a901361ec3 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024
RIP: 0010:taprio_dequeue_tc_priority+0x2d4/0x7a0 net/sched/sch_taprio.c:797
Code: 00 48 85 db 0f 85 81 04 00 00 e8 57 57 ca f7 48 b8 00 00 00 00 00 fc ff df 41 0f b6 04 07 84 c0 0f 85 22 01 00 00 8b 44 24 0c <41> 39 45 00 48 8b 6c 24 60 4c 8b 7c 24 58 0f 84 74 03 00 00 e8 23
RSP: 0018:ffffc90000007480 EFLAGS: 00000246
RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff888033ff9e00
RDX: 0000000000000100 RSI: 0000000000000010 RDI: 0000000000000009
RBP: 0000000000000009 R08: ffffffff89d5241e R09: 1ffffffff285eb08
R10: dffffc0000000000 R11: ffffffff89c70520 R12: dffffc0000000000
R13: ffff88805b060394 R14: 0000000000000001 R15: 1ffff1100b60c072
FS:  00007f52278976c0(0000) GS:ffff8880b8600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000007bf9e000 CR4: 00000000003526f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 taprio_dequeue+0x186/0x550
 dequeue_skb net/sched/sch_generic.c:293 [inline]
 qdisc_restart net/sched/sch_generic.c:398 [inline]
 __qdisc_run+0x272/0x2180 net/sched/sch_generic.c:416
 __dev_xmit_skb net/core/dev.c:4043 [inline]
 __dev_queue_xmit+0x10dd/0x3f50 net/core/dev.c:4550
 dev_queue_xmit include/linux/netdevice.h:3305 [inline]
 tipc_l2_send_msg+0x321/0x3f0 net/tipc/bearer.c:516
 tipc_bearer_xmit_skb+0x2f5/0x460 net/tipc/bearer.c:575
 tipc_disc_timeout+0x5ee/0x760 net/tipc/discover.c:338
 call_timer_fn+0x187/0x650 kernel/time/timer.c:1789
 expire_timers kernel/time/timer.c:1840 [inline]
 __run_timers kernel/time/timer.c:2414 [inline]
 __run_timer_base+0x66a/0x8e0 kernel/time/timer.c:2426
 run_timer_base kernel/time/timer.c:2435 [inline]
 run_timer_softirq+0xb7/0x170 kernel/time/timer.c:2445
 handle_softirqs+0x2d4/0x9b0 kernel/softirq.c:561
 __do_softirq kernel/softirq.c:595 [inline]
 invoke_softirq kernel/softirq.c:435 [inline]
 __irq_exit_rcu+0xf7/0x220 kernel/softirq.c:662
 irq_exit_rcu+0x9/0x30 kernel/softirq.c:678
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1049 [inline]
 sysvec_apic_timer_interrupt+0xa6/0xc0 arch/x86/kernel/apic/apic.c:1049
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:702
RIP: 0010:orc_ip arch/x86/kernel/unwind_orc.c:80 [inline]
RIP: 0010:__orc_find arch/x86/kernel/unwind_orc.c:102 [inline]
RIP: 0010:orc_find arch/x86/kernel/unwind_orc.c:227 [inline]
RIP: 0010:unwind_next_frame+0x6d5/0x22d0 arch/x86/kernel/unwind_orc.c:494
Code: 89 c1 48 c1 f9 02 48 c1 e8 3f 48 01 c8 48 83 e0 fe 49 8d 1c 46 48 89 d8 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df 0f b6 04 08 <84> c0 75 27 48 63 03 48 01 d8 48 8d 4b 04 4c 39 f8 4c 0f 46 f1 48
RSP: 0018:ffffc9000bbdecf0 EFLAGS: 00000a02
RAX: 0000000000000000 RBX: ffffffff90718558 RCX: dffffc0000000000
RDX: 00000000000b0001 RSI: ffffffff9109d678 RDI: ffffffff814bbe70
RBP: ffffffff90718558 R08: 0000000000000001 R09: ffffc9000bbdeeb0
R10: ffffc9000bbdee10 R11: ffffffff818b3db0 R12: ffffffff90718558
R13: ffffffff90718558 R14: ffffffff90718558 R15: ffffffff87cf0b9a
 arch_stack_walk+0x11c/0x150 arch/x86/kernel/stacktrace.c:25
 stack_trace_save+0x118/0x1d0 kernel/stacktrace.c:122
 kasan_save_stack mm/kasan/common.c:47 [inline]
 kasan_save_track+0x3f/0x80 mm/kasan/common.c:68
 unpoison_slab_object mm/kasan/common.c:319 [inline]
 __kasan_slab_alloc+0x66/0x80 mm/kasan/common.c:345
 kasan_slab_alloc include/linux/kasan.h:250 [inline]
 slab_post_alloc_hook mm/slub.c:4119 [inline]
 slab_alloc_node mm/slub.c:4168 [inline]
 kmem_cache_alloc_node_noprof+0x1d9/0x380 mm/slub.c:4220
 __alloc_skb+0x1c3/0x440 net/core/skbuff.c:668
 alloc_skb include/linux/skbuff.h:1331 [inline]
 alloc_uevent_skb+0x74/0x230 lib/kobject_uevent.c:289
 uevent_net_broadcast_untagged lib/kobject_uevent.c:326 [inline]
 kobject_uevent_net_broadcast+0x2fd/0x580 lib/kobject_uevent.c:410
 kobject_uevent_env+0x57d/0x8e0 lib/kobject_uevent.c:608
 device_add+0x63b/0xbf0 drivers/base/core.c:3646
 device_create_groups_vargs drivers/base/core.c:4392 [inline]
 device_create_with_groups+0x258/0x2e0 drivers/base/core.c:4472
 led_classdev_register_ext+0x45b/0x8e0 drivers/leds/led-class.c:525
 led_classdev_register include/linux/leds.h:274 [inline]
 input_leds_connect+0x489/0x630 drivers/input/input-leds.c:145
 input_attach_handler drivers/input/input.c:1032 [inline]
 input_register_device+0xd3b/0x1110 drivers/input/input.c:2475
 hidp_session_dev_add net/bluetooth/hidp/core.c:861 [inline]
 hidp_session_probe+0x1c1/0x8e0 net/bluetooth/hidp/core.c:1116
 l2cap_register_user+0xfa/0x1e0 net/bluetooth/l2cap_core.c:1709
 hidp_connection_add+0x144b/0x18c0 net/bluetooth/hidp/core.c:1378
 do_hidp_sock_ioctl net/bluetooth/hidp/sock.c:81 [inline]
 hidp_sock_ioctl+0x446/0x870 net/bluetooth/hidp/sock.c:128
 sock_do_ioctl+0x158/0x460 net/socket.c:1194
 sock_ioctl+0x626/0x8e0 net/socket.c:1313
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:906 [inline]
 __se_sys_ioctl+0xf5/0x170 fs/ioctl.c:892
 do_syscall_x64 arch/x86/entry/common.c:52 [inline]
 do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f522698cd29
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f5227897038 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f5226ba5fa0 RCX: 00007f522698cd29
RDX: 00000000200000c0 RSI: 00000000400448c8 RDI: 0000000000000008
RBP: 00007f5226a0e2a0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f5226ba5fa0 R15: 00007ffee88440c8
 </TASK>
sched: DL replenish lagged too much

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/01/26 21:57 net 15a901361ec3 9fbd772e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-net-this-kasan-gce INFO: rcu detected stall in hidp_sock_ioctl
* Struck through repros no longer work on HEAD.