syzbot


INFO: rcu detected stall in __perf_sw_event (2)

Status: upstream: reported C repro on 2020/01/20 09:59
Reported-by: syzbot+f943e6800c765f72b1f5@syzkaller.appspotmail.com
First crash: 1767d, last: 630d
Fix bisection: failed (error log, bisect log)
  
Similar bugs (8)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 INFO: rcu detected stall in __perf_sw_event 2 1896d 1963d 0/1 auto-closed as invalid on 2020/01/11 01:03
android-414 INFO: rcu detected stall in __perf_sw_event 13 2154d 2049d 0/1 auto-closed as invalid on 2019/06/27 14:55
linux-4.14 INFO: rcu detected stall in __perf_sw_event C 3 633d 1578d 0/1 upstream: reported C repro on 2020/07/27 06:04
android-49 INFO: rcu detected stall in __perf_sw_event C 23 2052d 2049d 0/3 public: reported C repro on 2019/04/13 00:00
upstream INFO: rcu detected stall in __perf_sw_event perf syz done error 99 1295d 2114d 0/28 auto-obsoleted due to no activity on 2023/01/16 15:10
android-54 BUG: soft lockup in __perf_sw_event (2) C 4 229d 1217d 0/2 auto-obsoleted due to no activity on 2024/07/15 16:35
linux-4.14 BUG: soft lockup in __perf_sw_event C error 9 755d 1296d 0/1 upstream: reported C repro on 2021/05/04 21:59
android-54 BUG: soft lockup in __perf_sw_event 2 1424d 1437d 0/2 auto-closed as invalid on 2021/04/27 17:47

Sample crash report:
rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 	1-....: (10499 ticks this GP) idle=f26/1/0x4000000000000002 softirq=22656/22656 fqs=4687 
rcu: 	 (t=10500 jiffies g=14577 q=17721)
NMI backtrace for cpu 1
CPU: 1 PID: 10893 Comm: syz-executor650 Not tainted 4.19.179-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 <IRQ>
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1fc/0x2ef lib/dump_stack.c:118
 nmi_cpu_backtrace.cold+0x63/0xa2 lib/nmi_backtrace.c:101
 nmi_trigger_cpumask_backtrace+0x1a6/0x1f0 lib/nmi_backtrace.c:62
 trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline]
 rcu_dump_cpu_stacks+0x15f/0x19c kernel/rcu/tree.c:1340
 print_cpu_stall kernel/rcu/tree.c:1478 [inline]
 check_cpu_stall kernel/rcu/tree.c:1550 [inline]
 __rcu_pending kernel/rcu/tree.c:3293 [inline]
 rcu_pending kernel/rcu/tree.c:3336 [inline]
 rcu_check_callbacks.cold+0x62d/0xe19 kernel/rcu/tree.c:2682
 update_process_times+0x2a/0x70 kernel/time/timer.c:1650
 tick_sched_handle+0x9b/0x180 kernel/time/tick-sched.c:168
 tick_sched_timer+0xfc/0x290 kernel/time/tick-sched.c:1278
 __run_hrtimer kernel/time/hrtimer.c:1401 [inline]
 __hrtimer_run_queues+0x3f6/0xe60 kernel/time/hrtimer.c:1463
 hrtimer_interrupt+0x32a/0x930 kernel/time/hrtimer.c:1521
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1071 [inline]
 smp_apic_timer_interrupt+0x10c/0x550 arch/x86/kernel/apic/apic.c:1096
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894
 </IRQ>
