syzbot


general protection fault in perf_tp_event_match

Status: auto-closed as invalid on 2019/02/22 10:29
Subsystems: perf
[Documentation on labels]
Reported-by: syzbot+79f185656ab5873a0680@syzkaller.appspotmail.com
First crash: 2109d, last: 2109d
Discussions (1)
Title Replies (including bot) Last reply
general protection fault in perf_tp_event_match 0 (1) 2018/07/10 19:25
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream general protection fault in perf_tp_event_match (2) perf 356 1387d 1715d 0/26 auto-closed as invalid on 2020/10/18 21:16
linux-4.14 general protection fault in perf_tp_event_match 2 1251d 1299d 0/1 auto-closed as invalid on 2021/03/14 23:53

Sample crash report:
device bridge_slave_1 left promiscuous mode
kasan: CONFIG_KASAN_INLINE enabled
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] SMP KASAN
CPU: 0 PID: 82 Comm: kworker/u4:3 Not tainted 4.18.0-rc3+ #48
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: netns cleanup_net
RIP: 0010:perf_tp_filter_match kernel/events/core.c:8228 [inline]
RIP: 0010:perf_tp_event_match.isra.85.part.86+0x63/0x160 kernel/events/core.c:8245
Code: 9c 24 c8 02 00 00 48 85 db 49 0f 44 dc e8 95 d7 e9 ff 48 b8 00 00 00 00 00 fc ff df 48 8d bb d8 04 00 00 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 c5 00 00 00 4c 8b a3 d8 04 00 00 bb 01 00 00 00 
RSP: 0018:ffff8801d97be4d8 EFLAGS: 00010802
RAX: dffffc0000000000 RBX: dead4ead00000000 RCX: ffffffff81960180
RDX: 1bd5a9d5a000009b RSI: ffffffff8192343b RDI: dead4ead000004d8
RBP: ffff8801d97be4f0 R08: ffff8801d97b05c0 R09: ffffe8ffffc87298
R10: ffff8801d97be930 R11: ffffe8ffff81402b R12: ffff88019e3bc120
R13: ffff8801d97be5c0 R14: ffff8801d97be5c0 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f9838a7ddb8 CR3: 00000001d4835000 CR4: 00000000001406f0
DR0: 0000000020000000 DR1: 0000000020000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600
Call Trace:
 perf_tp_event_match kernel/events/core.c:8242 [inline]
 perf_tp_event+0x4a9/0xc40 kernel/events/core.c:8288
 perf_trace_run_bpf_submit+0x269/0x3b0 kernel/events/core.c:8263
 perf_trace_lock_acquire+0x4f9/0x9a0 include/trace/events/lock.h:13
 trace_lock_acquire include/trace/events/lock.h:13 [inline]
 lock_acquire+0x3a2/0x540 kernel/locking/lockdep.c:3923
 __raw_spin_lock include/linux/spinlock_api_smp.h:142 [inline]
 _raw_spin_lock+0x2a/0x40 kernel/locking/spinlock.c:144
 console_lock_spinning_disable_and_check kernel/printk/printk.c:1603 [inline]
 console_unlock+0x960/0x10b0 kernel/printk/printk.c:2392
 vprintk_emit+0x6c6/0xdf0 kernel/printk/printk.c:1907
 vprintk_default+0x28/0x30 kernel/printk/printk.c:1948
 vprintk_func+0x7a/0xe7 kernel/printk/printk_safe.c:382
 printk+0xa7/0xcf kernel/printk/printk.c:1981
 __dev_set_promiscuity.cold.171+0x49/0x3d0 net/core/dev.c:7090
 dev_set_promiscuity+0x55/0xe0 net/core/dev.c:7129
 nbp_delete_promisc net/bridge/br_if.c:195 [inline]
 del_nbp+0x17f/0xb10 net/bridge/br_if.c:273
 br_dev_delete+0x94/0x190 net/bridge/br_if.c:315
 default_device_exit_batch+0x374/0x560 net/core/dev.c:9345
 ops_exit_list.isra.7+0x105/0x160 net/core/net_namespace.c:155
 cleanup_net+0x537/0xb50 net/core/net_namespace.c:523
 process_one_work+0xc73/0x1ba0 kernel/workqueue.c:2153
 worker_thread+0x189/0x13c0 kernel/workqueue.c:2296
 kthread+0x345/0x410 kernel/kthread.c:240
 ret_from_fork+0x3a/0x50 arch/x86/entry/entry_64.S:412
Modules linked in:
Dumping ftrace buffer:
   (ftrace buffer empty)
---[ end trace a4623dccf99ca950 ]---
RIP: 0010:perf_tp_filter_match kernel/events/core.c:8228 [inline]
RIP: 0010:perf_tp_event_match.isra.85.part.86+0x63/0x160 kernel/events/core.c:8245
Code: 9c 24 c8 02 00 00 48 85 db 49 0f 44 dc e8 95 d7 e9 ff 48 b8 00 00 00 00 00 fc ff df 48 8d bb d8 04 00 00 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 c5 00 00 00 4c 8b a3 d8 04 00 00 bb 01 00 00 00 
RSP: 0018:ffff8801d97be4d8 EFLAGS: 00010802
RAX: dffffc0000000000 RBX: dead4ead00000000 RCX: ffffffff81960180
RDX: 1bd5a9d5a000009b RSI: ffffffff8192343b RDI: dead4ead000004d8
RBP: ffff8801d97be4f0 R08: ffff8801d97b05c0 R09: ffffe8ffffc87298
R10: ffff8801d97be930 R11: ffffe8ffff81402b R12: ffff88019e3bc120
R13: ffff8801d97be5c0 R14: ffff8801d97be5c0 R15: 0000000000000000
FS:  0000000000000000(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f9838a7ddb8 CR3: 00000001d4835000 CR4: 00000000001406f0
DR0: 0000000020000000 DR1: 0000000020000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000600

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/07/10 17:18 bpf-next d90c936fb318 9fa03fa5 .config console log report ci-upstream-bpf-next-kasan-gce
* Struck through repros no longer work on HEAD.