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: 62d, last: 14d
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:
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: 91 Comm: klogd Not tainted 6.1.134-syzkaller-00012-g646380b087a5 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/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 38 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:ffffc90000a37728 EFLAGS: 00010093
RAX: 1ffff11021d6a949 RBX: ffffffff81710320 RCX: ffff8881101b5100
RDX: ffffffffffffffff RSI: 0000000000000000 RDI: ffffc900000dd000
RBP: ffffc90000a37758 R08: ffff8881101b5100 R09: 000000000000000c
R10: 0000000084eb1367 R11: 0000000040000000 R12: ffff88810eb54a40
R13: dffffc0000000000 R14: 0000000000000000 R15: ffff88810eb54a40
FS:  00007fa25edb7c80(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000010fc9e000 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:630
 context_switch kernel/sched/core.c:5405 [inline]
 __schedule+0x9eb/0x14e0 kernel/sched/core.c:6750
 schedule+0xbd/0x170 kernel/sched/core.c:6826
 schedule_timeout+0xa6/0x2e0 kernel/time/timer.c:1947
 unix_wait_for_peer+0x1e5/0x2e0 net/unix/af_unix.c:1445
 unix_dgram_sendmsg+0x1034/0x18e0 net/unix/af_unix.c:2024
 sock_sendmsg_nosec net/socket.c:716 [inline]
 __sock_sendmsg net/socket.c:728 [inline]
 __sys_sendto+0x464/0x5e0 net/socket.c:2143
 __do_sys_sendto net/socket.c:2155 [inline]
 __se_sys_sendto net/socket.c:2151 [inline]
 __x64_sys_sendto+0xe5/0x100 net/socket.c:2151
 x64_sys_call+0x83/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:45
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fa25ef07407
Code: Unable to access opcode bytes at 0x7fa25ef073dd.
RSP: 002b:00007ffe16305ba0 EFLAGS: 00000202 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007fa25edb7c80 RCX: 00007fa25ef07407
RDX: 000000000000005d RSI: 00007ffe16305ce0 RDI: 0000000000000003
RBP: 00007ffe16306110 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000004000 R11: 0000000000000202 R12: 00007ffe16306128
R13: 00007ffe16305ce0 R14: 0000000000000042 R15: 00007ffe16305ce0
 </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 38 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:ffffc90000a37728 EFLAGS: 00010093
RAX: 1ffff11021d6a949 RBX: ffffffff81710320 RCX: ffff8881101b5100
RDX: ffffffffffffffff RSI: 0000000000000000 RDI: ffffc900000dd000
RBP: ffffc90000a37758 R08: ffff8881101b5100 R09: 000000000000000c
R10: 0000000084eb1367 R11: 0000000040000000 R12: ffff88810eb54a40
R13: dffffc0000000000 R14: 0000000000000000 R15: ffff88810eb54a40
FS:  00007fa25edb7c80(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000010fc9e000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (7):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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/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.