general protection fault in vsscanf

Status: upstream: reported C repro on 2026/08/18 10:26
Bug presence: origin:lts
[Documentation on labels]
Reported-by: syzbot+a514d4b7318a8f80f989@syzkaller.appspotmail.com
First crash: 98d, last: 6h25m
▶ ▼ Bug presence (2)
Date Name Commit Repro Result
2026/10/12 lts (merge base) 090666d3cc90 C [report] general protection fault in vsscanf
2026/10/12 upstream (ToT) 24a19b953e2a C Didn't crash
▶ ▼ Similar bugs (11)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 general protection fault in vsscanf origin:lts-only 2 syz, C 51 1d15h 97d 0/3 upstream: reported C repro on 2026/08/18 22:35
linux-6.1 BUG: unable to handle kernel paging request in vsscanf origin:lts-only 8 syz, C 193 1d20h 97d 0/3 upstream: reported C repro on 2026/08/18 15:35
linux-6.6 general protection fault in vsscanf 2 syz, C 80 1d18h 96d 0/2 upstream: reported C repro on 2026/08/19 08:56
android-5-15 general protection fault in vsscanf origin:lts 2 syz, C 76 6h25m 97d 0/2 upstream: reported C repro on 2026/08/18 22:10
upstream general protection fault in vsscanf (2) mm 2 syz, C 11 702d 708d 28/29 fixed on 2025/05/06 15:33
upstream general protection fault in vsscanf v9fs 2 syz, C 7 3028d 3058d 8/29 fixed on 2018/09/03 14:47
android-49 general protection fault in vsscanf 2 syz, C 6 3008d 2781d 0/3 public: reported C repro on 2019/04/14 00:00
android-6-12 general protection fault in vsscanf origin:lts 2 syz, C 227 6h24m 98d 0/1 premoderation: reported C repro on 2026/08/18 03:15
linux-4.19 BUG: unable to handle kernel paging request in vsscanf (2) 8 2 1866d 1968d 0/1 auto-closed as invalid on 2022/02/11 22:53
upstream KMSAN: uninit-value in vsscanf bluetooth 7 syz 9 1727d 1793d 0/29 auto-closed as invalid on 2022/09/27 18:52
linux-4.19 BUG: unable to handle kernel paging request in vsscanf (3) 8 1 1674d 1674d 0/1 auto-closed as invalid on 2022/08/22 19:56

Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007]
CPU: 0 PID: 304 Comm: syz-executor155 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
RIP: 0010:vsscanf+0x196/0x24b0 lib/vsprintf.c:3446
Code: 48 c7 c6 90 19 8e 87 e8 28 8a 7d fc 41 83 fe 25 74 4d 45 85 f6 0f 84 b6 21 00 00 48 ff c3 48 89 5c 24 78 4c 89 f8 48 c1 e8 03 <42> 0f b6 04 28 84 c0 0f 85 4f 1b 00 00 41 0f b6 1f 45 0f b6 f6 44
RSP: 0018:ffffc90000e675e0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffffffff85b0e021 RCX: 0000000000000001
RDX: ffffffff84f3ed48 RSI: ffffffff878e1990 RDI: 0000000000000030
RBP: ffffc90000e67710 R08: ffff88810f419440 R09: 0000000000000002
R10: 0000000000000025 R11: 0000000000000000 R12: ffffffff85b0e020
R13: dffffc0000000000 R14: 0000000000000030 R15: 0000000000000000
FS:  00005555667a63c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000000000 CR3: 0000000111d36000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 sscanf+0xdf/0x130 lib/vsprintf.c:3704
 split_huge_pages_write+0x37a/0x10d0 mm/huge_memory.c:3288
 full_proxy_write+0x121/0x1d0 fs/debugfs/file.c:244
 vfs_write+0x3fb/0xd00 fs/read_write.c:582
 ksys_write+0x14a/0x260 fs/read_write.c:637
 __do_sys_write fs/read_write.c:649 [inline]
 __se_sys_write fs/read_write.c:646 [inline]
 __x64_sys_write+0x7b/0x90 fs/read_write.c:646
 x64_sys_call+0x27b/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:2
 do_syscall_x64 arch/x86/entry/common.c:46 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fb67f4abc79
