syzbot


INFO: rcu detected stall in __perf_sw_event

Status: auto-obsoleted due to no activity on 2023/01/16 15:10
Subsystems: perf
[Documentation on labels]
Reported-by: syzbot+a41ac89a0712acde0e84@syzkaller.appspotmail.com
First crash: 2179d, last: 1246d
Cause bisection: introduced by (bisect log) :
commit cf85d89562f39cc7ae73de54639f1915a9195b7a
Author: Finn Thain <fthain@telegraphics.com.au>
Date: Fri May 25 07:34:36 2018 +0000

  m68k/mac: Enable PDMA for PowerBook 500 series

Crash: INFO: rcu detected stall in __perf_sw_event (log)
Repro: syz .config
  
Fix bisection: failed (error log, bisect log)
  
Discussions (3)
Title Replies (including bot) Last reply
Reminder: 19 open syzbot bugs in perf subsystem 2 (2) 2019/07/24 13:22
Reminder: 22 open syzbot bugs in perf subsystem 7 (7) 2019/07/03 11:34
INFO: rcu detected stall in __perf_sw_event 2 (4) 2019/03/28 08:21
Similar bugs (7)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 INFO: rcu detected stall in __perf_sw_event 2 1847d 1914d 0/1 auto-closed as invalid on 2020/01/11 01:03
linux-4.19 INFO: rcu detected stall in __perf_sw_event (2) C error 133 581d 1718d 0/1 upstream: reported C repro on 2020/01/20 09:59
android-414 INFO: rcu detected stall in __perf_sw_event 13 2105d 2000d 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 584d 1529d 0/1 upstream: reported C repro on 2020/07/27 06:04
android-49 INFO: rcu detected stall in __perf_sw_event C 23 2003d 2000d 0/3 public: reported C repro on 2019/04/13 00:00
android-54 BUG: soft lockup in __perf_sw_event (2) C 4 180d 1168d 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 706d 1247d 0/1 upstream: reported C repro on 2021/05/04 21:59
Last patch testing requests (4)
Created Duration User Patch Repo Result
2023/01/16 13:32 20m retest repro linux-next OK log
2022/10/02 23:30 17m retest repro linux-next error
2022/09/22 11:29 17m retest repro upstream OK log
2022/09/22 08:29 17m retest repro upstream OK log
Fix bisection attempts (3)
Created Duration User Patch Repo Result
2020/11/27 18:26 15m bisect fix upstream error job log
2019/11/09 22:00 34m bisect fix upstream OK (0) job log log
2019/10/10 00:35 32m bisect fix upstream OK (0) job log log

Sample crash report:
rcu: INFO: rcu_preempt self-detected stall on CPU
rcu: 	0-....: (1 GPs behind) idle=e62/1/0x4000000000000002 softirq=25067/25068 fqs=5246 
rcu: 	 (t=10500 jiffies g=36265 q=1377)
NMI backtrace for cpu 0
CPU: 0 PID: 13664 Comm: syz-executor.1 Not tainted 5.1.0-rc4+ #61
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+0x172/0x1f0 lib/dump_stack.c:113
 nmi_cpu_backtrace.cold+0x63/0xa4 lib/nmi_backtrace.c:101
 nmi_trigger_cpumask_backtrace+0x1be/0x236 lib/nmi_backtrace.c:62
 arch_trigger_cpumask_backtrace+0x14/0x20 arch/x86/kernel/apic/hw_nmi.c:38
 trigger_single_cpu_backtrace include/linux/nmi.h:164 [inline]
 rcu_dump_cpu_stacks+0x183/0x1cf kernel/rcu/tree.c:1223
 print_cpu_stall kernel/rcu/tree.c:1360 [inline]
 check_cpu_stall kernel/rcu/tree.c:1434 [inline]
 rcu_pending kernel/rcu/tree.c:3103 [inline]
 rcu_sched_clock_irq.cold+0x500/0xa4a kernel/rcu/tree.c:2544
 update_process_times+0x32/0x80 kernel/time/timer.c:1635
 tick_sched_handle+0xa2/0x190 kernel/time/tick-sched.c:161
 tick_sched_timer+0x47/0x130 kernel/time/tick-sched.c:1271
 __run_hrtimer kernel/time/hrtimer.c:1389 [inline]
 __hrtimer_run_queues+0x33e/0xde0 kernel/time/hrtimer.c:1451
 hrtimer_interrupt+0x314/0x770 kernel/time/hrtimer.c:1509
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1035 [inline]
 smp_apic_timer_interrupt+0x120/0x570 arch/x86/kernel/apic/apic.c:1060
 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:807
 </IRQ>
