syzbot


INFO: rcu detected stall in sendmsg

Status: auto-obsoleted due to no activity on 2023/11/12 19:28
Reported-by: syzbot+a2991b019bb877832a9c@syzkaller.appspotmail.com
First crash: 272d, last: 272d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in sendmsg net 1 940d 940d 0/26 auto-closed as invalid on 2022/01/03 17:11
linux-6.1 INFO: rcu detected stall in sendmsg (2) 1 37d 37d 0/3 upstream: reported on 2024/03/26 03:49
upstream INFO: rcu detected stall in sendmsg (2) batman 1 810d 810d 0/26 auto-closed as invalid on 2022/05/13 12:25

Sample crash report:
rcu: INFO: rcu_preempt detected expedited stalls on CPUs/tasks: { 0-...D } 2631 jiffies s: 31793 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: 14358 Comm: udevd Not tainted 6.1.43-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2023
RIP: 0010:__lock_release kernel/locking/lockdep.c:5323 [inline]
RIP: 0010:lock_release+0x1a5/0xa20 kernel/locking/lockdep.c:5689
Code: 80 3c 3b 00 74 08 4c 89 f7 e8 d7 79 76 00 4c 8b ac 24 b0 00 00 00 fa 48 c7 c7 80 e4 eb 8a e8 72 cc 1a 09 65 ff 05 9b 76 98 7e <48> 8d 9c 24 80 00 00 00 48 c1 eb 03 42 0f b6 04 3b 84 c0 0f 85 6e
RSP: 0018:ffffc90000007b60 EFLAGS: 00000002
RAX: 0000000000000000 RBX: 1ffff92000000f82 RCX: ffffffff816a0147
RDX: 0000000000000000 RSI: ffffffff8aebe480 RDI: ffffffff8b3cdde0
RBP: ffffc90000007ca0 R08: dffffc0000000000 R09: fffffbfff1ce6dfe
R10: 0000000000000000 R11: dffffc0000000001 R12: 1ffff92000000f78
R13: 0000000000000046 R14: ffffc90000007c10 R15: dffffc0000000000
FS:  00007ff849091c80(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fadcd59bf84 CR3: 0000000017676000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 <IRQ>
 __raw_spin_unlock include/linux/spinlock_api_smp.h:141 [inline]
 _raw_spin_unlock+0x12/0x40 kernel/locking/spinlock.c:186
 spin_unlock include/linux/spinlock.h:390 [inline]
 advance_sched+0x68b/0x940 net/sched/sch_taprio.c:749
 __run_hrtimer kernel/time/hrtimer.c:1685 [inline]
 __hrtimer_run_queues+0x5e5/0xe50 kernel/time/hrtimer.c:1749
 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1811
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1095 [inline]
 __sysvec_apic_timer_interrupt+0x156/0x580 arch/x86/kernel/apic/apic.c:1112
 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1106
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:649
RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0xd4/0x130 kernel/locking/spinlock.c:194
Code: 9c 8f 44 24 20 42 80 3c 23 00 74 08 4c 89 f7 e8 d2 db 51 f7 f6 44 24 21 02 75 4e 41 f7 c7 00 02 00 00 74 01 fb bf 01 00 00 00 <e8> 07 53 cf f6 65 8b 05 18 cf 73 75 85 c0 74 3f 48 c7 04 24 0e 36
RSP: 0018:ffffc9000d9e7760 EFLAGS: 00000206
RAX: bf3928e1cba4b400 RBX: 1ffff92001b3cef0 RCX: ffffffff91c8f103
RDX: dffffc0000000000 RSI: ffffffff8aebd7a0 RDI: 0000000000000001
RBP: ffffc9000d9e77f8 R08: dffffc0000000000 R09: fffffbfff23f75a5
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: 1ffff92001b3ceec R14: ffffc9000d9e7780 R15: 0000000000000246
 __debug_check_no_obj_freed lib/debugobjects.c:1022 [inline]
 debug_check_no_obj_freed+0x58d/0x610 lib/debugobjects.c:1043
 slab_free_hook mm/slub.c:1699 [inline]
 slab_free_freelist_hook mm/slub.c:1750 [inline]
 slab_free mm/slub.c:3661 [inline]
 kmem_cache_free+0x241/0x510 mm/slub.c:3683
 netlink_unicast_kernel net/netlink/af_netlink.c:1329 [inline]
 netlink_unicast+0x7c7/0x990 net/netlink/af_netlink.c:1354
 netlink_sendmsg+0xa26/0xd60 net/netlink/af_netlink.c:1903
 sock_sendmsg_nosec net/socket.c:716 [inline]
 sock_sendmsg net/socket.c:736 [inline]
 ____sys_sendmsg+0x59e/0x8f0 net/socket.c:2482
 ___sys_sendmsg net/socket.c:2536 [inline]
 __sys_sendmsg+0x2a9/0x390 net/socket.c:2565
 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+0x63/0xcd
RIP: 0033:0x7ff849175a4b
Code: ff 89 ef 48 89 04 24 e8 22 56 f9 ff 48 8b 04 24 48 83 c4 20 5d c3 c3 64 8b 04 25 18 00 00 00 85 c0 75 20 b8 2e 00 00 00 0f 05 <48> 3d 00 f0 ff ff 76 6d 48 8b 15 ae c3 0c 00 f7 d8 64 89 02 48 83
RSP: 002b:00007ffc8cb02cc8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 000055fe8c00e400 RCX: 00007ff849175a4b
RDX: 0000000000000000 RSI: 00007ffc8cb02cd8 RDI: 000000000000000c
RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000
R10: 000000000000010f R11: 0000000000000246 R12: 0000000000000000
R13: 00000000000000b2 R14: 0000000000000000 R15: 000055fe8bfe9910
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/08/04 19:27 linux-6.1.y 52a953d0934b cdae481e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan INFO: rcu detected stall in sendmsg
* Struck through repros no longer work on HEAD.