Code: c0 79 93 eb d5 48 8d 7c 1d 00 eb 99 0f 1f 44 00 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 d8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffd293a8c48 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 0000200000000000 RCX: 00007fb67f4abc79
RDX: 000000000000000f RSI: 0000200000000340 RDI: 0000000000000003
RBP: 0067756265642f2e R08: 0000000000000000 R09: 00000000000a8c88
R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffd293a8d78
R13: 0000000000000002 R14: 00007fb67f53cca0 R15: 0000000000000002
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:vsscanf+0x196/0x24b0 lib/vsprintf.c:3446
Code: 48 c7 c6 90 19 8e 87 e8 28 8a 7d fc 41 83 fe 25 74 4d 45 85 f6 0f 84 b6 21 00 00 48 ff c3 48 89 5c 24 78 4c 89 f8 48 c1 e8 03 <42> 0f b6 04 28 84 c0 0f 85 4f 1b 00 00 41 0f b6 1f 45 0f b6 f6 44
RSP: 0018:ffffc90000e675e0 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffffffff85b0e021 RCX: 0000000000000001
RDX: ffffffff84f3ed48 RSI: ffffffff878e1990 RDI: 0000000000000030
RBP: ffffc90000e67710 R08: ffff88810f419440 R09: 0000000000000002
R10: 0000000000000025 R11: 0000000000000000 R12: ffffffff85b0e020
R13: dffffc0000000000 R14: 0000000000000030 R15: 0000000000000000
FS:  00005555667a63c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000000000 CR3: 0000000111d36000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	48 c7 c6 90 19 8e 87 	mov    $0xffffffff878e1990,%rsi
   7:	e8 28 8a 7d fc       	call   0xfc7d8a34
   c:	41 83 fe 25          	cmp    $0x25,%r14d
  10:	74 4d                	je     0x5f
  12:	45 85 f6             	test   %r14d,%r14d
  15:	0f 84 b6 21 00 00    	je     0x21d1
  1b:	48 ff c3             	inc    %rbx
  1e:	48 89 5c 24 78       	mov    %rbx,0x78(%rsp)
  23:	4c 89 f8             	mov    %r15,%rax
  26:	48 c1 e8 03          	shr    $0x3,%rax
* 2a:	42 0f b6 04 28       	movzbl (%rax,%r13,1),%eax <-- trapping instruction
  2f:	84 c0                	test   %al,%al
  31:	0f 85 4f 1b 00 00    	jne    0x1b86
  37:	41 0f b6 1f          	movzbl (%r15),%ebx
  3b:	45 0f b6 f6          	movzbl %r14b,%r14d
  3f:	44                   	rex.R

