Extracting prog: 1m57.054922803s
Minimizing prog: 11m47.619523628s
Simplifying prog options: 0s
Extracting C: 42.709441929s
Simplifying C: 10m31.288521977s
extracting reproducer from 1 programs
testing a last program of every proc
single: executing 1 programs separately with timeout 30s
testing program (duration=30s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat-openat$nullb-sendfile-openat$nullb-ioctl$FS_IOC_SETFLAGS
detailed listing:
executing program 0:
r0 = openat(0xffffffffffffff9c, &(0x7f00000001c0)='./file0\x00', 0xc4042, 0x28)
r1 = openat$nullb(0xffffffffffffff9c, &(0x7f0000000040), 0x800, 0x0)
sendfile(r0, r1, 0x0, 0xfffe82)
r2 = openat$nullb(0xffffffffffffff9c, &(0x7f0000000080), 0x121003, 0x0)
ioctl$FS_IOC_SETFLAGS(r2, 0x40081271, &(0x7f0000000980)=0x4000)
program crashed: kernel BUG in __filemap_add_folio
single: successfully extracted reproducer
found reproducer with 5 syscalls
minimizing guilty program
testing program (duration=49.679994889s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat-openat$nullb-sendfile-openat$nullb
detailed listing:
executing program 0:
r0 = openat(0xffffffffffffff9c, &(0x7f00000001c0)='./file0\x00', 0xc4042, 0x28)
r1 = openat$nullb(0xffffffffffffff9c, &(0x7f0000000040), 0x800, 0x0)
sendfile(r0, r1, 0x0, 0xfffe82)
openat$nullb(0xffffffffffffff9c, &(0x7f0000000080), 0x121003, 0x0)
program did not crash
testing program (duration=49.679994889s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat-openat$nullb-sendfile-ioctl$FS_IOC_SETFLAGS
detailed listing:
executing program 0:
r0 = openat(0xffffffffffffff9c, &(0x7f00000001c0)='./file0\x00', 0xc4042, 0x28)
r1 = openat$nullb(0xffffffffffffff9c, &(0x7f0000000040), 0x800, 0x0)
sendfile(r0, r1, 0x0, 0xfffe82)
ioctl$FS_IOC_SETFLAGS(0xffffffffffffffff, 0x40081271, &(0x7f0000000980)=0x4000)
program did not crash
testing program (duration=49.679994889s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat-openat$nullb-openat$nullb-ioctl$FS_IOC_SETFLAGS
detailed listing:
executing program 0:
openat(0xffffffffffffff9c, &(0x7f00000001c0)='./file0\x00', 0xc4042, 0x28)
openat$nullb(0xffffffffffffff9c, &(0x7f0000000040), 0x800, 0x0)
r0 = openat$nullb(0xffffffffffffff9c, &(0x7f0000000080), 0x121003, 0x0)
ioctl$FS_IOC_SETFLAGS(r0, 0x40081271, &(0x7f0000000980)=0x4000)
program did not crash
testing program (duration=49.679994889s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat-sendfile-openat$nullb-ioctl$FS_IOC_SETFLAGS
detailed listing:
executing program 0:
r0 = openat(0xffffffffffffff9c, &(0x7f00000001c0)='./file0\x00', 0xc4042, 0x28)
sendfile(r0, 0xffffffffffffffff, 0x0, 0xfffe82)
r1 = openat$nullb(0xffffffffffffff9c, &(0x7f0000000080), 0x121003, 0x0)
ioctl$FS_IOC_SETFLAGS(r1, 0x40081271, &(0x7f0000000980)=0x4000)
program did not crash
testing program (duration=49.679994889s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat$nullb-sendfile-openat$nullb-ioctl$FS_IOC_SETFLAGS
detailed listing:
executing program 0:
r0 = openat$nullb(0xffffffffffffff9c, &(0x7f0000000040), 0x800, 0x0)
sendfile(0xffffffffffffffff, r0, 0x0, 0xfffe82)
r1 = openat$nullb(0xffffffffffffff9c, &(0x7f0000000080), 0x121003, 0x0)
ioctl$FS_IOC_SETFLAGS(r1, 0x40081271, &(0x7f0000000980)=0x4000)
program did not crash
testing program (duration=49.679994889s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat-openat$nullb-sendfile-openat$nullb-ioctl$FS_IOC_SETFLAGS
detailed listing:
executing program 0:
r0 = openat(0xffffffffffffff9c, 0x0, 0xc4042, 0x28)
r1 = openat$nullb(0xffffffffffffff9c, &(0x7f0000000040), 0x800, 0x0)
sendfile(r0, r1, 0x0, 0xfffe82)
r2 = openat$nullb(0xffffffffffffff9c, &(0x7f0000000080), 0x121003, 0x0)
ioctl$FS_IOC_SETFLAGS(r2, 0x40081271, &(0x7f0000000980)=0x4000)
program did not crash
testing program (duration=49.679994889s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat-openat$nullb-sendfile-openat$nullb-ioctl$FS_IOC_SETFLAGS
detailed listing:
executing program 0:
r0 = openat(0xffffffffffffff9c, &(0x7f00000001c0)='./file0\x00', 0xc4042, 0x28)
r1 = openat$nullb(0xffffffffffffff9c, 0x0, 0x800, 0x0)
sendfile(r0, r1, 0x0, 0xfffe82)
r2 = openat$nullb(0xffffffffffffff9c, &(0x7f0000000080), 0x121003, 0x0)
ioctl$FS_IOC_SETFLAGS(r2, 0x40081271, &(0x7f0000000980)=0x4000)
program did not crash
testing program (duration=49.679994889s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat-openat$nullb-sendfile-openat$nullb-ioctl$FS_IOC_SETFLAGS
detailed listing:
executing program 0:
r0 = openat(0xffffffffffffff9c, &(0x7f00000001c0)='./file0\x00', 0xc4042, 0x28)
r1 = openat$nullb(0xffffffffffffff9c, &(0x7f0000000040), 0x800, 0x0)
sendfile(r0, r1, 0x0, 0xfffe82)
r2 = openat$nullb(0xffffffffffffff9c, 0x0, 0x121003, 0x0)
ioctl$FS_IOC_SETFLAGS(r2, 0x40081271, &(0x7f0000000980)=0x4000)
program did not crash
testing program (duration=49.679994889s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat-openat$nullb-sendfile-openat$nullb-ioctl$FS_IOC_SETFLAGS
detailed listing:
executing program 0:
r0 = openat(0xffffffffffffff9c, &(0x7f00000001c0)='./file0\x00', 0xc4042, 0x28)
r1 = openat$nullb(0xffffffffffffff9c, &(0x7f0000000040), 0x800, 0x0)
sendfile(r0, r1, 0x0, 0xfffe82)
r2 = openat$nullb(0xffffffffffffff9c, &(0x7f0000000080), 0x121003, 0x0)
ioctl$FS_IOC_SETFLAGS(r2, 0x40081271, 0x0)
program did not crash
extracting C reproducer
testing compiled C program (duration=49.679994889s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat-openat$nullb-sendfile-openat$nullb-ioctl$FS_IOC_SETFLAGS
program crashed: kernel BUG in __filemap_add_folio
simplifying C reproducer
testing compiled C program (duration=49.679994889s, {Threaded:false Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat-openat$nullb-sendfile-openat$nullb-ioctl$FS_IOC_SETFLAGS
program crashed: kernel BUG in __filemap_add_folio
testing compiled C program (duration=49.679994889s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:false Cgroups:false BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat-openat$nullb-sendfile-openat$nullb-ioctl$FS_IOC_SETFLAGS
program did not crash
testing compiled C program (duration=49.679994889s, {Threaded:false Repeat:true RepeatTimes:0 Procs:1 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat-openat$nullb-sendfile-openat$nullb-ioctl$FS_IOC_SETFLAGS
program did not crash
testing compiled C program (duration=49.679994889s, {Threaded:false Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:true Sysctl:true Swap:false UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat-openat$nullb-sendfile-openat$nullb-ioctl$FS_IOC_SETFLAGS
program crashed: kernel BUG in __filemap_add_folio
testing compiled C program (duration=49.679994889s, {Threaded:false Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:false UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat-openat$nullb-sendfile-openat$nullb-ioctl$FS_IOC_SETFLAGS
program did not crash
testing compiled C program (duration=49.679994889s, {Threaded:false Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:true Sysctl:true Swap:false UseTmpDir:false HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat-openat$nullb-sendfile-openat$nullb-ioctl$FS_IOC_SETFLAGS
program did not crash
testing compiled C program (duration=49.679994889s, {Threaded:false Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:true Sysctl:true Swap:false UseTmpDir:true HandleSegv:false Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat-openat$nullb-sendfile-openat$nullb-ioctl$FS_IOC_SETFLAGS
program did not crash
testing compiled C program (duration=49.679994889s, {Threaded:false Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:true Sysctl:false Swap:false UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat-openat$nullb-sendfile-openat$nullb-ioctl$FS_IOC_SETFLAGS
program crashed: kernel BUG in __filemap_add_folio
testing program (duration=49.679994889s, {Threaded:false Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:true Sysctl:false Swap:false UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat-openat$nullb-sendfile-openat$nullb-ioctl$FS_IOC_SETFLAGS
detailed listing:
executing program 0:
r0 = openat(0xffffffffffffff9c, &(0x7f00000001c0)='./file0\x00', 0xc4042, 0x28)
r1 = openat$nullb(0xffffffffffffff9c, &(0x7f0000000040), 0x800, 0x0)
sendfile(r0, r1, 0x0, 0xfffe82)
r2 = openat$nullb(0xffffffffffffff9c, &(0x7f0000000080), 0x121003, 0x0)
ioctl$FS_IOC_SETFLAGS(r2, 0x40081271, &(0x7f0000000980)=0x4000)
program crashed: kernel BUG in __filemap_add_folio
validation run: crashed=true
testing program (duration=49.679994889s, {Threaded:false Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:true Sysctl:false Swap:false UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat-openat$nullb-sendfile-openat$nullb-ioctl$FS_IOC_SETFLAGS
detailed listing:
executing program 0:
r0 = openat(0xffffffffffffff9c, &(0x7f00000001c0)='./file0\x00', 0xc4042, 0x28)
r1 = openat$nullb(0xffffffffffffff9c, &(0x7f0000000040), 0x800, 0x0)
sendfile(r0, r1, 0x0, 0xfffe82)
r2 = openat$nullb(0xffffffffffffff9c, &(0x7f0000000080), 0x121003, 0x0)
ioctl$FS_IOC_SETFLAGS(r2, 0x40081271, &(0x7f0000000980)=0x4000)
program crashed: kernel BUG in __filemap_add_folio
validation run: crashed=true
testing program (duration=49.679994889s, {Threaded:false Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:true Sysctl:false Swap:false UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat-openat$nullb-sendfile-openat$nullb-ioctl$FS_IOC_SETFLAGS
detailed listing:
executing program 0:
r0 = openat(0xffffffffffffff9c, &(0x7f00000001c0)='./file0\x00', 0xc4042, 0x28)
r1 = openat$nullb(0xffffffffffffff9c, &(0x7f0000000040), 0x800, 0x0)
sendfile(r0, r1, 0x0, 0xfffe82)
r2 = openat$nullb(0xffffffffffffff9c, &(0x7f0000000080), 0x121003, 0x0)
ioctl$FS_IOC_SETFLAGS(r2, 0x40081271, &(0x7f0000000980)=0x4000)
program crashed: kernel BUG in __filemap_add_folio
validation run: crashed=true
reproducing took 29m43.852402253s
repro crashed as (corrupted=false):
entry_SYSCALL_64_after_hwframe+0x77/0x7f
------------[ cut here ]------------
kernel BUG at mm/filemap.c:868!
Oops: invalid opcode: 0000 [#1] SMP KASAN PTI
CPU: 1 UID: 0 PID: 6098 Comm: syz.1.30 Not tainted syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
RIP: 0010:__filemap_add_folio+0x11ad/0x12f0 mm/filemap.c:867
Code: 39 c9 ff 4c 89 e7 48 c7 c6 60 3f b4 8b e8 bb 6c 30 ff 90 0f 0b e8 03 39 c9 ff 4c 89 e7 48 c7 c6 40 36 b4 8b e8 a4 6c 30 ff 90 <0f> 0b e8 ec 38 c9 ff 4c 89 e7 48 c7 c6 60 3f b4 8b e8 8d 6c 30 ff
RSP: 0018:ffffc90003c4f2c0 EFLAGS: 00010246
RAX: 3611898373167100 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff8c04e5e0 RDI: 00000000ffffffff
RBP: ffffc90003c4f430 R08: ffffffff8fe52d37 R09: 1ffffffff1fca5a6
R10: dffffc0000000000 R11: fffffbfff1fca5a7 R12: ffffea0001f98300
R13: dffffc0000000000 R14: ffffea0001f98308 R15: 0000000000000002
FS: 0000555564fa0500(0000) GS:ffff8881258c4000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b32b63fff CR3: 0000000079572000 CR4: 00000000003526f0
Call Trace:
filemap_add_folio+0xd5/0x270 mm/filemap.c:969
ra_alloc_folio mm/readahead.c:448 [inline]
page_cache_ra_order+0x643/0xd40 mm/readahead.c:506
filemap_get_pages+0x468/0x1de0 mm/filemap.c:2607
filemap_splice_read+0x581/0xc60 mm/filemap.c:2996
do_splice_read fs/splice.c:982 [inline]
splice_direct_to_actor+0x4a6/0xcc0 fs/splice.c:1086
do_splice_direct_actor fs/splice.c:1204 [inline]
do_splice_direct+0x181/0x270 fs/splice.c:1230
do_sendfile+0x4da/0x7e0 fs/read_write.c:1370
__do_sys_sendfile64 fs/read_write.c:1431 [inline]
__se_sys_sendfile64+0x13e/0x190 fs/read_write.c:1417
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f3a4ad8ebe9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fff5282bc58 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007f3a4afb5fa0 RCX: 00007f3a4ad8ebe9
RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000003
RBP: 00007f3a4ae11e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000fffe82 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f3a4afb5fa0 R14: 00007f3a4afb5fa0 R15: 0000000000000004
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__filemap_add_folio+0x11ad/0x12f0 mm/filemap.c:867
Code: 39 c9 ff 4c 89 e7 48 c7 c6 60 3f b4 8b e8 bb 6c 30 ff 90 0f 0b e8 03 39 c9 ff 4c 89 e7 48 c7 c6 40 36 b4 8b e8 a4 6c 30 ff 90 <0f> 0b e8 ec 38 c9 ff 4c 89 e7 48 c7 c6 60 3f b4 8b e8 8d 6c 30 ff
RSP: 0018:ffffc90003c4f2c0 EFLAGS: 00010246
RAX: 3611898373167100 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff8c04e5e0 RDI: 00000000ffffffff
RBP: ffffc90003c4f430 R08: ffffffff8fe52d37 R09: 1ffffffff1fca5a6
R10: dffffc0000000000 R11: fffffbfff1fca5a7 R12: ffffea0001f98300
R13: dffffc0000000000 R14: ffffea0001f98308 R15: 0000000000000002
FS: 0000555564fa0500(0000) GS:ffff8881257c4000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b32b63fff CR3: 0000000079572000 CR4: 00000000003526f0
final repro crashed as (corrupted=false):
entry_SYSCALL_64_after_hwframe+0x77/0x7f
------------[ cut here ]------------
kernel BUG at mm/filemap.c:868!
Oops: invalid opcode: 0000 [#1] SMP KASAN PTI
CPU: 1 UID: 0 PID: 6098 Comm: syz.1.30 Not tainted syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
RIP: 0010:__filemap_add_folio+0x11ad/0x12f0 mm/filemap.c:867
Code: 39 c9 ff 4c 89 e7 48 c7 c6 60 3f b4 8b e8 bb 6c 30 ff 90 0f 0b e8 03 39 c9 ff 4c 89 e7 48 c7 c6 40 36 b4 8b e8 a4 6c 30 ff 90 <0f> 0b e8 ec 38 c9 ff 4c 89 e7 48 c7 c6 60 3f b4 8b e8 8d 6c 30 ff
RSP: 0018:ffffc90003c4f2c0 EFLAGS: 00010246
RAX: 3611898373167100 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff8c04e5e0 RDI: 00000000ffffffff
RBP: ffffc90003c4f430 R08: ffffffff8fe52d37 R09: 1ffffffff1fca5a6
R10: dffffc0000000000 R11: fffffbfff1fca5a7 R12: ffffea0001f98300
R13: dffffc0000000000 R14: ffffea0001f98308 R15: 0000000000000002
FS: 0000555564fa0500(0000) GS:ffff8881258c4000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b32b63fff CR3: 0000000079572000 CR4: 00000000003526f0
Call Trace:
filemap_add_folio+0xd5/0x270 mm/filemap.c:969
ra_alloc_folio mm/readahead.c:448 [inline]
page_cache_ra_order+0x643/0xd40 mm/readahead.c:506
filemap_get_pages+0x468/0x1de0 mm/filemap.c:2607
filemap_splice_read+0x581/0xc60 mm/filemap.c:2996
do_splice_read fs/splice.c:982 [inline]
splice_direct_to_actor+0x4a6/0xcc0 fs/splice.c:1086
do_splice_direct_actor fs/splice.c:1204 [inline]
do_splice_direct+0x181/0x270 fs/splice.c:1230
do_sendfile+0x4da/0x7e0 fs/read_write.c:1370
__do_sys_sendfile64 fs/read_write.c:1431 [inline]
__se_sys_sendfile64+0x13e/0x190 fs/read_write.c:1417
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f3a4ad8ebe9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fff5282bc58 EFLAGS: 00000246 ORIG_RAX: 0000000000000028
RAX: ffffffffffffffda RBX: 00007f3a4afb5fa0 RCX: 00007f3a4ad8ebe9
RDX: 0000000000000000 RSI: 0000000000000004 RDI: 0000000000000003
RBP: 00007f3a4ae11e19 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000fffe82 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f3a4afb5fa0 R14: 00007f3a4afb5fa0 R15: 0000000000000004
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__filemap_add_folio+0x11ad/0x12f0 mm/filemap.c:867
Code: 39 c9 ff 4c 89 e7 48 c7 c6 60 3f b4 8b e8 bb 6c 30 ff 90 0f 0b e8 03 39 c9 ff 4c 89 e7 48 c7 c6 40 36 b4 8b e8 a4 6c 30 ff 90 <0f> 0b e8 ec 38 c9 ff 4c 89 e7 48 c7 c6 60 3f b4 8b e8 8d 6c 30 ff
RSP: 0018:ffffc90003c4f2c0 EFLAGS: 00010246
RAX: 3611898373167100 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff8c04e5e0 RDI: 00000000ffffffff
RBP: ffffc90003c4f430 R08: ffffffff8fe52d37 R09: 1ffffffff1fca5a6
R10: dffffc0000000000 R11: fffffbfff1fca5a7 R12: ffffea0001f98300
R13: dffffc0000000000 R14: ffffea0001f98308 R15: 0000000000000002
FS: 0000555564fa0500(0000) GS:ffff8881257c4000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b32b63fff CR3: 0000000079572000 CR4: 00000000003526f0