RIP: 0010:bytes_is_nonzero mm/kasan/kasan.c:169 [inline]
RIP: 0010:memory_is_nonzero mm/kasan/kasan.c:184 [inline]
RIP: 0010:memory_is_poisoned_n mm/kasan/kasan.c:210 [inline]
RIP: 0010:memory_is_poisoned mm/kasan/kasan.c:241 [inline]
RIP: 0010:check_memory_region_inline mm/kasan/kasan.c:257 [inline]
RIP: 0010:check_memory_region+0xbf/0x170 mm/kasan/kasan.c:267
Code: 50 08 eb 09 48 83 c0 01 48 39 d0 74 0e 80 38 00 74 f2 48 85 c0 0f 85 9c 00 00 00 5b 5d 41 5c c3 48 85 d2 74 f6 48 01 ea eb 09 <48> 83 c0 01 48 39 d0 74 e8 80 38 00 74 f2 eb d8 41 bc 08 00 00 00
RSP: 0018:ffff888096c2f118 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13
RAX: ffffed1012d85e53 RBX: ffffed1012d85e54 RCX: ffffffff81760a6e
RDX: ffffed1012d85e54 RSI: 0000000000000010 RDI: ffff888096c2f290
RBP: ffffed1012d85e52 R08: 0000000000000000 R09: ffffed1012d85e53
R10: ffff888096c2f29f R11: ffffffff8c65e05b R12: 0000000000000010
R13: ffff888096c2f290 R14: 1ffff11012d85e99 R15: 0000000000000010
 memcpy+0x20/0x50 mm/kasan/kasan.c:302
 memcpy include/linux/string.h:377 [inline]
 memcpy_common kernel/events/internal.h:172 [inline]
 __output_copy kernel/events/internal.h:176 [inline]
 perf_output_read_group kernel/events/core.c:6197 [inline]
 perf_output_read+0xd2e/0x1270 kernel/events/core.c:6230
 perf_output_sample+0xc1b/0x18f0 kernel/events/core.c:6272
 __perf_event_output kernel/events/core.c:6597 [inline]
 perf_event_output_forward+0x12f/0x270 kernel/events/core.c:6610
 __perf_event_overflow+0x13c/0x370 kernel/events/core.c:7883
 perf_swevent_overflow kernel/events/core.c:7959 [inline]
 perf_swevent_event+0x347/0x550 kernel/events/core.c:7987
 do_perf_sw_event kernel/events/core.c:8100 [inline]
 ___perf_sw_event+0x309/0x570 kernel/events/core.c:8131
 __perf_sw_event+0x58/0x120 kernel/events/core.c:8143
 perf_sw_event include/linux/perf_event.h:1069 [inline]
 __do_page_fault+0x80e/0xd60 arch/x86/mm/fault.c:1453
 page_fault+0x1e/0x30 arch/x86/entry/entry_64.S:1205
RIP: 0010:copy_user_enhanced_fast_string+0xe/0x20 arch/x86/lib/copy_user_64.S:181
Code: 89 d1 c1 e9 03 83 e2 07 f3 48 a5 89 d1 f3 a4 31 c0 0f 1f 00 c3 0f 1f 80 00 00 00 00 0f 1f 00 83 fa 40 0f 82 70 ff ff ff 89 d1 <f3> a4 31 c0 0f 1f 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 00 83
RSP: 0018:ffff888096c2fa50 EFLAGS: 00010202
RAX: ffffed1012a88f50 RBX: 0000000000007a80 RCX: 0000000000004fcb
RDX: 0000000000007a80 RSI: 0000000020f00000 RDI: ffff888095442ab5
RBP: 0000000020efd54b R08: 0000000000000001 R09: ffffed1012a88f4f
R10: ffff888095447a7f R11: 0000000000000000 R12: ffff888095440000
R13: 0000000020f04fcb R14: 00007ffffffff000 R15: 0000000000000000
 copy_user_generic arch/x86/include/asm/uaccess_64.h:37 [inline]
 raw_copy_from_user arch/x86/include/asm/uaccess_64.h:71 [inline]
 copyin+0xcd/0xf0 lib/iov_iter.c:146
 _copy_from_iter_full+0x1df/0x7c0 lib/iov_iter.c:724
 copy_from_iter_full include/linux/uio.h:124 [inline]
 skb_do_copy_data_nocache include/net/sock.h:1968 [inline]
 skb_copy_to_page_nocache include/net/sock.h:1994 [inline]
 tcp_sendmsg_locked+0x1261/0x2f60 net/ipv4/tcp.c:1364
 tcp_sendmsg+0x2b/0x40 net/ipv4/tcp.c:1462
 inet_sendmsg+0x132/0x5a0 net/ipv4/af_inet.c:798
 sock_sendmsg_nosec net/socket.c:622 [inline]
 sock_sendmsg+0xc3/0x120 net/socket.c:632
 __sys_sendto+0x21a/0x320 net/socket.c:1787
 __do_sys_sendto net/socket.c:1799 [inline]
 __se_sys_sendto net/socket.c:1795 [inline]
 __x64_sys_sendto+0xdd/0x1b0 net/socket.c:1795
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x449289
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 a1 15 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f1d7629f308 EFLAGS: 00000246 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00000000004cf508 RCX: 0000000000449289
RDX: ffffffffffffffef RSI: 0000000020d7cfcb RDI: 0000000000000006
RBP: 00000000004cf500 R08: 0000000000000000 R09: 0000000000000053
R10: ffffffffffffffff R11: 0000000000000246 R12: 000000000049e484
R13: 00007ffed34c40df R14: 00007f1d7629f400 R15: 0000000000022000

