syzbot


general protection fault in perf_tp_event

Status: auto-closed as invalid on 2020/11/01 21:53
Reported-by: syzbot+27238284000277cb5930@syzkaller.appspotmail.com
First crash: 1422d, last: 1384d
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.19 general protection fault in perf_tp_event 1 1818d 1818d 0/1 auto-closed as invalid on 2019/10/24 06:05
upstream general protection fault in perf_tp_event (2) perf 109 1141d 1382d 0/26 auto-closed as invalid on 2021/07/02 04:41
linux-4.19 general protection fault in perf_tp_event (2) 4 1438d 1586d 0/1 auto-closed as invalid on 2020/09/08 23:43
upstream general protection fault in perf_tp_event (3) perf 9 846d 930d 0/26 auto-closed as invalid on 2022/04/23 10:36
android-54 general protection fault in perf_tp_event 7 1391d 1557d 0/2 auto-closed as invalid on 2020/10/25 22:42
upstream general protection fault in perf_tp_event perf 423 1752d 2176d 0/26 auto-closed as invalid on 2019/10/25 14:12

Sample crash report:
R13: 000000000000094a R14: 00000000004cc198 R15: 00007f8d299176d4
kasan: CONFIG_KASAN_INLINE enabled
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN
Modules linked in:
CPU: 0 PID: 29 Comm: kworker/u4:2 Not tainted 4.14.184-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: writeback wb_workfn (flush-8:0)
task: ffff8880a9f34080 task.stack: ffff8880a9f40000
RIP: 0010:perf_tp_event_match kernel/events/core.c:8016 [inline]
RIP: 0010:perf_tp_event+0x580/0x7d0 kernel/events/core.c:8073
RSP: 0018:ffff8880aec07940 EFLAGS: 00010002
RAX: 00000003a085a04a RBX: 0000001d042d0090 RCX: 000000000000002c
RDX: 0000000000010000 RSI: 0000000000000006 RDI: 0000001d042d0250
RBP: ffff8880aec07bf0 R08: ffff8880aec27c10 R09: ffff8880aec00000
R10: ffff8880aec07c18 R11: ffff8880aec0002b R12: dffffc0000000000
R13: ffff8880aec00000 R14: 0000000000000002 R15: ffff8880a0908280
FS:  0000000000000000(0000) GS:ffff8880aec00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000768000 CR3: 00000000942c6000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 perf_trace_run_bpf_submit kernel/events/core.c:8044 [inline]
 perf_trace_run_bpf_submit+0x113/0x170 kernel/events/core.c:8030
 perf_trace_sched_wakeup_template+0x3fc/0x520 include/trace/events/sched.h:57
 trace_sched_wakeup include/trace/events/sched.h:96 [inline]
 ttwu_do_wakeup.isra.0+0x331/0x570 kernel/sched/core.c:1686
 ttwu_queue kernel/sched/core.c:1874 [inline]
 try_to_wake_up+0x93b/0x1110 kernel/sched/core.c:2087
 hrtimer_wakeup+0x43/0x60 kernel/time/hrtimer.c:1441
 __run_hrtimer kernel/time/hrtimer.c:1223 [inline]
 __hrtimer_run_queues+0x24b/0xb90 kernel/time/hrtimer.c:1287
 hrtimer_interrupt+0x1e6/0x5e0 kernel/time/hrtimer.c:1321
 local_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1075 [inline]
 smp_apic_timer_interrupt+0x117/0x5f0 arch/x86/kernel/apic/apic.c:1100
 apic_timer_interrupt+0x93/0xa0 arch/x86/entry/entry_64.S:793
 </IRQ>
RIP: 0010:get_current arch/x86/include/asm/current.h:15 [inline]
RIP: 0010:__sanitizer_cov_trace_pc+0x0/0x50 kernel/kcov.c:60
RSP: 0018:ffff8880a9f47200 EFLAGS: 00000202 ORIG_RAX: ffffffffffffff10
RAX: 0000607f51039e68 RBX: ffffffffc0000001 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff86c64b80 RDI: ffffffff86c44a20
RBP: ffff8880a1906650 R08: 0000000000000000 R09: 0000000000020012
R10: ffff8880a9f34980 R11: ffff8880a9f34080 R12: 00000000000001e3
R13: 0000000000000001 R14: 00000000000001e2 R15: ffff8880a19066a0
 percpu_counter_add_batch+0xee/0x160 lib/percpu_counter.c:98
 blkg_rwstat_add include/linux/blk-cgroup.h:608 [inline]
 blkcg_bio_issue_check include/linux/blk-cgroup.h:713 [inline]
 generic_make_request_checks+0x112b/0x1a20 block/blk-core.c:2127
 generic_make_request+0x6b/0x850 block/blk-core.c:2183
 submit_bio+0x234/0x390 block/blk-core.c:2301
 submit_bh_wbc+0x526/0x6f0 fs/buffer.c:3163
 __block_write_full_page+0x4f5/0xa30 fs/buffer.c:1838
 block_write_full_page+0x1ef/0x240 fs/buffer.c:3024
 __writepage+0x5a/0xc0 mm/page-writeback.c:2322
 write_cache_pages+0x527/0xd60 mm/page-writeback.c:2257
 generic_writepages mm/page-writeback.c:2346 [inline]
 generic_writepages+0xcc/0x120 mm/page-writeback.c:2335
 blkdev_writepages+0x78/0xd0 fs/block_dev.c:1960
 do_writepages+0xd0/0x250 mm/page-writeback.c:2361
 __writeback_single_inode+0xda/0x1140 fs/fs-writeback.c:1367
 writeback_sb_inodes+0x475/0xcf0 fs/fs-writeback.c:1631
 __writeback_inodes_wb+0xbc/0x200 fs/fs-writeback.c:1700
 wb_writeback+0x735/0xba0 fs/fs-writeback.c:1809
 wb_check_old_data_flush fs/fs-writeback.c:1922 [inline]
 wb_do_writeback fs/fs-writeback.c:1946 [inline]
 wb_workfn+0x8ac/0xe70 fs/fs-writeback.c:1975
 process_one_work+0x7c0/0x14c0 kernel/workqueue.c:2116
 worker_thread+0x5d7/0x1080 kernel/workqueue.c:2250
 kthread+0x30d/0x420 kernel/kthread.c:232
 ret_from_fork+0x24/0x30 arch/x86/entry/entry_64.S:404
Code: 48 85 db 0f 84 7c fc ff ff e8 fd 78 ef ff 48 83 eb 40 0f 84 6d fc ff ff e8 ee 78 ef ff 48 8d bb c0 01 00 00 48 89 f8 48 c1 e8 03 <42> 0f b6 04 20 84 c0 74 08 3c 03 0f 8e a7 01 00 00 f6 83 c0 01 
RIP: perf_tp_event_match kernel/events/core.c:8016 [inline] RSP: ffff8880aec07940
RIP: perf_tp_event+0x580/0x7d0 kernel/events/core.c:8073 RSP: ffff8880aec07940

======================================================

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/07/04 21:52 linux-4.14.y b850307b279c 4f739670 .config console log report ci2-linux-4-14
2020/05/27 23:47 linux-4.14.y 4f68020fef1c 9072c126 .config console log report ci2-linux-4-14
* Struck through repros no longer work on HEAD.