syzbot


invalid opcode in __traceiter_kfree

Status: upstream: reported C repro on 2025/05/10 02:48
Bug presence: origin:lts
[Documentation on labels]
Reported-by: syzbot+54a46cf75290474f3686@syzkaller.appspotmail.com
First crash: 229d, last: 4d02h
Bug presence (2)
Date Name Commit Repro Result
2025/05/19 lts (merge base) 420102835862 C [report] invalid opcode in __traceiter_kfree
2025/05/19 upstream (ToT) a5806cd506af C Didn't crash
Last patch testing requests (3)
Created Duration User Patch Repo Result
2025/09/22 04:41 6m retest repro android14-6.1 report log
2025/09/22 04:41 6m retest repro android14-6.1 report log
2025/06/07 08:11 6m retest repro android14-6.1 report log

Sample crash report:
CFI failure at __traceiter_kfree+0x34/0x50 include/trace/events/kmem.h:95 (target: tp_stub_func+0x0/0x10; expected type: 0x8682d211)
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 13 Comm: ksoftirqd/0 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
RIP: 0010:__traceiter_kfree+0x34/0x50 include/trace/events/kmem.h:95
Code: 8b 3d 80 53 ca 05 4d 85 ff 74 2e 48 89 d3 49 89 f6 49 8b 07 49 8b 7f 08 4c 89 f6 48 89 da 41 ba ef 2d 7d 79 44 03 50 fc 74 02 <0f> 0b ff d0 49 83 7f 18 00 4d 8d 7f 18 75 d8 31 c0 5b 41 5e 41 5f
RSP: 0018:ffffc900000d7a10 EFLAGS: 00010213
RAX: ffffffff81714610 RBX: ffff88810e1baa78 RCX: 78bceffa77f88600
RDX: ffff88810e1baa78 RSI: ffffffff81a3a019 RDI: ffffc90000255000
RBP: ffffc900000d7a28 R08: ffff8881f5c00000 R09: 00000000000181f0
R10: 000000001ebd94fb R11: 0000000000000001 R12: ffffffff81c65ac0
R13: dffffc0000000000 R14: ffffffff81a3a019 R15: ffff888131dc0928
FS:  0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b33f63fff CR3: 0000000006e0f000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 trace_kfree include/trace/events/kmem.h:95 [inline]
 kfree+0xc9/0xf0 mm/slab_common.c:977
 kfree_const+0x39/0x40 mm/util.c:46
 free_vfsmnt+0xd9/0x130 fs/namespace.c:619
 delayed_free_vfsmnt+0x19/0x20 fs/namespace.c:628
 rcu_do_batch+0x515/0xb90 kernel/rcu/tree.c:2297
 rcu_core+0x5a5/0xe70 kernel/rcu/tree.c:2557
 rcu_core_si+0x9/0x10 kernel/rcu/tree.c:2574
 handle_softirqs+0x1d7/0x600 kernel/softirq.c:642
 run_ksoftirqd+0x28/0x30 kernel/softirq.c:1019
 smpboot_thread_fn+0x4a0/0x910 kernel/smpboot.c:164
 kthread+0x281/0x320 kernel/kthread.c:386
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__traceiter_kfree+0x34/0x50 include/trace/events/kmem.h:95
Code: 8b 3d 80 53 ca 05 4d 85 ff 74 2e 48 89 d3 49 89 f6 49 8b 07 49 8b 7f 08 4c 89 f6 48 89 da 41 ba ef 2d 7d 79 44 03 50 fc 74 02 <0f> 0b ff d0 49 83 7f 18 00 4d 8d 7f 18 75 d8 31 c0 5b 41 5e 41 5f
RSP: 0018:ffffc900000d7a10 EFLAGS: 00010213