Crashes (133):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/03/09 13:02 linux-4.19.y 2cae3e25b706 09fbf400 .config console log report syz C ci2-linux-4-19 INFO: rcu detected stall in __perf_sw_event
2021/02/09 05:53 linux-4.19.y 811218eceeaa 2bd9619f .config console log report syz C ci2-linux-4-19 INFO: rcu detected stall in __perf_sw_event
2023/02/28 03:54 linux-4.19.y 3f8a27f9e27b 95aee97a .config console log report syz C [disk image] [vmlinux] ci2-linux-4-19 BUG: soft lockup in __perf_sw_event
2022/11/24 09:55 linux-4.19.y 3f8a27f9e27b ff68ff8f .config console log report syz C [disk image] [vmlinux] ci2-linux-4-19 BUG: soft lockup in __perf_sw_event
2022/11/22 01:03 linux-4.19.y 3f8a27f9e27b 1c576c23 .config console log report syz C [disk image] [vmlinux] ci2-linux-4-19 BUG: soft lockup in __perf_sw_event
2022/08/10 08:14 linux-4.19.y 3f8a27f9e27b c2a623d6 .config console log report syz C ci2-linux-4-19 BUG: soft lockup in __perf_sw_event
2022/07/18 01:52 linux-4.19.y 3f8a27f9e27b 95cb00d1 .config console log report syz C ci2-linux-4-19 BUG: soft lockup in __perf_sw_event
2022/07/16 05:57 linux-4.19.y 3f8a27f9e27b 95cb00d1 .config console log report syz C ci2-linux-4-19 BUG: soft lockup in __perf_sw_event
2022/04/05 01:27 linux-4.19.y 3f8a27f9e27b 5915c2cb .config console log report syz C ci2-linux-4-19 BUG: soft lockup in __perf_sw_event
2021/12/31 09:31 linux-4.19.y 3f8a27f9e27b 36bd2e48 .config console log report syz C ci2-linux-4-19 BUG: soft lockup in __perf_sw_event
2021/12/22 22:20 linux-4.19.y 3f8a27f9e27b 6caa12e4 .config console log report syz C ci2-linux-4-19 BUG: soft lockup in __perf_sw_event
2021/12/21 17:32 linux-4.19.y 3f8a27f9e27b a938f0b8 .config console log report syz C ci2-linux-4-19 BUG: soft lockup in __perf_sw_event
2021/09/21 22:07 linux-4.19.y b172b44fcb17 169724fe .config console log report syz C ci2-linux-4-19 BUG: soft lockup in __perf_sw_event
2021/08/02 03:55 linux-4.19.y 53bd76690e27 6c236867 .config console log report syz C ci2-linux-4-19 BUG: soft lockup in __perf_sw_event
2021/06/28 03:25 linux-4.19.y eb575cd5d7f6 9d2ab5df .config console log report syz C ci2-linux-4-19 BUG: soft lockup in __perf_sw_event
2021/06/22 13:11 linux-4.19.y eb575cd5d7f6 aba2b2fb .config console log report syz C ci2-linux-4-19 BUG: soft lockup in __perf_sw_event
2021/06/13 11:07 linux-4.19.y 9a2dc0e6c531 1ba81399 .config console log report syz C ci2-linux-4-19 BUG: soft lockup in __perf_sw_event
2020/01/20 15:03 linux-4.19.y dc4ba5be1bab c40da18c .config console log report syz C ci2-linux-4-19
2023/03/02 16:46 linux-4.19.y 3f8a27f9e27b f8902b57 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: soft lockup in __perf_sw_event
2023/02/25 19:04 linux-4.19.y 3f8a27f9e27b ee50e71c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: soft lockup in __perf_sw_event
2023/02/23 11:36 linux-4.19.y 3f8a27f9e27b 9e2ebb3c .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: soft lockup in __perf_sw_event
2023/02/09 18:21 linux-4.19.y 3f8a27f9e27b 07980f9d .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: soft lockup in __perf_sw_event
2023/02/09 04:24 linux-4.19.y 3f8a27f9e27b 14a312c8 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: soft lockup in __perf_sw_event
2023/02/08 06:31 linux-4.19.y 3f8a27f9e27b 15c3d445 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: soft lockup in __perf_sw_event
2023/02/08 02:31 linux-4.19.y 3f8a27f9e27b 15c3d445 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: soft lockup in __perf_sw_event
2023/02/06 14:00 linux-4.19.y 3f8a27f9e27b 0a9c11b6 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: soft lockup in __perf_sw_event
2022/12/05 15:39 linux-4.19.y 3f8a27f9e27b 045cbb84 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: soft lockup in __perf_sw_event
2022/11/21 21:00 linux-4.19.y 3f8a27f9e27b 1c576c23 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: soft lockup in __perf_sw_event
2022/11/10 17:07 linux-4.19.y 3f8a27f9e27b 3ead01ad .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: soft lockup in __perf_sw_event
2022/11/01 03:31 linux-4.19.y 3f8a27f9e27b a1d8560a .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: soft lockup in __perf_sw_event
2022/10/24 03:25 linux-4.19.y 3f8a27f9e27b 23bf86af .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: soft lockup in __perf_sw_event
2022/10/17 17:50 linux-4.19.y 3f8a27f9e27b 94744d21 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: soft lockup in __perf_sw_event
2022/10/13 09:28 linux-4.19.y 3f8a27f9e27b 3f6b40a1 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: soft lockup in __perf_sw_event
2022/10/11 18:25 linux-4.19.y 3f8a27f9e27b 02b6492e .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: soft lockup in __perf_sw_event
2022/10/05 22:04 linux-4.19.y 3f8a27f9e27b 2c6543ad .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: soft lockup in __perf_sw_event
2022/10/05 02:47 linux-4.19.y 3f8a27f9e27b 267e3bb1 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: soft lockup in __perf_sw_event
2022/10/04 00:36 linux-4.19.y 3f8a27f9e27b feb56351 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: soft lockup in __perf_sw_event
2022/09/12 16:46 linux-4.19.y 3f8a27f9e27b f371ed7e .config console log report info ci2-linux-4-19 BUG: soft lockup in __perf_sw_event
2022/09/09 11:31 linux-4.19.y 3f8a27f9e27b 90058bdc .config console log report info ci2-linux-4-19 BUG: soft lockup in __perf_sw_event
2022/09/08 11:26 linux-4.19.y 3f8a27f9e27b f3027468 .config console log report info ci2-linux-4-19 BUG: soft lockup in __perf_sw_event
2022/09/02 15:00 linux-4.19.y 3f8a27f9e27b 25194605 .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: soft lockup in __perf_sw_event
2022/09/02 02:55 linux-4.19.y 3f8a27f9e27b a805568e .config console log report info [disk image] [vmlinux] ci2-linux-4-19 BUG: soft lockup in __perf_sw_event
2022/08/29 07:55 linux-4.19.y 3f8a27f9e27b 07177916 .config console log report info ci2-linux-4-19 BUG: soft lockup in __perf_sw_event
2022/08/27 02:35 linux-4.19.y 3f8a27f9e27b 07177916 .config console log report info ci2-linux-4-19 BUG: soft lockup in __perf_sw_event
2022/08/16 16:32 linux-4.19.y 3f8a27f9e27b 7a7cb304 .config console log report info ci2-linux-4-19 BUG: soft lockup in __perf_sw_event
2022/08/12 14:31 linux-4.19.y 3f8a27f9e27b 402cd70d .config console log report info ci2-linux-4-19 BUG: soft lockup in __perf_sw_event
2022/08/12 04:34 linux-4.19.y 3f8a27f9e27b 21724cb2 .config console log report info ci2-linux-4-19 BUG: soft lockup in __perf_sw_event
2022/07/28 09:04 linux-4.19.y 3f8a27f9e27b fb95c74d .config console log report info ci2-linux-4-19 BUG: soft lockup in __perf_sw_event
2022/07/24 02:40 linux-4.19.y 3f8a27f9e27b 22343af4 .config console log report info ci2-linux-4-19 BUG: soft lockup in __perf_sw_event
2022/07/20 14:46 linux-4.19.y 3f8a27f9e27b 88cb1383 .config console log report info ci2-linux-4-19 BUG: soft lockup in __perf_sw_event
2022/07/16 15:45 linux-4.19.y 3f8a27f9e27b 95cb00d1 .config console log report info ci2-linux-4-19 BUG: soft lockup in __perf_sw_event
2022/07/16 01:46 linux-4.19.y 3f8a27f9e27b 95cb00d1 .config console log report info ci2-linux-4-19 BUG: soft lockup in __perf_sw_event
2022/07/03 12:58 linux-4.19.y 3f8a27f9e27b 1434eec0 .config console log report info ci2-linux-4-19 BUG: soft lockup in __perf_sw_event
2022/06/29 11:02 linux-4.19.y 3f8a27f9e27b 1434eec0 .config console log report info ci2-linux-4-19 BUG: soft lockup in __perf_sw_event
2022/06/20 14:20 linux-4.19.y 3f8a27f9e27b b9406563 .config console log report info ci2-linux-4-19 BUG: soft lockup in __perf_sw_event
2022/06/08 07:49 linux-4.19.y 3f8a27f9e27b b2706118 .config console log report info ci2-linux-4-19 BUG: soft lockup in __perf_sw_event
2022/05/22 13:16 linux-4.19.y 3f8a27f9e27b 7268fa62 .config console log report info ci2-linux-4-19 BUG: soft lockup in __perf_sw_event
2022/05/08 13:58 linux-4.19.y 3f8a27f9e27b e60b1103 .config console log report info ci2-linux-4-19 BUG: soft lockup in __perf_sw_event
2022/04/20 03:19 linux-4.19.y 3f8a27f9e27b 7d7bc738 .config console log report info ci2-linux-4-19 BUG: soft lockup in __perf_sw_event
2022/04/09 00:09 linux-4.19.y 3f8a27f9e27b e22c3da3 .config console log report info ci2-linux-4-19 BUG: soft lockup in __perf_sw_event
2022/03/17 04:36 linux-4.19.y 3f8a27f9e27b dfa9a8ed .config console log report info ci2-linux-4-19 BUG: soft lockup in __perf_sw_event
2020/11/29 00:07 linux-4.19.y 0c88e405c97e a0092f9d .config console log report info ci2-linux-4-19
2020/01/20 09:58 linux-4.19.y dc4ba5be1bab c40da18c .config console log report ci2-linux-4-19
* Struck through repros no longer work on HEAD.