syzbot


WARNING in tracepoint_probe_unregister (2)

Status: fixed on 2018/05/16 09:57
Subsystems: trace
[Documentation on labels]
Reported-by: syzbot+4e9ae7fa46233396f64d@syzkaller.appspotmail.com
Fix commit: d66a270be331 tracepoint: Do not warn on ENOMEM
First crash: 2476d, last: 2420d
Discussions (8)
Title Replies (including bot) Last reply
[PATCH 3.16 000/366] 3.16.60-rc1 review 370 (370) 2019/03/29 15:47
[PATCH 4.4 00/56] 4.4.132-stable review 68 (68) 2018/07/05 16:20
[PATCH 4.16 00/52] 4.16.8-stable review 60 (60) 2018/05/09 07:32
[PATCH 4.14 00/43] 4.14.40-stable review 52 (52) 2018/05/09 07:32
[PATCH 4.9 00/32] 4.9.99-stable review 37 (37) 2018/05/08 23:56
[PATCH 7/7] tracepoint: Do not warn on ENOMEM 1 (1) 2018/05/02 20:00
[PATCH] Fix: tracepoint: do not warn on ENOMEM 1 (1) 2018/03/15 12:44
Re: WARNING in tracepoint_probe_unregister (2) 1 (1) 2018/03/13 15:29
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in tracepoint_probe_unregister block trace C 115 2477d 2603d 4/28 fixed on 2018/03/12 10:10
upstream WARNING in tracepoint_probe_unregister (3) trace C 3 3d21h 4d09h 0/28 upstream: reported C repro on 2024/12/17 21:14

Sample crash report:
RAX: 0000000000000000 RBX: 00007f71e787b6d4 RCX: 0000000000455979
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000013
RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000014
R13: 0000000000000053 R14: 00000000006f4868 R15: 0000000000000000
WARNING: CPU: 0 PID: 15499 at kernel/tracepoint.c:242 tracepoint_remove_func kernel/tracepoint.c:242 [inline]
WARNING: CPU: 0 PID: 15499 at kernel/tracepoint.c:242 tracepoint_probe_unregister+0x768/0x8c0 kernel/tracepoint.c:323
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 15499 Comm: syz-executor3 Not tainted 4.17.0-rc3+ #29
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1b9/0x294 lib/dump_stack.c:113
 panic+0x22f/0x4de kernel/panic.c:184
 __warn.cold.8+0x163/0x1b3 kernel/panic.c:536
 report_bug+0x252/0x2d0 lib/bug.c:186
 fixup_bug arch/x86/kernel/traps.c:178 [inline]
 do_error_trap+0x1de/0x490 arch/x86/kernel/traps.c:296
 do_invalid_op+0x1b/0x20 arch/x86/kernel/traps.c:315
 invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:992
RIP: 0010:tracepoint_remove_func kernel/tracepoint.c:242 [inline]
RIP: 0010:tracepoint_probe_unregister+0x768/0x8c0 kernel/tracepoint.c:323
RSP: 0018:ffff8801aff774e8 EFLAGS: 00010246
RAX: 0000000000040000 RBX: 00000000fffffff4 RCX: ffffc90001b41000
RDX: 0000000000040000 RSI: ffffffff817ac758 RDI: 0000000000000286
RBP: ffff8801aff77600 R08: ffffed003b5c46c3 R09: ffffed003b5c46c2
R10: ffffed003b5c46c2 R11: ffff8801dae23613 R12: 0000000000000001
R13: 0000000000000000 R14: ffff8801aff775d8 R15: ffff880186c03590
 trace_event_reg+0x10c/0x350 kernel/trace/trace_events.c:309
 perf_trace_event_unreg.isra.3+0xbb/0x210 kernel/trace/trace_event_perf.c:156
 perf_trace_destroy+0xc1/0x100 kernel/trace/trace_event_perf.c:237
 tp_perf_event_destroy+0x15/0x20 kernel/events/core.c:8321
 _free_event+0x3ff/0x1430 kernel/events/core.c:4445
 put_event+0x48/0x60 kernel/events/core.c:4531
 perf_event_release_kernel+0x8bd/0x1020 kernel/events/core.c:4637
 perf_release+0x37/0x50 kernel/events/core.c:4647
 __fput+0x34d/0x890 fs/file_table.c:209
 ____fput+0x15/0x20 fs/file_table.c:243
 task_work_run+0x1e4/0x290 kernel/task_work.c:113
 tracehook_notify_resume include/linux/tracehook.h:191 [inline]
 exit_to_usermode_loop+0x2bd/0x310 arch/x86/entry/common.c:166
 prepare_exit_to_usermode arch/x86/entry/common.c:196 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:265 [inline]
 do_syscall_64+0x6ac/0x800 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x455979
