syzbot


Internal error in fault_in_writeable

Status: upstream: reported C repro on 2025/08/12 07:47
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+6ea090b57a4a81675d17@syzkaller.appspotmail.com
First crash: 17d, last: 22h15m
Bug presence (2)
Date Name Commit Repro Result
2025/08/25 linux-5.15.y (ToT) c79648372d02 C [report] Internal error in fault_in_writeable
2025/08/25 upstream (ToT) b6add54ba618 C Didn't crash

Sample crash report:
BTRFS info (device loop0): using sha256 (sha256-ce) checksum algorithm
BTRFS info (device loop0): using free space tree
BTRFS info (device loop0): has skinny extents
BTRFS info (device loop0): enabling ssd optimizations
Internal error: Oops - BTI: 0000000036000001 [#1] PREEMPT SMP
Modules linked in:
CPU: 0 PID: 4230 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 : fault_in_writeable+0x254/0x324 mm/gup.c:1721
lr : fault_in_writeable+0x234/0x324 mm/gup.c:1721
sp : ffff80001fdb79b0
x29: ffff80001fdb79c0 x28: 0000002100000000 x27: 0000000021001000
x26: 0000000021000000 x25: 0000000021000000 x24: 00000000fffffff2
x23: 1fffe0001ae22a38 x22: ffff0000d71151c0 x21: 0000000000000000
x20: 0000000021000000 x19: dfff800000000000 x18: 0000000000000000
x17: ffff800008921238 x16: ffff800008733858 x15: ffff800009f19ca8
x14: ffff800009f24dfc x13: 1ffff0000282e06b x12: 0000000000ff0100
x11: 0000000000000000 x10: 0000000000000000 x9 : 0000ffffffffffff
x8 : 0000000021000000 x7 : ffff800008750ed4 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000000000001
x2 : 0000000000000008 x1 : 0000000000000001 x0 : 0000000000000000
Call trace:
 fault_in_writeable+0x254/0x324 mm/gup.c:1721
 search_ioctl+0x348/0x4d8 fs/btrfs/ioctl.c:2278
 btrfs_ioctl_tree_search_v2+0x244/0x4f8 fs/btrfs/ioctl.c:2362
 btrfs_ioctl+0x2c4/0xb38 fs/btrfs/ioctl.c:4975
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:874 [inline]
 __se_sys_ioctl fs/ioctl.c:860 [inline]
 __arm64_sys_ioctl+0x14c/0x1c8 fs/ioctl.c:860
 __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 2a1503f8 2a1503e0 38000915 (2a1803e1) 
---[ end trace 80402b989d2680bc ]---
----------------
Code disassembly (best guess):
   0:	d503229f 	csdb
   4:	2a1503f8 	mov	w24, w21
   8:	2a1503e0 	mov	w0, w21
   c:	38000915 	sttrb	w21, [x8]
* 10:	2a1803e1 	mov	w1, w24 <-- trapping instruction

Crashes (26):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/08/25 05:28 linux-5.15.y c79648372d02 bf27483f .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci2-linux-5-15-kasan-arm64 Internal error in fault_in_writeable
2025/08/28 14: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 fault_in_writeable
2025/08/28 14:07 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 fault_in_writeable
2025/08/28 11:31 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 fault_in_writeable
2025/08/28 11:30 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 fault_in_writeable
2025/08/28 00:44 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 fault_in_writeable
2025/08/28 00:44 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 fault_in_writeable
2025/08/25 04:57 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 fault_in_writeable
2025/08/23 13:08 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 fault_in_writeable
2025/08/23 13:07 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 fault_in_writeable
2025/08/23 10:47 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 fault_in_writeable
2025/08/23 00: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 fault_in_writeable
2025/08/19 10:42 linux-5.15.y c79648372d02 523f460e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in fault_in_writeable
2025/08/19 10:39 linux-5.15.y c79648372d02 523f460e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in fault_in_writeable
2025/08/17 07:37 linux-5.15.y c79648372d02 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in fault_in_writeable
2025/08/17 07:35 linux-5.15.y c79648372d02 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in fault_in_writeable
2025/08/17 06:00 linux-5.15.y c79648372d02 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in fault_in_writeable
2025/08/17 05:59 linux-5.15.y c79648372d02 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in fault_in_writeable
2025/08/17 05:09 linux-5.15.y c79648372d02 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in fault_in_writeable
2025/08/17 05:07 linux-5.15.y c79648372d02 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in fault_in_writeable
2025/08/17 01:15 linux-5.15.y c79648372d02 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in fault_in_writeable
2025/08/17 01:14 linux-5.15.y c79648372d02 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in fault_in_writeable
2025/08/16 03:25 linux-5.15.y c79648372d02 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in fault_in_writeable
2025/08/16 03:23 linux-5.15.y c79648372d02 1804e95e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in fault_in_writeable
2025/08/12 07:47 linux-5.15.y c79648372d02 c06e8995 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in fault_in_writeable
2025/08/12 07:46 linux-5.15.y c79648372d02 c06e8995 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in fault_in_writeable
* Struck through repros no longer work on HEAD.