syzbot


general protection fault in perf_iterate_sb

Status: upstream: reported syz repro on 2019/08/18 21:36
Reported-by: syzbot+b764b6656e0466fc179f@syzkaller.appspotmail.com
First crash: 1765d, last: 1765d
Fix bisection: failed (error log, bisect log)
  
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-414 general protection fault in perf_iterate_sb C 1 2076d 1894d 0/1 public: reported C repro on 2019/04/12 00:01
android-49 general protection fault in perf_iterate_sb C 1 2077d 1892d 0/3 public: reported C repro on 2019/04/14 08:51
Last patch testing requests (2)
Created Duration User Patch Repo Result
2022/12/04 15:30 11m retest repro linux-4.14.y report log
2022/08/26 13:27 12m retest repro linux-4.14.y report log

Sample crash report:
IPv6: ADDRCONF(NETDEV_UP): vxcan1: link is not ready
8021q: adding VLAN 0 to HW filter on device batadv0
kasan: CONFIG_KASAN_INLINE enabled
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: 9566 Comm: syz-executor.1 Not tainted 4.14.139 #35
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff88808d3425c0 task.stack: ffff888092038000
RIP: 0010:__pmu_filter_match kernel/events/core.c:1800 [inline]
RIP: 0010:pmu_filter_match kernel/events/core.c:1817 [inline]
RIP: 0010:event_filter_match kernel/events/core.c:1828 [inline]
RIP: 0010:event_filter_match kernel/events/core.c:1825 [inline]
RIP: 0010:perf_iterate_sb_cpu kernel/events/core.c:6373 [inline]
RIP: 0010:perf_iterate_sb+0x556/0x8b0 kernel/events/core.c:6405
RSP: 0018:ffff88809203fbd0 EFLAGS: 00010202
RAX: 0000000000000aa0 RBX: dffffc0000000000 RCX: 1ffff11011a685c6
RDX: 0000000000000173 RSI: ffffffff869d2b40 RDI: 0000000000000b98
RBP: ffff88809203fc10 R08: ffff88808d3425c0 R09: 0000000000000001
R10: ffff88809203f900 R11: ffff88808d3425c0 R12: ffff88808bb5ccc0
R13: ffffe8ffffc12a70 R14: ffffffff816b1ea0 R15: ffff88809203fc50
FS:  0000000000000000(0000) GS:ffff8880aee00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 00000000938fa000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 perf_event_task+0xee/0x140 kernel/events/core.c:6643
 perf_event_exit_task+0x7af/0xa80 kernel/events/core.c:10732
 do_exit+0x7ef/0x2c10 kernel/exit.c:883
 do_group_exit+0x111/0x330 kernel/exit.c:977
 SYSC_exit_group kernel/exit.c:988 [inline]
 SyS_exit_group+0x1d/0x20 kernel/exit.c:986
 do_syscall_64+0x1e8/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x459829
RSP: 002b:00007fffd1c5fa68 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 000000000000001e RCX: 0000000000459829
RDX: 0000000000413511 RSI: fffffffffffffff7 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffffffffffff R09: 00007fffd1c5fac0
R10: 0000000000763238 R11: 0000000000000246 R12: 0000000000000001
R13: 00007fffd1c5fac0 R14: 0000000000000000 R15: 00007fffd1c5fad0
Code: f1 30 f1 ff 49 8d 7d 78 48 89 f8 48 c1 e8 03 80 3c 18 00 0f 85 1a 02 00 00 49 8b 45 78 48 8d b8 f8 00 00 00 48 89 fa 48 c1 ea 03 <80> 3c 1a 00 0f 85 08 02 00 00 48 8b 80 f8 00 00 00 48 85 c0 74 
RIP: __pmu_filter_match kernel/events/core.c:1800 [inline] RSP: ffff88809203fbd0
RIP: pmu_filter_match kernel/events/core.c:1817 [inline] RSP: ffff88809203fbd0
RIP: event_filter_match kernel/events/core.c:1828 [inline] RSP: ffff88809203fbd0
RIP: event_filter_match kernel/events/core.c:1825 [inline] RSP: ffff88809203fbd0
RIP: perf_iterate_sb_cpu kernel/events/core.c:6373 [inline] RSP: ffff88809203fbd0
RIP: perf_iterate_sb+0x556/0x8b0 kernel/events/core.c:6405 RSP: ffff88809203fbd0
---[ end trace 790e3252f7f7f320 ]---

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/08/18 20:35 linux-4.14.y 45f092f9e9cb 55bf8926 .config console log report syz ci2-linux-4-14
* Struck through repros no longer work on HEAD.