syzbot


invalid opcode in __traceiter_tlb_flush

Status: upstream: reported C repro on 2025/05/13 13:27
Bug presence: origin:lts
[Documentation on labels]
Reported-by: syzbot+9f078c34cdcb1b55a50b@syzkaller.appspotmail.com
First crash: 111d, last: 17h32m
Bug presence (2)
Date Name Commit Repro Result
2025/05/13 lts (merge base) 420102835862 C [report] invalid opcode in __traceiter_tlb_flush
2025/05/13 upstream (ToT) 405e6c37c89e C Didn't crash
Last patch testing requests (2)
Created Duration User Patch Repo Result
2025/06/30 11:25 14m retest repro android14-6.1 report log
2025/06/30 11:25 6m retest repro android14-6.1 report log

Sample crash report:
RBP: 00007ffea8717830 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 00007fc2a71b5fa0 R14: 00007fc2a71b5fa0 R15: 0000000000000001
 </TASK>
CFI failure at __traceiter_tlb_flush+0x80/0xd0 include/trace/events/tlb.h:38 (target: tp_stub_func+0x0/0x10; expected type: 0x205553a5)
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 431 Comm: syz.5.20 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
RIP: 0010:__traceiter_tlb_flush+0x80/0xd0 include/trace/events/tlb.h:38
Code: 89 f8 48 c1 e8 03 42 80 3c 28 00 74 05 e8 d8 60 07 00 49 8b 7c 24 08 44 89 f6 48 8b 55 d0 41 ba 5b ac aa df 44 03 53 fc 74 02 <0f> 0b ff d3 49 83 c7 18 4c 89 f8 48 c1 e8 03 42 80 3c 28 00 74 08
RSP: 0018:ffffc90000de7648 EFLAGS: 00010093
RAX: 1ffff1102339a506 RBX: ffffffff817123b0 RCX: ffff88811a5ed100
RDX: ffffffffffffffff RSI: 0000000000000000 RDI: ffffc90000811000
RBP: ffffc90000de7678 R08: dffffc0000000000 R09: ffffc90000de7548
R10: 0000000084eb1367 R11: 1ffff920001bcea9 R12: ffff888119cd2828
R13: dffffc0000000000 R14: 0000000000000000 R15: ffff888119cd2828
FS:  00005555688f7500(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffdfa50000 CR3: 000000012f0ef000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 trace_tlb_flush include/trace/events/tlb.h:38 [inline]
 switch_mm_irqs_off+0x61f/0x980 arch/x86/mm/tlb.c:634
 context_switch kernel/sched/core.c:5405 [inline]
 __schedule+0x9eb/0x14e0 kernel/sched/core.c:6750
 preempt_schedule_common+0x9b/0xf0 kernel/sched/core.c:6919
 preempt_schedule+0xa7/0xb0 kernel/sched/core.c:6943
 preempt_schedule_thunk+0x16/0x18 arch/x86/entry/thunk_64.S:34
 try_to_wake_up+0x6b8/0x1220 kernel/sched/core.c:4395
 wake_up_process kernel/sched/core.c:4523 [inline]
 wake_up_q+0xdc/0x1b0 kernel/sched/core.c:1032
 __mutex_unlock_slowpath+0x262/0x3b0 kernel/locking/mutex.c:980
 mutex_unlock+0xd8/0x220 kernel/locking/mutex.c:565
 tracepoint_probe_unregister+0x84e/0x8b0 kernel/tracepoint.c:552
 bpf_probe_unregister+0x61/0x70 kernel/trace/bpf_trace.c:2359
 bpf_raw_tp_link_release+0x63/0x90 kernel/bpf/syscall.c:3170
 bpf_link_free+0x13a/0x390 kernel/bpf/syscall.c:2739
 bpf_link_put kernel/bpf/syscall.c:2765 [inline]
 bpf_link_release+0x15f/0x170 kernel/bpf/syscall.c:2774
 __fput+0x1fc/0x8f0 fs/file_table.c:320
 ____fput+0x15/0x20 fs/file_table.c:348
 task_work_run+0x1db/0x240 kernel/task_work.c:203
 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
 exit_to_user_mode_loop+0x9b/0xb0 kernel/entry/common.c:177
 exit_to_user_mode_prepare+0x5a/0xa0 kernel/entry/common.c:210
 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline]
 syscall_exit_to_user_mode+0x1a/0x30 kernel/entry/common.c:303
 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:87
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fc2a6f8ebe9
Code: Unable to access opcode bytes at 0x7fc2a6f8ebbf.
RSP: 002b:00007ffea87177d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 00007fc2a71b5fa0 RCX: 00007fc2a6f8ebe9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004
RBP: 00007ffea8717830 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 00007fc2a71b5fa0 R14: 00007fc2a71b5fa0 R15: 0000000000000001
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__traceiter_tlb_flush+0x80/0xd0 include/trace/events/tlb.h:38
Code: 89 f8 48 c1 e8 03 42 80 3c 28 00 74 05 e8 d8 60 07 00 49 8b 7c 24 08 44 89 f6 48 8b 55 d0 41 ba 5b ac aa df 44 03 53 fc 74 02 <0f> 0b ff d3 49 83 c7 18 4c 89 f8 48 c1 e8 03 42 80 3c 28 00 74 08
RSP: 0018:ffffc90000de7648 EFLAGS: 00010093
RAX: 1ffff1102339a506 RBX: ffffffff817123b0 RCX: ffff88811a5ed100
RDX: ffffffffffffffff RSI: 0000000000000000 RDI: ffffc90000811000
RBP: ffffc90000de7678 R08: dffffc0000000000 R09: ffffc90000de7548
R10: 0000000084eb1367 R11: 1ffff920001bcea9 R12: ffff888119cd2828
R13: dffffc0000000000 R14: 0000000000000000 R15: ffff888119cd2828
FS:  00005555688f7500(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: ffffffffdfa50000 CR3: 000000012f0ef000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (12):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/08/28 23:23 android14-6.1 17c227d12e45 d401b9d7 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf invalid opcode in __traceiter_tlb_flush
2025/05/13 13:48 android14-6.1 646380b087a5 f6671af7 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-1 invalid opcode in __traceiter_tlb_flush
2025/05/13 13:19 android14-6.1 646380b087a5 f6671af7 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-1 invalid opcode in __traceiter_tlb_flush
2025/09/01 16:48 android14-6.1 684ae9bac393 807a3b61 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf invalid opcode in __traceiter_tlb_flush
2025/08/29 02:48 android14-6.1 17c227d12e45 d401b9d7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 invalid opcode in __traceiter_tlb_flush
2025/08/28 22:44 android14-6.1 17c227d12e45 d401b9d7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf invalid opcode in __traceiter_tlb_flush
2025/07/27 05:50 android14-6.1 2ff414a09808 fb8f743d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 invalid opcode in __traceiter_tlb_flush
2025/06/16 08:14 android14-6.1 6246d345f550 5f4b362d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 invalid opcode in __traceiter_tlb_flush
2025/05/28 06:59 android14-6.1 db710ea87c32 874a1386 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf invalid opcode in __traceiter_tlb_flush
2025/05/25 11:58 android14-6.1 3c6d0251e1fb ed351ea7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf invalid opcode in __traceiter_tlb_flush
2025/05/15 09:25 android14-6.1 3cd01bb5bd37 d6b2ee52 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf invalid opcode in __traceiter_tlb_flush
2025/05/13 12:49 android14-6.1 646380b087a5 f6671af7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 invalid opcode in __traceiter_tlb_flush
* Struck through repros no longer work on HEAD.