RIP: 0010:kasan_mem_to_shadow include/linux/kasan.h:29 [inline]
RIP: 0010:memory_is_poisoned_n mm/kasan/generic.c:135 [inline]
RIP: 0010:memory_is_poisoned mm/kasan/generic.c:166 [inline]
RIP: 0010:check_memory_region_inline mm/kasan/generic.c:182 [inline]
RIP: 0010:check_memory_region+0x41/0x190 mm/kasan/generic.c:191
Code: 48 39 c7 48 89 e5 41 55 41 54 53 0f 86 f6 00 00 00 4c 8d 5c 37 ff 49 89 f8 48 b8 00 00 00 00 00 fc ff df 4d 89 da 49 c1 e8 03 <4d> 8d 24 00 49 c1 ea 03 49 01 c2 4c 89 e0 49 8d 5a 01 49 89 d9 4d
RSP: 0018:ffff888085ef7158 EFLAGS: 00000a06 ORIG_RAX: ffffffffffffff13
RAX: dffffc0000000000 RBX: 0000000000000dc8 RCX: ffffffff81861a06
RDX: 0000000000000000 RSI: 0000000000000010 RDI: ffff888085ef72f8
RBP: ffff888085ef7170 R08: 1ffff11010bdee5f R09: ffffed101328d8c0
R10: ffff888085ef7307 R11: ffff888085ef7307 R12: 0000000000000010
R13: ffff888095d6f238 R14: ffff888085ef72f8 R15: ffff888085ef7510
 memcpy+0x24/0x50 mm/kasan/common.c:132
 memcpy include/linux/string.h:355 [inline]
 memcpy_common kernel/events/internal.h:173 [inline]
 __output_copy kernel/events/internal.h:177 [inline]
 perf_output_read_group kernel/events/core.c:6129 [inline]
 perf_output_read+0xe16/0x1390 kernel/events/core.c:6162
 perf_output_sample+0x13b9/0x1a90 kernel/events/core.c:6204
 __perf_event_output kernel/events/core.c:6528 [inline]
 perf_event_output_forward+0x150/0x290 kernel/events/core.c:6542
 __perf_event_overflow+0x144/0x360 kernel/events/core.c:8009
 perf_swevent_overflow+0xaa/0x140 kernel/events/core.c:8085
 perf_swevent_event+0x1f7/0x2f0 kernel/events/core.c:8118
 do_perf_sw_event kernel/events/core.c:8226 [inline]
 ___perf_sw_event+0x31c/0x570 kernel/events/core.c:8257
 __perf_sw_event+0x51/0xa0 kernel/events/core.c:8269
 perf_sw_event include/linux/perf_event.h:1074 [inline]
 do_user_addr_fault arch/x86/mm/fault.c:1516 [inline]
 __do_page_fault+0x747/0xda0 arch/x86/mm/fault.c:1541
 do_page_fault+0x71/0x581 arch/x86/mm/fault.c:1572
 page_fault+0x1e/0x30 arch/x86/entry/entry_64.S:1143
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:ffff888085ef7b08 EFLAGS: 00010206
RAX: 0000000000000000 RBX: 0000000000001000 RCX: 00000000000001c0
RDX: 0000000000001000 RSI: 0000000020808000 RDI: ffff8880885cce40
RBP: ffff888085ef7b40 R08: ffffed10110b9a00 R09: 0000000000000000
R10: ffffed10110b99ff R11: ffff8880885ccfff R12: 00000000208071c0
R13: ffff8880885cc000 R14: 00000000208081c0 R15: 00007ffffffff000
 copy_page_from_iter_iovec lib/iov_iter.c:294 [inline]
 copy_page_from_iter+0x3ad/0x7d0 lib/iov_iter.c:920
 pipe_write+0x281/0xf30 fs/pipe.c:454
 call_write_iter include/linux/fs.h:1866 [inline]
 new_sync_write+0x4c7/0x760 fs/read_write.c:474
 __vfs_write+0xe4/0x110 fs/read_write.c:487
 vfs_write+0x20c/0x580 fs/read_write.c:549
 ksys_write+0x14f/0x2d0 fs/read_write.c:599
 __do_sys_write fs/read_write.c:611 [inline]
 __se_sys_write fs/read_write.c:608 [inline]
 __x64_sys_write+0x73/0xb0 fs/read_write.c:608
 do_syscall_64+0x103/0x610 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x4582f9