RSP: 002b:00007f71e787ac68 EFLAGS: 00000246 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 00007f71e787b6d4 RCX: 0000000000455979
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000013
RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000014
R13: 0000000000000053 R14: 00000000006f4868 R15: 0000000000000000
Dumping ftrace buffer:
   (ftrace buffer empty)
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (120):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/05/02 21:13 upstream 2d618bdf7163 d5b114b4 .config console log report ci-upstream-kasan-gce-root
2018/05/02 07:41 upstream f2125992e7cb d5b114b4 .config console log report ci-upstream-kasan-gce-root
2018/05/01 01:41 upstream 8188fc8bef8c d5b114b4 .config console log report ci-upstream-kasan-gce-root
2018/04/30 09:58 upstream 6da6c0db5316 06db3cec .config console log report ci-upstream-kasan-gce-root
2018/04/30 00:39 upstream c61a56ababa4 bb79c6ab .config console log report ci-upstream-kasan-gce-root
2018/04/29 12:33 upstream cdface520934 d5a5d045 .config console log report ci-upstream-kasan-gce-root
2018/04/29 07:15 upstream bf8f5de17442 d5a5d045 .config console log report ci-upstream-kasan-gce-root
2018/04/28 03:14 upstream 46dc111dfe47 d5a5d045 .config console log report ci-upstream-kasan-gce-root
2018/04/28 00:17 upstream d8a332730e75 7785e404 .config console log report ci-upstream-kasan-gce-root
2018/04/21 11:58 upstream 83beed7b2b26 ca03d688 .config console log report ci-upstream-kasan-gce-root
2018/04/21 10:18 upstream 83beed7b2b26 ca03d688 .config console log report ci-upstream-kasan-gce-root
2018/04/20 17:52 upstream 43f70c960180 cc402841 .config console log report ci-upstream-kasan-gce-root
2018/04/19 04:32 upstream 87ef12027b9b 829f0234 .config console log report ci-upstream-kasan-gce-root
2018/04/18 21:22 upstream a27fc14219f2 829f0234 .config console log report ci-upstream-kasan-gce-root
2018/04/18 08:59 upstream a27fc14219f2 52643b44 .config console log report ci-upstream-kasan-gce-root
2018/04/17 02:59 upstream a27fc14219f2 b80fd3b5 .config console log report ci-upstream-kasan-gce-root
2018/04/15 06:17 upstream 18b7fd1c93e5 7a67784c .config console log report ci-upstream-kasan-gce-root
2018/04/14 12:44 upstream 48023102b707 7a67784c .config console log report ci-upstream-kasan-gce
2018/04/14 07:39 upstream 1bad9ce155a7 7a67784c .config console log report ci-upstream-kasan-gce-root
2018/04/13 09:34 upstream 16e205cf42da 0a0c5db6 .config console log report ci-upstream-kasan-gce-root
2018/05/07 16:55 bpf-next e94fa1d93117 9e0846e8 .config console log report ci-upstream-bpf-next-kasan-gce
2018/05/06 10:37 bpf-next e94fa1d93117 6c18ddb0 .config console log report ci-upstream-bpf-next-kasan-gce
2018/05/05 23:15 bpf-next e94fa1d93117 78b251cb .config console log report ci-upstream-bpf-next-kasan-gce
2018/05/03 19:55 bpf-next 03f5781be2c7 9ce14f4b .config console log report ci-upstream-bpf-next-kasan-gce
2018/05/03 06:15 bpf-next 6f96674dbd8c 9ce14f4b .config console log report ci-upstream-bpf-next-kasan-gce
2018/05/03 04:29 bpf-next 6f96674dbd8c d5b114b4 .config console log report ci-upstream-bpf-next-kasan-gce
2018/05/02 15:40 bpf-next a2c7a98301d9 d5b114b4 .config console log report ci-upstream-bpf-next-kasan-gce
2018/05/01 22:24 bpf-next a3fe1f6f2ada d5b114b4 .config console log report ci-upstream-bpf-next-kasan-gce
2018/04/30 08:17 bpf-next 34745aed515c 06db3cec .config console log report ci-upstream-bpf-next-kasan-gce
2018/04/30 06:45 bpf-next 34745aed515c bb79c6ab .config console log report ci-upstream-bpf-next-kasan-gce
2018/04/29 18:17 bpf-next f60ad0a0c441 bb79c6ab .config console log report ci-upstream-bpf-next-kasan-gce
2018/04/26 21:43 bpf-next 9b984a20ca84 73417389 .config console log report ci-upstream-bpf-next-kasan-gce
2018/04/25 09:45 bpf-next af487c577770 73417389 .config console log report ci-upstream-bpf-next-kasan-gce
2018/04/24 17:58 bpf-next fbcf93ebcaef 37e76fe2 .config console log report ci-upstream-bpf-next-kasan-gce
2018/04/20 01:45 bpf-next 34df9d37abe0 eae05cb0 .config console log report ci-upstream-bpf-next-kasan-gce
2018/04/19 15:10 bpf-next 7f3249fb1231 3642839c .config console log report ci-upstream-bpf-next-kasan-gce
2018/04/18 13:58 bpf-next 0c90f2243ec6 52643b44 .config console log report ci-upstream-bpf-next-kasan-gce
2018/04/13 20:35 bpf-next 17dec0a94915 7a67784c .config console log report ci-upstream-bpf-next-kasan-gce
2018/04/10 18:56 bpf-next 4608f064532c 8b8de427 .config console log report ci-upstream-bpf-next-kasan-gce
2018/04/10 11:55 bpf-next 4608f064532c 8e873e9d .config console log report ci-upstream-bpf-next-kasan-gce
2018/03/12 10:21 bpf-next 6d8cb045cde6 f505ca4b .config console log report ci-upstream-bpf-next-kasan-gce
* Struck through repros no longer work on HEAD.