syzbot


INFO: rcu detected stall in sys_sendmmsg (3)

Status: upstream: reported on 2024/09/24 23:49
Reported-by: syzbot+e8871fffda61739f0615@syzkaller.appspotmail.com
First crash: 3d00h, last: 3d00h
Similar bugs (13)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream INFO: rcu detected stall in sys_sendmmsg (2) kernel 2 1760d 1761d 0/28 closed as invalid on 2019/12/04 14:14
upstream INFO: rcu detected stall in sys_sendmmsg (6) mm net 3 290d 336d 0/28 auto-obsoleted due to no activity on 2024/03/11 17:33
linux-6.1 INFO: rcu detected stall in sys_sendmmsg 2 65d 111d 0/3 upstream: reported on 2024/06/08 04:23
linux-6.1 BUG: soft lockup in sys_sendmmsg 2 455d 483d 0/3 auto-obsoleted due to no activity on 2023/10/08 22:57
linux-5.15 INFO: rcu detected stall in sys_sendmmsg 1 542d 542d 0/3 auto-obsoleted due to no activity on 2023/08/02 15:37
upstream INFO: rcu detected stall in sys_sendmmsg (3) kernel 3 995d 1095d 0/28 closed as invalid on 2022/02/08 10:00
linux-5.15 INFO: rcu detected stall in sys_sendmmsg (2) 1 141d 141d 0/3 auto-obsoleted due to no activity on 2024/08/17 11:17
upstream INFO: rcu detected stall in sys_sendmmsg (5) net 3 481d 494d 0/28 auto-obsoleted due to no activity on 2023/09/03 00:09
upstream INFO: rcu detected stall in sys_sendmmsg net 2 1844d 1845d 13/28 fixed on 2019/10/09 10:54
upstream INFO: rcu detected stall in sys_sendmmsg (4) net 1 793d 793d 0/28 auto-obsoleted due to no activity on 2022/10/25 00:28
android-5-15 BUG: soft lockup in sys_sendmmsg 1 124d 124d 0/2 auto-obsoleted due to no activity on 2024/08/24 08:55
android-6-1 BUG: soft lockup in sys_sendmmsg 1 336d 336d 0/2 auto-obsoleted due to no activity on 2024/01/25 01:21
android-5-10 BUG: soft lockup in sys_sendmmsg 2 40d 40d 0/2 premoderation: reported on 2024/08/19 00:01

Sample crash report:
rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
rcu: 	1-...0: (1 GPs behind) idle=61b/1/0x4000000000000000 softirq=45806/45807 fqs=2100 
	(detected by 0, t=10505 jiffies, g=56641, q=228)