Code: ad b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 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 0f 83 7b b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f30ef37ac78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00000000004582f9
RDX: 0000000100000073 RSI: 00000000200001c0 RDI: 0000000000000007
RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00007f30ef37b6d4
R13: 00000000004c406c R14: 00000000004dcdb0 R15: 00000000ffffffff

Crashes (99):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/04/10 13:28 upstream 0ee7fb36f988 65b612b7 .config console log report syz ci-upstream-kasan-gce-smack-root
2019/02/07 15:03 upstream b0314565da2b aa4feb03 .config console log report syz ci-upstream-kasan-gce-smack-root
2020/08/02 06:00 linux-next 01830e6c042e d895b3be .config console log report syz ci-upstream-linux-next-kasan-gce-root
2021/05/06 13:58 upstream d2b6f8a17919 06c27ff5 .config console log report info ci-upstream-kasan-gce-selinux-root INFO: rcu detected stall in __perf_sw_event
2021/04/29 19:32 upstream d2b6f8a17919 77e2b668 .config console log report info ci-upstream-kasan-gce-selinux-root INFO: rcu detected stall in __perf_sw_event
2021/04/22 09:16 upstream 16fc44d6387e 33c28d03 .config console log report info ci-upstream-kasan-gce-smack-root INFO: rcu detected stall in __perf_sw_event
2021/04/10 11:43 upstream d4961772226d bfeda1b1 .config console log report info ci-upstream-kasan-gce-selinux-root INFO: rcu detected stall in __perf_sw_event
2021/03/22 12:45 upstream 0d02ec6b3136 bea32f74 .config console log report info ci-upstream-kasan-gce-selinux-root INFO: rcu detected stall in __perf_sw_event
2021/03/07 19:24 upstream a38fd8748464 75506d9c .config console log report info ci-upstream-kasan-gce-selinux-root INFO: rcu detected stall in __perf_sw_event
2021/02/24 05:35 upstream c03c21ba6f4e fcc6d71b .config console log report info ci-upstream-kasan-gce-selinux-root INFO: rcu detected stall in __perf_sw_event
2021/02/09 19:19 linux-next aa2b88209686 2bd9619f .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: rcu detected stall in __perf_sw_event
2021/02/03 23:14 linux-next 58b6c0e507b7 624dad51 .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: rcu detected stall in __perf_sw_event
2021/01/18 02:23 linux-next b3a3cbdec55b fd103621 .config console log report info ci-upstream-linux-next-kasan-gce-root INFO: rcu detected stall in __perf_sw_event
2021/01/09 10:59 upstream 996e435fd401 a6c52263 .config console log report info ci-upstream-kasan-gce-selinux-root
2020/12/16 23:18 upstream 5e60366d56c6 04201c06 .config console log report info ci-upstream-kasan-gce-selinux-root
2020/12/01 21:40 upstream b65054597872 07bfe8a5 .config console log report info ci-upstream-kasan-gce-smack-root
2020/10/28 18:26 upstream ed8780e3f2ec f24824d3 .config console log report info ci-upstream-kasan-gce-root
2020/10/26 11:10 upstream 3650b228f83a a7aac492 .config console log report info ci-upstream-kasan-gce-selinux-root
2020/10/25 21:53 upstream 672f88712615 a1839e81 .config console log report info ci-upstream-kasan-gce-selinux-root
2020/10/23 21:41 upstream 0adc313c4f20 2bb6666c .config console log report info ci-upstream-kasan-gce-root
2020/10/14 08:04 upstream 029f56db6ac2 fc7735a2 .config console log report info ci-upstream-kasan-gce-selinux-root
2020/10/12 14:04 upstream bbf5c979011a 4a77ae0b .config console log report info ci-upstream-kasan-gce-root
2020/10/06 04:34 upstream 7575fdda569b 1880b4a9 .config console log report info ci-upstream-kasan-gce-root
2020/10/05 18:54 upstream 549738f15da0 1880b4a9 .config console log report info ci-upstream-kasan-gce-root
2020/09/30 13:27 upstream 02de58b24d2e 8516f6d3 .config console log report info ci-upstream-kasan-gce-selinux-root
2020/09/24 15:29 upstream c9c9e6a49f89 54289b08 .config console log report info ci-upstream-kasan-gce-root
2020/08/22 21:30 upstream c3d8f220d012 1da71ab0 .config console log report ci-upstream-kasan-gce-selinux-root
2020/08/22 17:13 upstream f873db9acd3c 6436ce4b .config console log report ci-upstream-kasan-gce-selinux-root
2020/08/17 16:51 upstream 2cc3c4b3c2e9 424dd8e7 .config console log report ci-upstream-kasan-gce-smack-root
2020/08/15 23:14 upstream c9c9735c46f5 424dd8e7 .config console log report ci-upstream-kasan-gce-selinux-root
2020/06/14 01:02 upstream 7ae77150d94d dbce178a .config console log report ci-upstream-kasan-gce-selinux-root
2020/05/18 02:09 upstream b9bbe6ed63b2 37bccd4e .config console log report ci-upstream-kasan-gce-root
2020/04/28 14:02 upstream 51184ae37e05 e3ecea2e .config console log report ci-upstream-kasan-gce-root
2020/04/09 18:19 upstream 5d30bcacd91a a8c6a3f8 .config console log report ci-upstream-kasan-gce-selinux-root
2020/03/11 23:46 upstream f35111a94654 e7caca8e .config console log report ci-upstream-kasan-gce-root
2020/03/09 19:29 upstream 2c523b344dfa 35f53e45 .config console log report ci-upstream-kasan-gce-root
2020/02/25 11:36 upstream f8788d86ab28 59b57593 .config console log report ci-upstream-kasan-gce-root
2020/02/19 05:11 upstream 0a44cac81050 135c18aa .config console log report ci-upstream-kasan-gce-root
2020/02/16 11:19 upstream db70e26e33ee cf914200 .config console log report ci-upstream-kasan-gce-selinux-root
2020/02/13 13:20 upstream f2850dd5ee01 84f4fc8a .config console log report ci-upstream-kasan-gce-selinux-root
2020/01/31 14:48 upstream ccaaaf6fe5a5 5ed23f9a .config console log report ci-upstream-kasan-gce-root
2020/01/15 16:54 upstream 95e20af9fb9c 069a5a44 .config console log report ci-upstream-kasan-gce-root
2018/10/16 00:35 upstream f0a7d1883d9f 8cd30605 .config console log report ci-upstream-kasan-gce-selinux-root
2020/12/29 19:21 linux-next d7a03a44a5e9 80910769 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/12/12 15:38 linux-next 14240d4c5b25 bca53db9 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/19 09:33 linux-next b2926c108f9f ff4a3345 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/10/02 03:57 linux-next d39294091fee 9602ddf4 .config console log report info ci-upstream-linux-next-kasan-gce-root
2020/08/27 00:24 linux-next f37be72473a0 318430cb .config console log report ci-upstream-linux-next-kasan-gce-root
2020/08/24 13:19 linux-next d8be0e12a522 67b599d1 .config console log report ci-upstream-linux-next-kasan-gce-root
2020/08/21 05:56 linux-next 494d311a82bb 1d75fe45 .config console log report ci-upstream-linux-next-kasan-gce-root
2020/08/19 20:33 linux-next 8eb858df0a5f 94b45706 .config console log report ci-upstream-linux-next-kasan-gce-root
2020/08/10 10:15 linux-next f80535b9aa10 70301872 .config console log report ci-upstream-linux-next-kasan-gce-root
2020/07/18 23:20 linux-next 4c43049f19a2 9c812472 .config console log report ci-upstream-linux-next-kasan-gce-root
2020/05/20 00:37 linux-next ac935d227366 67fa1f59 .config console log report ci-upstream-linux-next-kasan-gce-root
2020/05/19 12:12 linux-next ac935d227366 6d882fd2 .config console log report ci-upstream-linux-next-kasan-gce-root
2020/03/22 17:03 linux-next 770fbb32d34e 78267cec .config console log report ci-upstream-linux-next-kasan-gce-root
2020/02/24 18:14 linux-next bdc5461b23ca 59b57593 .config console log report ci-upstream-linux-next-kasan-gce-root
2020/02/12 13:34 linux-next 129759899765 a75b198c .config console log report ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.