RAX: ffffffff81714610 RBX: ffff88810e1baa78 RCX: 78bceffa77f88600
RDX: ffff88810e1baa78 RSI: ffffffff81a3a019 RDI: ffffc90000255000
RBP: ffffc900000d7a28 R08: ffff8881f5c00000 R09: 00000000000181f0
R10: 000000001ebd94fb R11: 0000000000000001 R12: ffffffff81c65ac0
R13: dffffc0000000000 R14: ffffffff81a3a019 R15: ffff888131dc0928
FS:  0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b33f63fff CR3: 0000000006e0f000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (49):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/12/14 05:16 android14-6.1 6f1c2f8fd8c8 d6526ea3 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-1 invalid opcode in __traceiter_kfree
2025/08/23 17:07 android14-6.1 397bc5b3eca0 bf27483f .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-1 invalid opcode in __traceiter_kfree
2025/05/10 02:39 android14-6.1 646380b087a5 77908e5f .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-1 invalid opcode in __traceiter_kfree
2025/12/15 03:25 android14-6.1 6f1c2f8fd8c8 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 invalid opcode in __traceiter_kfree
2025/12/14 05:02 android14-6.1 6f1c2f8fd8c8 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 invalid opcode in __traceiter_kfree
2025/12/14 02:37 android14-6.1 6f1c2f8fd8c8 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 invalid opcode in __traceiter_kfree
2025/11/30 18:52 android14-6.1 a92da54b7708 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 invalid opcode in __traceiter_kfree
2025/11/29 14:14 android14-6.1 a92da54b7708 d6526ea3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 invalid opcode in __traceiter_kfree
2025/11/02 19:28 android14-6.1 3e2aa22eb7df 2c50b6a9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 invalid opcode in __traceiter_kfree
2025/11/02 00:32 android14-6.1 3e2aa22eb7df 2c50b6a9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 invalid opcode in __traceiter_kfree
2025/11/01 02:23 android14-6.1 3e2aa22eb7df 2c50b6a9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf invalid opcode in __traceiter_kfree
2025/11/01 02:22 android14-6.1 3e2aa22eb7df 2c50b6a9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf invalid opcode in __traceiter_kfree
2025/10/29 05:48 android14-6.1 7ca912bfce3d fd2207e7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 invalid opcode in __traceiter_kfree
2025/10/26 00:06 android14-6.1 22c0b7236c43 c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 invalid opcode in __traceiter_kfree
2025/10/19 12:43 android14-6.1 22c0b7236c43 1c8c8cd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 invalid opcode in __traceiter_kfree
2025/10/04 20:40 android14-6.1 775e02ce538c 49379ee0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 invalid opcode in __traceiter_kfree
2025/09/29 09:03 android14-6.1 5303560ee8cf 001c9061 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 invalid opcode in __traceiter_kfree
2025/09/07 12:32 android14-6.1 499d2a0ffd4f d291dd2d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 invalid opcode in __traceiter_kfree
2025/09/01 21:24 android14-6.1 684ae9bac393 807a3b61 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 invalid opcode in __traceiter_kfree
2025/08/31 10:31 android14-6.1 02ca81000485 807a3b61 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 invalid opcode in __traceiter_kfree
2025/08/27 21:44 android14-6.1 47b374a18638 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 invalid opcode in __traceiter_kfree
2025/08/27 12:50 android14-6.1 47b374a18638 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 invalid opcode in __traceiter_kfree
2025/08/23 16:36 android14-6.1 397bc5b3eca0 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 invalid opcode in __traceiter_kfree
2025/08/17 16:25 android14-6.1 87b9d836c3d8 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 invalid opcode in __traceiter_kfree
2025/08/13 06:30 android14-6.1 c750dc582629 22ec1469 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 invalid opcode in __traceiter_kfree
2025/08/09 11:16 android14-6.1 c750dc582629 32a0e5ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 invalid opcode in __traceiter_kfree
2025/08/06 08:07 android14-6.1 39e817cf9025 ffe1dd46 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf invalid opcode in __traceiter_kfree
2025/08/05 01:01 android14-6.1 3b4ff5af8d36 f5bcc8dc .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf invalid opcode in __traceiter_kfree
2025/08/05 00:38 android14-6.1 3b4ff5af8d36 f5bcc8dc .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf invalid opcode in __traceiter_kfree
2025/08/03 15:01 android14-6.1 3b4ff5af8d36 7368264b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 invalid opcode in __traceiter_kfree
2025/08/01 05:20 android14-6.1 42472e1a4913 0c075d67 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 invalid opcode in __traceiter_kfree
2025/07/20 22:35 android14-6.1 145c7fad733f 7117feec .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 invalid opcode in __traceiter_kfree
2025/07/19 14:19 android14-6.1 145c7fad733f 7117feec .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 invalid opcode in __traceiter_kfree
2025/07/12 04:21 android14-6.1 e2deb0b42a3a 3cda49cf .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 invalid opcode in __traceiter_kfree
2025/07/08 22:11 android14-6.1 fa7e0538663e 4d9fdfa4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 invalid opcode in __traceiter_kfree
2025/07/06 17:15 android14-6.1 7011769d221c 4f67c4ae .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 invalid opcode in __traceiter_kfree
2025/07/05 05:26 android14-6.1 7011769d221c d869b261 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 invalid opcode in __traceiter_kfree
2025/06/15 05:01 android14-6.1 6246d345f550 5f4b362d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 invalid opcode in __traceiter_kfree
2025/06/14 23:09 android14-6.1 6246d345f550 5f4b362d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf invalid opcode in __traceiter_kfree
2025/06/14 21:07 android14-6.1 6246d345f550 5f4b362d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf invalid opcode in __traceiter_kfree
2025/05/24 01:57 android14-6.1 3c6d0251e1fb f8cc0c83 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf invalid opcode in __traceiter_kfree
2025/05/24 01:56 android14-6.1 3c6d0251e1fb f8cc0c83 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf invalid opcode in __traceiter_kfree
2025/05/24 01:54 android14-6.1 3c6d0251e1fb f8cc0c83 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf invalid opcode in __traceiter_kfree
2025/05/22 08:07 android14-6.1 3c6d0251e1fb 0919b50b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1-perf invalid opcode in __traceiter_kfree
2025/05/18 21:04 android14-6.1 a0fa2316cce1 f41472b0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 invalid opcode in __traceiter_kfree
2025/05/18 17:47 android14-6.1 a0fa2316cce1 f41472b0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 invalid opcode in __traceiter_kfree
2025/05/18 10:06 android14-6.1 a0fa2316cce1 f41472b0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 invalid opcode in __traceiter_kfree
2025/05/10 02:15 android14-6.1 646380b087a5 77908e5f .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 invalid opcode in __traceiter_kfree
2025/05/04 02:41 android14-6.1 0c1a07d9c284 b0714e37 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 invalid opcode in __traceiter_kfree
* Struck through repros no longer work on HEAD.