syzbot


Internal error in inotify_ioctl

Status: upstream: reported C repro on 2025/08/09 00:07
Reported-by: syzbot+f822ce41e6cf8d82a676@syzkaller.appspotmail.com
First crash: 6d20h, last: 22h19m

Sample crash report:
Internal error: Oops - BTI: 0000000036000001 [#1] PREEMPT SMP
Modules linked in:
CPU: 0 PID: 4242 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 : inotify_ioctl+0x270/0x304 fs/notify/inotify/inotify_user.c:347
lr : sign_extend64 include/linux/bitops.h:183 [inline]
lr : __uaccess_mask_ptr arch/arm64/include/asm/uaccess.h:244 [inline]
lr : inotify_ioctl+0x254/0x304 fs/notify/inotify/inotify_user.c:329
sp : ffff80001fd479b0
x29: ffff80001fd479b0 x28: dfff800000000000 x27: ffff700003fa8f48
x26: 1fffe00019d3f000 x25: 0000000000000000 x24: dfff800000000000
x23: 0000000000000004 x22: 0000000000400040 x21: 0000000000000000
x20: 0000000000000001 x19: 0000000000000000 x18: 0000000000000000
x17: 0000000000000000 x16: ffff8000089edb8c x15: 0000000040044900
x14: 0000000000ff0100 x13: 1ffff0000282e06b x12: 0000000000ff0100
x11: 0000000000000000 x10: 0000ffffffffffff x9 : 0000000000000000
x8 : 00000000fffffff2 x7 : ffff800008750ed4 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000001 x3 : 0000000000000001
x2 : 0000000000000008 x1 : 0000000000000001 x0 : 0000000000000000
Call trace:
 inotify_ioctl+0x270/0x304 fs/notify/inotify/inotify_user.c:329
 vfs_ioctl fs/ioctl.c:51 [inline]
 do_vfs_ioctl+0xbe0/0x2370 fs/ioctl.c:834
 __do_sys_ioctl fs/ioctl.c:872 [inline]
 __se_sys_ioctl fs/ioctl.c:860 [inline]
 __arm64_sys_ioctl+0xe4/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: 9a9f026b d503229f 2a1f03e8 b8000979 (93407d00) 
---[ end trace 61c21033487b0c3d ]---
----------------
Code disassembly (best guess):
   0:	9a9f026b 	csel	x11, x19, xzr, eq	// eq = none
   4:	d503229f 	csdb
   8:	2a1f03e8 	mov	w8, wzr
   c:	b8000979 	sttr	w25, [x11]
* 10:	93407d00 	sxtw	x0, w8 <-- trapping instruction

Crashes (10):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/08/11 12:40 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 inotify_ioctl
2025/08/14 21:25 linux-5.15.y c79648372d02 5d8c2ac2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in inotify_ioctl
2025/08/14 21:24 linux-5.15.y c79648372d02 5d8c2ac2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 Internal error in inotify_ioctl
2025/08/09 14:10 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 inotify_ioctl
2025/08/09 13:30 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 inotify_ioctl
2025/08/09 08:15 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 inotify_ioctl
2025/08/09 01:47 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 inotify_ioctl
2025/08/09 01:47 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 inotify_ioctl
2025/08/08 23:38 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 inotify_ioctl
2025/08/08 23:38 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 inotify_ioctl
* Struck through repros no longer work on HEAD.