Kernel bug: WARNING in tracepoint_probe_unregister (3)
Subsystem: trace
Status: open

Crash report:
------------[ cut here ]------------
WARNING: CPU: 0 PID: 6066 at kernel/tracepoint.c:358 tracepoint_remove_func kernel/tracepoint.c:358 [inline]
WARNING: CPU: 0 PID: 6066 at kernel/tracepoint.c:358 tracepoint_probe_unregister+0x894/0xd70 kernel/tracepoint.c:504
Modules linked in:
CPU: 0 UID: 0 PID: 6066 Comm: syz.0.18 Not tainted 6.16.0-rc6-syzkaller #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:tracepoint_remove_func kernel/tracepoint.c:358 [inline]
RIP: 0010:tracepoint_probe_unregister+0x894/0xd70 kernel/tracepoint.c:504
Code: 41 5e 41 5f c3 cc cc cc cc e8 e8 27 fe ff 48 c7 c6 d0 25 bd 81 48 89 df e8 29 00 e5 ff eb 9f bb fe ff ff ff e8 cd 27 fe ff 90 <0f> 0b 90 eb 91 e8 c2 27 fe ff 48 89 da 48 b8 00 00 00 00 00 fc ff
RSP: 0018:ffffc90002ff78a0 EFLAGS: 00010293
RAX: 0000000000000000 RBX: 00000000fffffffe RCX: ffffffff81bd346f
RDX: ffff88801f7ebc00 RSI: ffffffff81bd3713 RDI: 0000000000000005
RBP: ffffffff8f52a4a0 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000001 R12: ffffffff81c31eb0
R13: ffff88801c283048 R14: 0000000000000002 R15: ffff88801c283000
FS:  0000555572895500(0000) GS:ffff888124720000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555572895808 CR3: 0000000076b66000 CR4: 00000000003526f0
Call Trace:
 <TASK>
 unregister_trace_sched_switch include/trace/events/sched.h:220 [inline]
 tracing_sched_unregister kernel/trace/trace_sched_switch.c:87 [inline]
 tracing_stop_sched_switch kernel/trace/trace_sched_switch.c:129 [inline]
 tracing_stop_cmdline_record+0x66/0xa0 kernel/trace/trace_sched_switch.c:140
 __ftrace_event_enable_disable+0x762/0x8b0 kernel/trace/trace_events.c:802
 ftrace_event_enable_disable kernel/trace/trace_events.c:889 [inline]
 ftrace_clear_events kernel/trace/trace_events.c:1012 [inline]
 ftrace_event_set_open+0x232/0x380 kernel/trace/trace_events.c:2675
 do_dentry_open+0x744/0x1c10 fs/open.c:964
 vfs_open+0x82/0x3f0 fs/open.c:1094
 do_open fs/namei.c:3896 [inline]
 path_openat+0x1de4/0x2cb0 fs/namei.c:4055
 do_filp_open+0x20b/0x470 fs/namei.c:4082
 do_sys_openat2+0x11b/0x1d0 fs/open.c:1437
 do_sys_open fs/open.c:1452 [inline]
 __do_sys_openat fs/open.c:1468 [inline]
 __se_sys_openat fs/open.c:1463 [inline]
 __x64_sys_openat+0x174/0x210 fs/open.c:1463
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xcd/0x490 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f4376b8e929
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffe0646a7b8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f4376db5fa0 RCX: 00007f4376b8e929
RDX: 0000000000020201 RSI: 0000200000000100 RDI: ffffffffffffff9c
RBP: 00007f4376c10b39 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f4376db5fa0 R14: 00007f4376db5fa0 R15: 0000000000000004
 </TASK>