Sending NMI from CPU 0 to CPUs 1:
NMI backtrace for cpu 1
CPU: 1 PID: 10174 Comm: syz.1.1091 Not tainted 5.15.167-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/06/2024
RIP: 0010:check_region_inline mm/kasan/generic.c:172 [inline]
RIP: 0010:kasan_check_range+0x11/0x290 mm/kasan/generic.c:189
Code: ea ff ff ff c3 0f 0b b8 ea ff ff ff c3 cc cc cc cc cc cc cc cc cc cc cc cc 55 41 57 41 56 53 b0 01 48 85 f6 0f 84 9a 01 00 00 <48> 89 fd 48 01 f5 0f 82 59 02 00 00 48 89 fd 48 c1 ed 2f 81 fd ff
RSP: 0018:ffffc90000dd0a38 EFLAGS: 00000002
RAX: 0000000000000001 RBX: 0000000000000a2a RCX: ffffffff8162c589
RDX: 0000000000000000 RSI: 0000000000000008 RDI: ffffffff90712200
RBP: 980f55c923741255 R08: dffffc0000000000 R09: fffffbfff20e242d
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001
R13: ffff88801ad90ae8 R14: ffff88801ad90000 R15: ffff88801ad90b38
FS:  00007f601e37c6c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b31610ff8 CR3: 0000000062932000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <NMI>
 </NMI>
 <IRQ>
 instrument_atomic_read include/linux/instrumented.h:71 [inline]
 test_bit include/asm-generic/bitops/instrumented-non-atomic.h:134 [inline]
 hlock_class kernel/locking/lockdep.c:197 [inline]
 __lock_acquire+0x1209/0x1ff0 kernel/locking/lockdep.c:5009
 lock_acquire+0x1db/0x4f0 kernel/locking/lockdep.c:5623
 __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline]
 _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:154
 spin_lock include/linux/spinlock.h:363 [inline]
 advance_sched+0x47/0x940 net/sched/sch_taprio.c:716
 __run_hrtimer kernel/time/hrtimer.c:1688 [inline]
 __hrtimer_run_queues+0x598/0xcf0 kernel/time/hrtimer.c:1752
 hrtimer_interrupt+0x392/0x980 kernel/time/hrtimer.c:1814
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1085 [inline]
 __sysvec_apic_timer_interrupt+0x139/0x470 arch/x86/kernel/apic/apic.c:1102
 sysvec_apic_timer_interrupt+0x8c/0xb0 arch/x86/kernel/apic/apic.c:1096
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638
RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:135 [inline]
RIP: 0010:memory_is_poisoned mm/kasan/generic.c:159 [inline]
RIP: 0010:check_region_inline mm/kasan/generic.c:180 [inline]
RIP: 0010:kasan_check_range+0x26d/0x290 mm/kasan/generic.c:189
Code: 29 06 4c 89 cd 4d 85 c9 0f 84 5a ff ff ff 4c 8d 4c 3e ff 4c 89 cb 48 c1 eb 03 4c 01 c3 48 39 dd 75 11 41 83 e1 07 48 0f be 2b <49> 39 e9 0f 8c 35 ff ff ff 0f b6 d2 e8 42 f3 ff ff 34 01 e9 26 ff
RSP: 0018:ffffc90002ea7638 EFLAGS: 00000206
RAX: 0000000000000001 RBX: fffff520005d4ed8 RCX: ffffffff8164233a
RDX: 0000000000000001 RSI: 0000000000000004 RDI: ffffc90002ea76c0
RBP: 0000000000000004 R08: dffffc0000000000 R09: 0000000000000003
R10: ffffffffffffffff R11: dffffc0000000001 R12: ffff88803ab8d670
R13: 1ffff920005d4ed8 R14: fffff520005d4ed9 R15: 1ffff11007571acf
 instrument_atomic_read_write include/linux/instrumented.h:101 [inline]
 atomic_try_cmpxchg_acquire include/linux/atomic/atomic-instrumented.h:512 [inline]
 queued_spin_lock include/asm-generic/qspinlock.h:82 [inline]
 do_raw_spin_lock+0x14a/0x370 kernel/locking/spinlock_debug.c:115
 spin_lock include/linux/spinlock.h:363 [inline]
 unix_dgram_sendmsg+0xd64/0x2090 net/unix/af_unix.c:1836
 sock_sendmsg_nosec net/socket.c:704 [inline]
 __sock_sendmsg net/socket.c:716 [inline]
 ____sys_sendmsg+0x59e/0x8f0 net/socket.c:2431
 ___sys_sendmsg+0x252/0x2e0 net/socket.c:2485
 __sys_sendmmsg+0x2bf/0x560 net/socket.c:2571
 __do_sys_sendmmsg net/socket.c:2600 [inline]
 __se_sys_sendmmsg net/socket.c:2597 [inline]
 __x64_sys_sendmmsg+0x9c/0xb0 net/socket.c:2597
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f601ff03ef9
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:00007f601e37c038 EFLAGS: 00000246 ORIG_RAX: 0000000000000133
RAX: ffffffffffffffda RBX: 00007f60200bbf80 RCX: 00007f601ff03ef9
RDX: 0000000000000318 RSI: 00000000200bd000 RDI: 0000000000000006
RBP: 00007f601ff76b76 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f60200bbf80 R15: 00007ffe0cdb22e8
 </TASK>

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/09/24 23:49 linux-5.15.y 3a5928702e71 5643e0e9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan INFO: rcu detected stall in sys_sendmmsg
* Struck through repros no longer work on HEAD.