[v6.1] INFO: rcu detected stall in sys_socket (2)

5 views
Skip to first unread message

syzbot

unread,
Jan 8, 2025, 8:02:38 PM1/8/25
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 7dc732d24ff7 Linux 6.1.123
git tree: linux-6.1.y
console output: https://syzkaller.appspot.com/x/log.txt?x=11e6bc18580000
kernel config: https://syzkaller.appspot.com/x/.config?x=b700290711767e0c
dashboard link: https://syzkaller.appspot.com/bug?extid=27bf9653be6f2294e156
compiler: Debian clang version 15.0.6, GNU ld (GNU Binutils for Debian) 2.40

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/a36387a5b4d2/disk-7dc732d2.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/d4d8de3ca47c/vmlinux-7dc732d2.xz
kernel image: https://storage.googleapis.com/syzbot-assets/72a699ab5b28/bzImage-7dc732d2.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+27bf96...@syzkaller.appspotmail.com

rcu: INFO: rcu_preempt detected expedited stalls on CPUs/tasks: { 0-.... } 2634 jiffies s: 17865 root: 0x1/.
rcu: blocking rcu_node structures (internal RCU debug):
Sending NMI from CPU 1 to CPUs 0:
NMI backtrace for cpu 0
CPU: 0 PID: 6264 Comm: syz.5.461 Not tainted 6.1.123-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:bpf_prog_abe3471d98b428a0+0x15/0x17
Code: cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc 0f 1f 44 00 00 66 90 55 48 89 e5 e8 2c bd a1 e1 48 85 c0 77 00 <c9> c3 cc cc cc cc cc c0 00 00 00 cc cc cc cc cc cc cc cc cc cc cc
RSP: 0018:ffffc90000007750 EFLAGS: 00000046
RAX: 0000000000000000 RBX: ffffc90003469048 RCX: ffff88802cd91dc0
RDX: 0000000000000100 RSI: ffffc90003469048 RDI: ffffe8ffffce3c70
RBP: ffffc90000007750 R08: ffffffff8194ae75 R09: fffffbfff2249e4d
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001
R13: dffffc0000000000 R14: ffff88805a15a528 R15: ffffc90003469030
FS: 00007f75c552d6c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2d11cff8 CR3: 00000000749ba000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
Call Trace:
<NMI>
</NMI>
<IRQ>
bpf_dispatcher_nop_func include/linux/bpf.h:992 [inline]
__bpf_prog_run include/linux/filter.h:603 [inline]
bpf_prog_run include/linux/filter.h:610 [inline]
bpf_prog_run_array include/linux/bpf.h:1638 [inline]
trace_call_bpf+0x345/0x6a0 kernel/trace/bpf_trace.c:135
perf_trace_run_bpf_submit+0x7b/0x1d0 kernel/events/core.c:9973
perf_trace_preemptirq_template+0x2d1/0x3d0 include/trace/events/preemptirq.h:14
trace_irq_disable include/trace/events/preemptirq.h:36 [inline]
trace_hardirqs_off_finish+0x150/0x1a0 kernel/trace/trace_preemptirq.c:67
irqentry_enter+0x33/0x50 kernel/entry/common.c:382
sysvec_irq_work+0xa/0xc0 arch/x86/kernel/irq_work.c:17
asm_sysvec_irq_work+0x16/0x20 arch/x86/include/asm/idtentry.h:728
RIP: 0010:rcu_read_unlock_special+0x84/0x540 kernel/rcu/tree_plugin.h:682
Code: f1 f1 f1 00 f2 f2 f2 49 89 04 17 66 41 c7 44 17 09 f3 f3 41 c6 44 17 0b f3 65 44 8b 25 bd 18 8e 7e 41 f7 c4 00 00 f0 00 74 45 <48> c7 44 24 20 0e 36 e0 45 4a c7 04 3a 00 00 00 00 66 42 c7 44 3a
RSP: 0018:ffffc90000007ac0 EFLAGS: 00000206
RAX: 1413d9f14814d200 RBX: 1ffff92000000f60 RCX: ffffffff97356103
RDX: dffffc0000000000 RSI: ffffffff8b0c0340 RDI: ffffffff8b5e6840
RBP: ffffc90000007ba0 R08: ffffffff81b64dac R09: ffffed10171c6ad6
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffffff8d32ff00
R13: ffff88802cd92218 R14: ffffc90000007b00 R15: 1ffff92000000f5c
__rcu_read_unlock+0x92/0x100 kernel/rcu/tree_plugin.h:426
rcu_read_unlock include/linux/rcupdate.h:823 [inline]
ieee80211_iterate_active_interfaces_atomic+0x153/0x170 net/mac80211/util.c:826
mac80211_hwsim_beacon+0xd0/0x1e0 drivers/net/wireless/mac80211_hwsim.c:2142
__run_hrtimer kernel/time/hrtimer.c:1689 [inline]
__hrtimer_run_queues+0x5e5/0xe50 kernel/time/hrtimer.c:1753
hrtimer_run_softirq+0x196/0x2c0 kernel/time/hrtimer.c:1770
handle_softirqs+0x2ee/0xa40 kernel/softirq.c:571
__do_softirq kernel/softirq.c:605 [inline]
invoke_softirq kernel/softirq.c:445 [inline]
__irq_exit_rcu+0x157/0x240 kernel/softirq.c:654
irq_exit_rcu+0x5/0x20 kernel/softirq.c:666
instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1118 [inline]
sysvec_apic_timer_interrupt+0xa0/0xc0 arch/x86/kernel/apic/apic.c:1118
</IRQ>
<TASK>
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:691
RIP: 0010:preempt_count_add+0x40/0x180 kernel/sched/core.c:5710
Code: 00 00 00 fc ff df 42 0f b6 04 38 84 c0 0f 85 e2 00 00 00 83 3d 10 d3 d6 15 00 75 07 65 8b 05 ef e0 a3 7e 65 01 1d e8 e0 a3 7e <48> c7 c0 60 61 35 97 48 c1 e8 03 42 0f b6 04 38 84 c0 0f 85 d9 00
RSP: 0018:ffffc900035f7820 EFLAGS: 00000282
RAX: 0000000080000000 RBX: 0000000000000001 RCX: ffffffff97356103
RDX: ffff88802cd91dc0 RSI: ffffffff8b5e6820 RDI: 0000000000000001
RBP: 0000000000000001 R08: ffffffff81009209 R09: ffffc900035f79b0
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88802cd91dc0
R13: ffffffff81785810 R14: 00007f75c4785d29 R15: dffffc0000000000
is_module_text_address+0x16/0x140 kernel/module/main.c:3102
kernel_text_address+0x8e/0xd0 kernel/extable.c:119
__kernel_text_address+0x9/0x40 kernel/extable.c:79
unwind_get_return_address+0x49/0x80 arch/x86/kernel/unwind_orc.c:323
arch_stack_walk+0xf3/0x140 arch/x86/kernel/stacktrace.c:26
stack_trace_save+0x113/0x1c0 kernel/stacktrace.c:122
kasan_save_stack mm/kasan/common.c:45 [inline]
kasan_set_track+0x4b/0x70 mm/kasan/common.c:52
____kasan_kmalloc mm/kasan/common.c:374 [inline]
__kasan_kmalloc+0x97/0xb0 mm/kasan/common.c:383
kasan_kmalloc include/linux/kasan.h:211 [inline]
__do_kmalloc_node mm/slab_common.c:936 [inline]
__kmalloc+0xb2/0x230 mm/slab_common.c:949
kmalloc include/linux/slab.h:568 [inline]
sk_prot_alloc+0xe0/0x200 net/core/sock.c:2047
sk_alloc+0x36/0x350 net/core/sock.c:2100
packet_create+0xfc/0x7a0 net/packet/af_packet.c:3413
__sock_create+0x488/0x930 net/socket.c:1550
sock_create net/socket.c:1606 [inline]
__sys_socket_create net/socket.c:1643 [inline]
__sys_socket+0x136/0x3a0 net/socket.c:1671
__do_sys_socket net/socket.c:1684 [inline]
__se_sys_socket net/socket.c:1682 [inline]
__x64_sys_socket+0x76/0x80 net/socket.c:1682
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f75c4785d29
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:00007f75c552d038 EFLAGS: 00000246 ORIG_RAX: 0000000000000029
RAX: ffffffffffffffda RBX: 00007f75c4975fa0 RCX: 00007f75c4785d29
RDX: 0000000000000300 RSI: 0200000000000002 RDI: 0000000000000011
RBP: 00007f75c4801b08 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f75c4975fa0 R15: 00007ffed3cb6998
</TASK>


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title

If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)

If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report

If you want to undo deduplication, reply with:
#syz undup

syzbot

unread,
Jun 11, 2025, 12:02:21 PM6/11/25
to syzkaller...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.
Reply all
Reply to author
Forward
0 new messages