syzbot


Internal error in cap_validate_magic

Status: upstream: reported C repro on 2025/08/08 14:25
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+10ba4ba1d6c244000861@syzkaller.appspotmail.com
First crash: 21d, last: 1d01h
Bug presence (2)
Date Name Commit Repro Result
2025/08/15 linux-5.15.y (ToT) c79648372d02 C [report] Internal error in cap_validate_magic
2025/08/15 upstream (ToT) 24ea63ea3877 C Didn't crash

Sample crash report:
Internal error: Oops - BTI: 0000000036000001 [#1] PREEMPT SMP
Modules linked in:
CPU: 1 PID: 4240 Comm: syz.0.17 Not tainted 5.15.189-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/30/2025
pstate: 42400405 (nZcv daif +PAN -UAO +TCO -DIT -SSBS BTYPE=jc)
pc : cap_validate_magic+0x150/0x418 kernel/capability.c:86
lr : cap_validate_magic+0x12c/0x418 kernel/capability.c:86
sp : ffff80001fdf7ae0
x29: ffff80001fdf7b80 x28: 1fffe0001b07c6d4 x27: 0000000000000000
x26: ffff80001fdf7b00 x25: dfff800000000000 x24: ffff700003fbef60
x23: 00000000fffffff2 x22: ffff0000d83e36a4 x21: ffff0000d83e3680
x20: 0000000000000000 x19: 0000000000000000 x18: 0000000000000000
x17: 0000000000000000 x16: ffff8000081afdfc x15: 0000000000000000
x14: 0000000000000000 x13: 1ffff0000282e06b x12: 0000000000ff0100
x11: 0000000000000000 x10: 0000000000000000 x9 : 0000000000000000
x8 : 0000ffffffffffff x7 : ffff800008750ed4 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000000000001
x2 : 0000000000000008 x1 : 0000000000000001 x0 : 0000000000000000
Call trace:
 cap_validate_magic+0x150/0x418 kernel/capability.c:86
 __do_sys_capget kernel/capability.c:155 [inline]
 __se_sys_capget kernel/capability.c:148 [inline]
 __arm64_sys_capget+0xe8/0x870 kernel/capability.c:148
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181
 el0_svc+0x78/0x1e0 arch/arm64/kernel/entry-common.c:608
 el0t_64_sync_handler+0xcc/0xe4 arch/arm64/kernel/entry-common.c:626
 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584
Code: d503229f 2a1f03f7 2a1f03e0 b8400933 (2a1703e1) 
---[ end trace eb58bacf9642d507 ]---
----------------
Code disassembly (best guess):
   0:	d503229f 	csdb
   4:	2a1f03f7 	mov	w23, wzr
   8:	2a1f03e0 	mov	w0, wzr
   c:	b8400933 	ldtr	w19, [x9]
* 10:	2a1703e1 	mov	w1, w23 <-- trapping instruction

Crashes (2247):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/08/28 09:51 linux-5.15.y c79648372d02 e12e5ba4 .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in cap_validate_magic
2025/08/25 00:16 linux-5.15.y c79648372d02 bf27483f .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in cap_validate_magic
2025/08/23 21:54 linux-5.15.y c79648372d02 bf27483f .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in cap_validate_magic
2025/08/18 18:54 linux-5.15.y c79648372d02 1804e95e .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in cap_validate_magic
2025/08/17 11:53 linux-5.15.y c79648372d02 1804e95e .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in cap_validate_magic
2025/08/16 23:58 linux-5.15.y c79648372d02 1804e95e .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in cap_validate_magic
2025/08/16 23:42 linux-5.15.y c79648372d02 1804e95e .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in cap_validate_magic
2025/08/16 07:29 linux-5.15.y c79648372d02 1804e95e .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in cap_validate_magic
2025/08/16 07:00 linux-5.15.y c79648372d02 1804e95e .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in cap_validate_magic
2025/08/16 06:31 linux-5.15.y c79648372d02 1804e95e .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in cap_validate_magic
2025/08/16 05:57 linux-5.15.y c79648372d02 1804e95e .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in cap_validate_magic
2025/08/11 15:22 linux-5.15.y c79648372d02 32a0e5ed .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in cap_validate_magic
2025/08/11 11:11 linux-5.15.y c79648372d02 32a0e5ed .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in cap_validate_magic
2025/08/11 05:47 linux-5.15.y c79648372d02 32a0e5ed .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in cap_validate_magic
2025/08/10 22:16 linux-5.15.y c79648372d02 32a0e5ed .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in cap_validate_magic
2025/08/10 13:05 linux-5.15.y c79648372d02 32a0e5ed .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in cap_validate_magic
2025/08/10 11:00 linux-5.15.y c79648372d02 32a0e5ed .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in cap_validate_magic
2025/08/10 20:55 linux-5.15.y c79648372d02 32a0e5ed .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in cap_validate_magic
2025/08/10 08:40 linux-5.15.y c79648372d02 32a0e5ed .config console log report syz / log [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in cap_validate_magic
2025/08/28 19:21 linux-5.15.y c79648372d02 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in cap_validate_magic
2025/08/28 17:46 linux-5.15.y c79648372d02 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in cap_validate_magic
2025/08/28 16:40 linux-5.15.y c79648372d02 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in cap_validate_magic
2025/08/28 15:38 linux-5.15.y c79648372d02 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in cap_validate_magic
2025/08/28 15:10 linux-5.15.y c79648372d02 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in cap_validate_magic
2025/08/28 14:02 linux-5.15.y c79648372d02 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in cap_validate_magic
2025/08/28 12:20 linux-5.15.y c79648372d02 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in cap_validate_magic
2025/08/28 12:20 linux-5.15.y c79648372d02 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in cap_validate_magic
2025/08/28 11:11 linux-5.15.y c79648372d02 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in cap_validate_magic
2025/08/28 09:13 linux-5.15.y c79648372d02 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in cap_validate_magic
2025/08/28 08:14 linux-5.15.y c79648372d02 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in cap_validate_magic
2025/08/28 07:35 linux-5.15.y c79648372d02 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in cap_validate_magic
2025/08/28 06:16 linux-5.15.y c79648372d02 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in cap_validate_magic
2025/08/28 05:13 linux-5.15.y c79648372d02 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in cap_validate_magic
2025/08/28 04:41 linux-5.15.y c79648372d02 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in cap_validate_magic
2025/08/28 03:36 linux-5.15.y c79648372d02 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in cap_validate_magic
2025/08/28 02:25 linux-5.15.y c79648372d02 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in cap_validate_magic
2025/08/28 01:50 linux-5.15.y c79648372d02 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in cap_validate_magic
2025/08/28 00:08 linux-5.15.y c79648372d02 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in cap_validate_magic
2025/08/27 22:50 linux-5.15.y c79648372d02 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in cap_validate_magic
2025/08/27 22:48 linux-5.15.y c79648372d02 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in cap_validate_magic
2025/08/27 21:46 linux-5.15.y c79648372d02 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in cap_validate_magic
2025/08/27 21:13 linux-5.15.y c79648372d02 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in cap_validate_magic
2025/08/27 19:37 linux-5.15.y c79648372d02 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in cap_validate_magic
2025/08/27 18:35 linux-5.15.y c79648372d02 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in cap_validate_magic
2025/08/27 17:11 linux-5.15.y c79648372d02 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in cap_validate_magic
2025/08/27 17:09 linux-5.15.y c79648372d02 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in cap_validate_magic
2025/08/27 16:03 linux-5.15.y c79648372d02 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in cap_validate_magic
2025/08/27 14:49 linux-5.15.y c79648372d02 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in cap_validate_magic
2025/08/27 13:41 linux-5.15.y c79648372d02 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in cap_validate_magic
2025/08/27 13:16 linux-5.15.y c79648372d02 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in cap_validate_magic
2025/08/27 11:34 linux-5.15.y c79648372d02 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in cap_validate_magic
2025/08/27 10:33 linux-5.15.y c79648372d02 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in cap_validate_magic
2025/08/27 09:28 linux-5.15.y c79648372d02 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in cap_validate_magic
2025/08/27 09:02 linux-5.15.y c79648372d02 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in cap_validate_magic
2025/08/27 05:46 linux-5.15.y c79648372d02 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in cap_validate_magic
2025/08/27 04:39 linux-5.15.y c79648372d02 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in cap_validate_magic
2025/08/27 03:34 linux-5.15.y c79648372d02 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in cap_validate_magic
2025/08/27 03:17 linux-5.15.y c79648372d02 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in cap_validate_magic
2025/08/27 02:12 linux-5.15.y c79648372d02 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in cap_validate_magic
2025/08/27 01:25 linux-5.15.y c79648372d02 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in cap_validate_magic
2025/08/26 15:47 linux-5.15.y c79648372d02 e12e5ba4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in cap_validate_magic
2025/08/26 13:56 linux-5.15.y c79648372d02 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in cap_validate_magic
2025/08/26 13:55 linux-5.15.y c79648372d02 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in cap_validate_magic
2025/08/26 12:38 linux-5.15.y c79648372d02 bf27483f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in cap_validate_magic
2025/08/08 14:25 linux-5.15.y c79648372d02 32a0e5ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in cap_validate_magic
* Struck through repros no longer work on HEAD.