Crashes (155):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/11/20 12:34 android14-6.1 b07b626eb822 625aa117 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in vsscanf
2026/10/07 12:27 android14-6.1 3b0884642a50 6520ecdb .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in vsscanf
2026/10/06 16:28 android14-6.1 3b0884642a50 f7710056 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in vsscanf
2026/10/06 15:27 android14-6.1 3b0884642a50 f7710056 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in vsscanf
2026/10/06 05:58 android14-6.1 3b0884642a50 f7710056 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in vsscanf
2026/10/05 17:41 android14-6.1 6612ef9d0b09 af63e995 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in vsscanf
2026/10/05 14:43 android14-6.1 6612ef9d0b09 af63e995 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in vsscanf
2026/10/05 11:22 android14-6.1 6612ef9d0b09 57bbd979 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in vsscanf
2026/10/05 00:03 android14-6.1 6612ef9d0b09 57bbd979 .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in vsscanf
2026/08/18 10:22 android14-6.1 92668decd5e0 1e72964b .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in vsscanf
2026/11/24 00:21 android14-6.1 f8d042e14f1a e9bfbe3a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in vsscanf
2026/11/21 02:33 android14-6.1 b07b626eb822 b2c69459 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in vsscanf
2026/11/18 15:24 android14-6.1 b07b626eb822 eb4895d7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in vsscanf
2026/11/18 08:54 android14-6.1 b07b626eb822 eb4895d7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in vsscanf
2026/11/17 04:42 android14-6.1 c1e1dfc6e051 a3e64cfc .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in vsscanf
2026/11/16 10:04 android14-6.1 c1e1dfc6e051 31830773 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in vsscanf
2026/11/16 01:48 android14-6.1 c1e1dfc6e051 819ebe34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in vsscanf
2026/11/15 16:08 android14-6.1 c1e1dfc6e051 819ebe34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in vsscanf
2026/11/15 13:48 android14-6.1 c1e1dfc6e051 819ebe34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in vsscanf
2026/11/03 17:39 android14-6.1 00c3a851911d e2d35131 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in vsscanf
2026/11/01 22:13 android14-6.1 743bbe988cbf 25a0ae84 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in vsscanf
2026/10/31 05:03 android14-6.1 17f0538436d1 0ec395f8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in vsscanf
2026/10/31 03:56 android14-6.1 17f0538436d1 0ec395f8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in vsscanf
2026/10/31 02:25 android14-6.1 17f0538436d1 0ec395f8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in vsscanf
2026/10/30 20:02 android14-6.1 17f0538436d1 0ec395f8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in vsscanf
2026/10/30 14:20 android14-6.1 17f0538436d1 b498adee .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in vsscanf
2026/10/28 07:56 android14-6.1 b83ca11f560a 96923c60 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in vsscanf
2026/10/26 09:21 android14-6.1 2f0d864181b9 1d9ca40b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in vsscanf
2026/10/25 20:54 android14-6.1 2f0d864181b9 1d9ca40b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in vsscanf
2026/10/25 18:33 android14-6.1 2f0d864181b9 1d9ca40b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in vsscanf
2026/10/24 21:24 android14-6.1 2f0d864181b9 1d9ca40b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in vsscanf
2026/10/24 16:18 android14-6.1 2f0d864181b9 1d9ca40b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in vsscanf
2026/10/24 09:00 android14-6.1 04566490b518 1d9ca40b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in vsscanf
2026/10/20 00:52 android14-6.1 b9b12f129604 72cdc28d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in vsscanf
2026/10/18 14:18 android14-6.1 48e3cd973485 432c0077 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in vsscanf
2026/10/17 17:39 android14-6.1 48e3cd973485 432c0077 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in vsscanf
2026/10/14 17:16 android14-6.1 e3b8fb598ad4 1a71827b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in vsscanf
2026/10/13 18:06 android14-6.1 31addbff5e86 5a1eeac4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in vsscanf
2026/10/12 10:02 android14-6.1 9ea8d8374e5e 4f92358f .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in vsscanf
2026/10/11 16:22 android14-6.1 9ea8d8374e5e 4f92358f .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in vsscanf
2026/10/11 13:59 android14-6.1 9ea8d8374e5e 4f92358f .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in vsscanf
2026/10/11 09:08 android14-6.1 9ea8d8374e5e 4f92358f .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in vsscanf
2026/10/10 23:42 android14-6.1 9ea8d8374e5e 4f92358f .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in vsscanf
2026/10/09 03:06 android14-6.1 9ea8d8374e5e b2734a59 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in vsscanf
2026/10/08 22:01 android14-6.1 9ea8d8374e5e b2734a59 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in vsscanf
2026/10/07 19:26 android14-6.1 3b0884642a50 6520ecdb .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in vsscanf
2026/10/07 14:58 android14-6.1 3b0884642a50 6520ecdb .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in vsscanf
2026/10/07 11:36 android14-6.1 3b0884642a50 6520ecdb .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in vsscanf
2026/10/04 00:15 android14-6.1 6612ef9d0b09 57bbd979 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in vsscanf
2026/10/03 11:41 android14-6.1 6612ef9d0b09 57bbd979 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in vsscanf
2026/10/02 12:34 android14-6.1 6612ef9d0b09 6d32eb1f .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in vsscanf
2026/10/01 22:28 android14-6.1 6612ef9d0b09 f5cdae2f .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in vsscanf
2026/10/01 15:05 android14-6.1 6612ef9d0b09 f5cdae2f .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in vsscanf
2026/09/30 08:38 android14-6.1 7a5c6f02c229 7808aef4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in vsscanf
2026/09/29 15:05 android14-6.1 3d4bd33f0b0b 7bf4ea23 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in vsscanf
2026/09/29 13:12 android14-6.1 3d4bd33f0b0b 7bf4ea23 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in vsscanf
2026/09/28 18:32 android14-6.1 3d4bd33f0b0b a3c7249d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in vsscanf
2026/09/28 03:21 android14-6.1 3d4bd33f0b0b a3c7249d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in vsscanf
2026/08/17 23:16 android14-6.1 92668decd5e0 905244d6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in vsscanf
* Struck through repros no longer work on HEAD.