Extracting prog: 43.610932848s
Minimizing prog: 11m11.541068326s
Simplifying prog options: 0s
Extracting C: 50.472658982s
Simplifying C: 11m12.685448199s
extracting reproducer from 24 programs
first checking the prog from the crash report
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:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): capset-syz_open_procfs-fchdir-chdir-mount-syz_clone-syz_open_procfs-getdents64-fsmount
detailed listing:
executing program 0:
capset(&(0x7f0000000d80)={0x20071026}, &(0x7f0000000dc0)={0x200002, 0x200003, 0x801, 0x4, 0x7, 0x4})
r0 = syz_open_procfs(0x0, &(0x7f0000000000)='task\x00')
fchdir(r0)
chdir(0x0)
mount(0x0, &(0x7f0000000040)='.\x00', &(0x7f00000000c0)='proc\x00', 0x189, 0x0)
r1 = syz_clone(0x282000, 0x0, 0x0, 0x0, 0x0, 0x0)
r2 = syz_open_procfs(r1, &(0x7f0000000100)='map_files\x00')
getdents64(r2, &(0x7f0000000200)=""/191, 0xbf)
fsmount(0xffffffffffffffff, 0x0, 0x80)
program crashed: KASAN: null-ptr-deref Write in proc_map_files_readdir
single: successfully extracted reproducer
found reproducer with 9 syscalls
minimizing guilty program
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:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): capset-syz_open_procfs-fchdir-chdir-mount-syz_clone-syz_open_procfs-getdents64
detailed listing:
executing program 0:
capset(&(0x7f0000000d80)={0x20071026}, &(0x7f0000000dc0)={0x200002, 0x200003, 0x801, 0x4, 0x7, 0x4})
r0 = syz_open_procfs(0x0, &(0x7f0000000000)='task\x00')
fchdir(r0)
chdir(0x0)
mount(0x0, &(0x7f0000000040)='.\x00', &(0x7f00000000c0)='proc\x00', 0x189, 0x0)
r1 = syz_clone(0x282000, 0x0, 0x0, 0x0, 0x0, 0x0)
r2 = syz_open_procfs(r1, &(0x7f0000000100)='map_files\x00')
getdents64(r2, &(0x7f0000000200)=""/191, 0xbf)
program crashed: KASAN: null-ptr-deref Write in proc_map_files_readdir
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:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): capset-syz_open_procfs-fchdir-chdir-mount-syz_clone-syz_open_procfs
detailed listing:
executing program 0:
capset(&(0x7f0000000d80)={0x20071026}, &(0x7f0000000dc0)={0x200002, 0x200003, 0x801, 0x4, 0x7, 0x4})
r0 = syz_open_procfs(0x0, &(0x7f0000000000)='task\x00')
fchdir(r0)
chdir(0x0)
mount(0x0, &(0x7f0000000040)='.\x00', &(0x7f00000000c0)='proc\x00', 0x189, 0x0)
r1 = syz_clone(0x282000, 0x0, 0x0, 0x0, 0x0, 0x0)
syz_open_procfs(r1, &(0x7f0000000100)='map_files\x00')
program did not crash
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:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): capset-syz_open_procfs-fchdir-chdir-mount-syz_clone-getdents64
detailed listing:
executing program 0:
capset(&(0x7f0000000d80)={0x20071026}, &(0x7f0000000dc0)={0x200002, 0x200003, 0x801, 0x4, 0x7, 0x4})
r0 = syz_open_procfs(0x0, &(0x7f0000000000)='task\x00')
fchdir(r0)
chdir(0x0)
mount(0x0, &(0x7f0000000040)='.\x00', &(0x7f00000000c0)='proc\x00', 0x189, 0x0)
syz_clone(0x282000, 0x0, 0x0, 0x0, 0x0, 0x0)
getdents64(0xffffffffffffffff, &(0x7f0000000200)=""/191, 0xbf)
program did not crash
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:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): capset-syz_open_procfs-fchdir-chdir-mount-syz_open_procfs-getdents64
detailed listing:
executing program 0:
capset(&(0x7f0000000d80)={0x20071026}, &(0x7f0000000dc0)={0x200002, 0x200003, 0x801, 0x4, 0x7, 0x4})
r0 = syz_open_procfs(0x0, &(0x7f0000000000)='task\x00')
fchdir(r0)
chdir(0x0)
mount(0x0, &(0x7f0000000040)='.\x00', &(0x7f00000000c0)='proc\x00', 0x189, 0x0)
r1 = syz_open_procfs(0x0, &(0x7f0000000100)='map_files\x00')
getdents64(r1, &(0x7f0000000200)=""/191, 0xbf)
program did not crash
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:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): capset-syz_open_procfs-fchdir-chdir-syz_clone-syz_open_procfs-getdents64
detailed listing:
executing program 0:
capset(&(0x7f0000000d80)={0x20071026}, &(0x7f0000000dc0)={0x200002, 0x200003, 0x801, 0x4, 0x7, 0x4})
r0 = syz_open_procfs(0x0, &(0x7f0000000000)='task\x00')
fchdir(r0)
chdir(0x0)
r1 = syz_clone(0x282000, 0x0, 0x0, 0x0, 0x0, 0x0)
r2 = syz_open_procfs(r1, &(0x7f0000000100)='map_files\x00')
getdents64(r2, &(0x7f0000000200)=""/191, 0xbf)
program did not crash
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:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): capset-syz_open_procfs-fchdir-mount-syz_clone-syz_open_procfs-getdents64
detailed listing:
executing program 0:
capset(&(0x7f0000000d80)={0x20071026}, &(0x7f0000000dc0)={0x200002, 0x200003, 0x801, 0x4, 0x7, 0x4})
r0 = syz_open_procfs(0x0, &(0x7f0000000000)='task\x00')
fchdir(r0)
mount(0x0, &(0x7f0000000040)='.\x00', &(0x7f00000000c0)='proc\x00', 0x189, 0x0)
r1 = syz_clone(0x282000, 0x0, 0x0, 0x0, 0x0, 0x0)
r2 = syz_open_procfs(r1, &(0x7f0000000100)='map_files\x00')
getdents64(r2, &(0x7f0000000200)=""/191, 0xbf)
program crashed: KASAN: null-ptr-deref Write in proc_map_files_readdir
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:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): capset-syz_open_procfs-mount-syz_clone-syz_open_procfs-getdents64
detailed listing:
executing program 0:
capset(&(0x7f0000000d80)={0x20071026}, &(0x7f0000000dc0)={0x200002, 0x200003, 0x801, 0x4, 0x7, 0x4})
syz_open_procfs(0x0, &(0x7f0000000000)='task\x00')
mount(0x0, &(0x7f0000000040)='.\x00', &(0x7f00000000c0)='proc\x00', 0x189, 0x0)
r0 = syz_clone(0x282000, 0x0, 0x0, 0x0, 0x0, 0x0)
r1 = syz_open_procfs(r0, &(0x7f0000000100)='map_files\x00')
getdents64(r1, &(0x7f0000000200)=""/191, 0xbf)
program did not crash
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:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): capset-fchdir-mount-syz_clone-syz_open_procfs-getdents64
detailed listing:
executing program 0:
capset(&(0x7f0000000d80)={0x20071026}, &(0x7f0000000dc0)={0x200002, 0x200003, 0x801, 0x4, 0x7, 0x4})
fchdir(0xffffffffffffffff)
mount(0x0, &(0x7f0000000040)='.\x00', &(0x7f00000000c0)='proc\x00', 0x189, 0x0)
r0 = syz_clone(0x282000, 0x0, 0x0, 0x0, 0x0, 0x0)
r1 = syz_open_procfs(r0, &(0x7f0000000100)='map_files\x00')
getdents64(r1, &(0x7f0000000200)=""/191, 0xbf)
program did not crash
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:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_open_procfs-fchdir-mount-syz_clone-syz_open_procfs-getdents64
detailed listing:
executing program 0:
r0 = syz_open_procfs(0x0, &(0x7f0000000000)='task\x00')
fchdir(r0)
mount(0x0, &(0x7f0000000040)='.\x00', &(0x7f00000000c0)='proc\x00', 0x189, 0x0)
r1 = syz_clone(0x282000, 0x0, 0x0, 0x0, 0x0, 0x0)
r2 = syz_open_procfs(r1, &(0x7f0000000100)='map_files\x00')
getdents64(r2, &(0x7f0000000200)=""/191, 0xbf)
program crashed: KASAN: null-ptr-deref Write in proc_map_files_readdir
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:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_open_procfs-fchdir-mount-syz_clone-syz_open_procfs-getdents64
detailed listing:
executing program 0:
r0 = syz_open_procfs(0x0, 0x0)
fchdir(r0)
mount(0x0, &(0x7f0000000040)='.\x00', &(0x7f00000000c0)='proc\x00', 0x189, 0x0)
r1 = syz_clone(0x282000, 0x0, 0x0, 0x0, 0x0, 0x0)
r2 = syz_open_procfs(r1, &(0x7f0000000100)='map_files\x00')
getdents64(r2, &(0x7f0000000200)=""/191, 0xbf)
program did not crash
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:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_open_procfs-fchdir-mount-syz_clone-syz_open_procfs-getdents64
detailed listing:
executing program 0:
r0 = syz_open_procfs(0x0, &(0x7f0000000000)='task\x00')
fchdir(r0)
mount(0x0, 0x0, &(0x7f00000000c0)='proc\x00', 0x189, 0x0)
r1 = syz_clone(0x282000, 0x0, 0x0, 0x0, 0x0, 0x0)
r2 = syz_open_procfs(r1, &(0x7f0000000100)='map_files\x00')
getdents64(r2, &(0x7f0000000200)=""/191, 0xbf)
program did not crash
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:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_open_procfs-fchdir-mount-syz_clone-syz_open_procfs-getdents64
detailed listing:
executing program 0:
r0 = syz_open_procfs(0x0, &(0x7f0000000000)='task\x00')
fchdir(r0)
mount(0x0, &(0x7f0000000040)='.\x00', 0x0, 0x189, 0x0)
r1 = syz_clone(0x282000, 0x0, 0x0, 0x0, 0x0, 0x0)
r2 = syz_open_procfs(r1, &(0x7f0000000100)='map_files\x00')
getdents64(r2, &(0x7f0000000200)=""/191, 0xbf)
program did not crash
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:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_open_procfs-fchdir-mount-syz_clone-syz_open_procfs-getdents64
detailed listing:
executing program 0:
r0 = syz_open_procfs(0x0, &(0x7f0000000000)='task\x00')
fchdir(r0)
mount(0x0, &(0x7f0000000040)='.\x00', &(0x7f00000000c0)='proc\x00', 0x189, 0x0)
r1 = syz_clone(0x282000, 0x0, 0x0, 0x0, 0x0, 0x0)
r2 = syz_open_procfs(r1, 0x0)
getdents64(r2, &(0x7f0000000200)=""/191, 0xbf)
program did not crash
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:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_open_procfs-fchdir-mount-syz_clone-syz_open_procfs-getdents64
detailed listing:
executing program 0:
r0 = syz_open_procfs(0x0, &(0x7f0000000000)='task\x00')
fchdir(r0)
mount(0x0, &(0x7f0000000040)='.\x00', &(0x7f00000000c0)='proc\x00', 0x189, 0x0)
r1 = syz_clone(0x282000, 0x0, 0x0, 0x0, 0x0, 0x0)
r2 = syz_open_procfs(r1, &(0x7f0000000100)='map_files\x00')
getdents64(r2, 0x0, 0x0)
program did not crash
extracting C reproducer
testing compiled C 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:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_open_procfs-fchdir-mount-syz_clone-syz_open_procfs-getdents64
program crashed: KASAN: null-ptr-deref Write in proc_map_files_readdir
simplifying C reproducer
testing compiled C program (duration=30s, {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:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_open_procfs-fchdir-mount-syz_clone-syz_open_procfs-getdents64
program crashed: KASAN: null-ptr-deref Write in proc_map_files_readdir
testing compiled C program (duration=30s, {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:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_open_procfs-fchdir-mount-syz_clone-syz_open_procfs-getdents64
program did not crash
testing compiled C program (duration=30s, {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:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_open_procfs-fchdir-mount-syz_clone-syz_open_procfs-getdents64
program did not crash
testing compiled C program (duration=30s, {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}}): syz_open_procfs-fchdir-mount-syz_clone-syz_open_procfs-getdents64
program did not crash
testing compiled C program (duration=30s, {Threaded:false Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:false NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_open_procfs-fchdir-mount-syz_clone-syz_open_procfs-getdents64
program crashed: KASAN: null-ptr-deref Write in proc_map_files_readdir
testing compiled C program (duration=30s, {Threaded:false Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_open_procfs-fchdir-mount-syz_clone-syz_open_procfs-getdents64
program crashed: KASAN: null-ptr-deref Write in proc_map_files_readdir
testing compiled C program (duration=30s, {Threaded:false Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_open_procfs-fchdir-mount-syz_clone-syz_open_procfs-getdents64
program did not crash
testing compiled C program (duration=30s, {Threaded:false Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:true Cgroups:false BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_open_procfs-fchdir-mount-syz_clone-syz_open_procfs-getdents64
program did not crash
testing compiled C program (duration=30s, {Threaded:false Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:true Cgroups:true BinfmtMisc:false CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_open_procfs-fchdir-mount-syz_clone-syz_open_procfs-getdents64
program crashed: KASAN: null-ptr-deref Write in proc_map_files_readdir
testing compiled C program (duration=30s, {Threaded:false Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:true Cgroups:true BinfmtMisc:false CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_open_procfs-fchdir-mount-syz_clone-syz_open_procfs-getdents64
program did not crash
testing compiled C program (duration=30s, {Threaded:false Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:true Cgroups:true BinfmtMisc:false CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:false Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_open_procfs-fchdir-mount-syz_clone-syz_open_procfs-getdents64
program crashed: KASAN: null-ptr-deref Write in proc_map_files_readdir
testing compiled C program (duration=30s, {Threaded:false Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:true Cgroups:true BinfmtMisc:false CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:false Swap:true UseTmpDir:true HandleSegv:false Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_open_procfs-fchdir-mount-syz_clone-syz_open_procfs-getdents64
program crashed: KASAN: null-ptr-deref Write in proc_map_files_readdir
testing compiled C program (duration=30s, {Threaded:false Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:true Cgroups:true BinfmtMisc:false CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:false Swap:false UseTmpDir:true HandleSegv:false Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_open_procfs-fchdir-mount-syz_clone-syz_open_procfs-getdents64
program crashed: BUG: unable to handle kernel NULL pointer dereference in proc_map_files_readdir
a never seen crash title: BUG: unable to handle kernel NULL pointer dereference in proc_map_files_readdir, ignore
testing program (duration=30s, {Threaded:false Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:true Cgroups:true BinfmtMisc:false CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:false Swap:true UseTmpDir:true HandleSegv:false Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_open_procfs-fchdir-mount-syz_clone-syz_open_procfs-getdents64
detailed listing:
executing program 0:
r0 = syz_open_procfs(0x0, &(0x7f0000000000)='task\x00')
fchdir(r0)
mount(0x0, &(0x7f0000000040)='.\x00', &(0x7f00000000c0)='proc\x00', 0x189, 0x0)
r1 = syz_clone(0x282000, 0x0, 0x0, 0x0, 0x0, 0x0)
r2 = syz_open_procfs(r1, &(0x7f0000000100)='map_files\x00')
getdents64(r2, &(0x7f0000000200)=""/191, 0xbf)
program crashed: KASAN: null-ptr-deref Write in proc_map_files_readdir
validation run: crashed=true
testing program (duration=30s, {Threaded:false Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:true Cgroups:true BinfmtMisc:false CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:false Swap:true UseTmpDir:true HandleSegv:false Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_open_procfs-fchdir-mount-syz_clone-syz_open_procfs-getdents64
detailed listing:
executing program 0:
r0 = syz_open_procfs(0x0, &(0x7f0000000000)='task\x00')
fchdir(r0)
mount(0x0, &(0x7f0000000040)='.\x00', &(0x7f00000000c0)='proc\x00', 0x189, 0x0)
r1 = syz_clone(0x282000, 0x0, 0x0, 0x0, 0x0, 0x0)
r2 = syz_open_procfs(r1, &(0x7f0000000100)='map_files\x00')
getdents64(r2, &(0x7f0000000200)=""/191, 0xbf)
program crashed: KASAN: null-ptr-deref Write in proc_map_files_readdir
validation run: crashed=true
testing program (duration=30s, {Threaded:false Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:true Cgroups:true BinfmtMisc:false CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:false Swap:true UseTmpDir:true HandleSegv:false Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_open_procfs-fchdir-mount-syz_clone-syz_open_procfs-getdents64
detailed listing:
executing program 0:
r0 = syz_open_procfs(0x0, &(0x7f0000000000)='task\x00')
fchdir(r0)
mount(0x0, &(0x7f0000000040)='.\x00', &(0x7f00000000c0)='proc\x00', 0x189, 0x0)
r1 = syz_clone(0x282000, 0x0, 0x0, 0x0, 0x0, 0x0)
r2 = syz_open_procfs(r1, &(0x7f0000000100)='map_files\x00')
getdents64(r2, &(0x7f0000000200)=""/191, 0xbf)
program crashed: KASAN: null-ptr-deref Write in proc_map_files_readdir
validation run: crashed=true
reproducing took 26m50.133296815s
repro crashed as (corrupted=false):
==================================================================
BUG: KASAN: null-ptr-deref in instrument_atomic_read_write include/linux/instrumented.h:96 [inline]
BUG: KASAN: null-ptr-deref in atomic_long_add_return_acquire include/linux/atomic/atomic-instrumented.h:3297 [inline]
BUG: KASAN: null-ptr-deref in rwsem_read_trylock+0x84/0x5a0 kernel/locking/rwsem.c:259
Write of size 8 at addr 0000000000000098 by task syz.3.671/1705
CPU: 1 UID: 0 PID: 1705 Comm: syz.3.671 Not tainted syzkaller #0 6abdb0584068549afb00f0521971d0e7cd851362
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
Call Trace:
__dump_stack+0x21/0x30 lib/dump_stack.c:94
dump_stack_lvl+0x140/0x1c0 lib/dump_stack.c:120
print_report+0x3d/0x70 mm/kasan/report.c:484
kasan_report+0x162/0x1a0 mm/kasan/report.c:594
check_region_inline mm/kasan/generic.c:-1 [inline]
kasan_check_range+0x25a/0x2b0 mm/kasan/generic.c:189
__kasan_check_write+0x18/0x20 mm/kasan/shadow.c:37
instrument_atomic_read_write include/linux/instrumented.h:96 [inline]
atomic_long_add_return_acquire include/linux/atomic/atomic-instrumented.h:3297 [inline]
rwsem_read_trylock+0x84/0x5a0 kernel/locking/rwsem.c:259
__down_read_common kernel/locking/rwsem.c:1316 [inline]
__down_read_killable kernel/locking/rwsem.c:1340 [inline]
down_read_killable+0x7f/0x100 kernel/locking/rwsem.c:1630
mmap_read_lock_killable include/linux/mmap_lock.h:204 [inline]
proc_map_files_readdir+0x360/0xa00 fs/proc/base.c:2427
iterate_dir+0x1fa/0x5c0 fs/readdir.c:108
__do_sys_getdents64 fs/readdir.c:407 [inline]
__se_sys_getdents64+0xf6/0x250 fs/readdir.c:392
__x64_sys_getdents64+0x7f/0xa0 fs/readdir.c:392
x64_sys_call+0x27d0/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:218
do_syscall_x64 arch/x86/entry/common.c:47 [inline]
do_syscall_64+0x57/0xf0 arch/x86/entry/common.c:78
entry_SYSCALL_64_after_hwframe+0x76/0x7e
RIP: 0033:0x7f388eda9a99
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffcfd2b6508 EFLAGS: 00000246 ORIG_RAX: 00000000000000d9
RAX: ffffffffffffffda RBX: 00007f388f035fa0 RCX: 00007f388eda9a99
RDX: 00000000000000bf RSI: 0000200000000200 RDI: 0000000000000004
RBP: 00007f388ee3918b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f388f035fa0 R15: 00007f388f035fa0
==================================================================
BUG: kernel NULL pointer dereference, address: 0000000000000098
#PF: supervisor write access in kernel mode
#PF: error_code(0x0002) - not-present page
PGD 8000000130df1067 P4D 8000000130df1067 PUD 0
Oops: Oops: 0002 [#1] PREEMPT SMP KASAN PTI
CPU: 1 UID: 0 PID: 1705 Comm: syz.3.671 Tainted: G B syzkaller #0 6abdb0584068549afb00f0521971d0e7cd851362
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
RIP: 0010:arch_atomic64_add_return arch/x86/include/asm/atomic64_64.h:79 [inline]
RIP: 0010:raw_atomic64_add_return_acquire include/linux/atomic/atomic-arch-fallback.h:2723 [inline]
RIP: 0010:raw_atomic_long_add_return_acquire include/linux/atomic/atomic-long.h:163 [inline]
RIP: 0010:atomic_long_add_return_acquire include/linux/atomic/atomic-instrumented.h:3298 [inline]
RIP: 0010:rwsem_read_trylock+0x8f/0x5a0 kernel/locking/rwsem.c:259
Code: f3 f3 f3 4b 89 04 2c 43 c6 44 2c 04 04 c7 44 24 40 00 00 00 00 be 08 00 00 00 e8 6c 28 7b 00 41 bf 00 01 00 00 48 89 5c 24 18 4c 0f c1 3b 49 81 c7 00 01 00 00 4c 89 f3 48 c1 eb 03 42 80 3c
RSP: 0018:ffffc90003f67a60 EFLAGS: 00010246
RAX: ffff88812e723b00 RBX: 0000000000000098 RCX: ffff88812e723b40
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90003f67b10 R08: ffffffff893e4967 R09: 1ffffffff127c92c
R10: dffffc0000000000 R11: fffffbfff127c92d R12: 1ffff920007ecf50
R13: dffffc0000000000 R14: ffffc90003f67b40 R15: 0000000000000100
FS: 00005555862d9500(0000) GS:ffff8881f6d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000098 CR3: 000000011672c000 CR4: 00000000003526b0
Call Trace:
__down_read_common kernel/locking/rwsem.c:1316 [inline]
__down_read_killable kernel/locking/rwsem.c:1340 [inline]
down_read_killable+0x7f/0x100 kernel/locking/rwsem.c:1630
mmap_read_lock_killable include/linux/mmap_lock.h:204 [inline]
proc_map_files_readdir+0x360/0xa00 fs/proc/base.c:2427
iterate_dir+0x1fa/0x5c0 fs/readdir.c:108
__do_sys_getdents64 fs/readdir.c:407 [inline]
__se_sys_getdents64+0xf6/0x250 fs/readdir.c:392
__x64_sys_getdents64+0x7f/0xa0 fs/readdir.c:392
x64_sys_call+0x27d0/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:218
do_syscall_x64 arch/x86/entry/common.c:47 [inline]
do_syscall_64+0x57/0xf0 arch/x86/entry/common.c:78
entry_SYSCALL_64_after_hwframe+0x76/0x7e
RIP: 0033:0x7f388eda9a99
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffcfd2b6508 EFLAGS: 00000246 ORIG_RAX: 00000000000000d9
RAX: ffffffffffffffda RBX: 00007f388f035fa0 RCX: 00007f388eda9a99
RDX: 00000000000000bf RSI: 0000200000000200 RDI: 0000000000000004
RBP: 00007f388ee3918b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f388f035fa0 R15: 00007f388f035fa0
Modules linked in:
CR2: 0000000000000098
---[ end trace 0000000000000000 ]---
RIP: 0010:arch_atomic64_add_return arch/x86/include/asm/atomic64_64.h:79 [inline]
RIP: 0010:raw_atomic64_add_return_acquire include/linux/atomic/atomic-arch-fallback.h:2723 [inline]
RIP: 0010:raw_atomic_long_add_return_acquire include/linux/atomic/atomic-long.h:163 [inline]
RIP: 0010:atomic_long_add_return_acquire include/linux/atomic/atomic-instrumented.h:3298 [inline]
RIP: 0010:rwsem_read_trylock+0x8f/0x5a0 kernel/locking/rwsem.c:259
Code: f3 f3 f3 4b 89 04 2c 43 c6 44 2c 04 04 c7 44 24 40 00 00 00 00 be 08 00 00 00 e8 6c 28 7b 00 41 bf 00 01 00 00 48 89 5c 24 18 4c 0f c1 3b 49 81 c7 00 01 00 00 4c 89 f3 48 c1 eb 03 42 80 3c
RSP: 0018:ffffc90003f67a60 EFLAGS: 00010246
RAX: ffff88812e723b00 RBX: 0000000000000098 RCX: ffff88812e723b40
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90003f67b10 R08: ffffffff893e4967 R09: 1ffffffff127c92c
R10: dffffc0000000000 R11: fffffbfff127c92d R12: 1ffff920007ecf50
R13: dffffc0000000000 R14: ffffc90003f67b40 R15: 0000000000000100
FS: 00005555862d9500(0000) GS:ffff8881f6d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000098 CR3: 000000011672c000 CR4: 00000000003526b0
----------------
Code disassembly (best guess):
0: f3 f3 f3 4b 89 04 2c repz repz xrelease mov %rax,(%r12,%r13,1)
7: 43 c6 44 2c 04 04 movb $0x4,0x4(%r12,%r13,1)
d: c7 44 24 40 00 00 00 movl $0x0,0x40(%rsp)
14: 00
15: be 08 00 00 00 mov $0x8,%esi
1a: e8 6c 28 7b 00 call 0x7b288b
1f: 41 bf 00 01 00 00 mov $0x100,%r15d
25: 48 89 5c 24 18 mov %rbx,0x18(%rsp)
* 2a: f0 4c 0f c1 3b lock xadd %r15,(%rbx) <-- trapping instruction
2f: 49 81 c7 00 01 00 00 add $0x100,%r15
36: 4c 89 f3 mov %r14,%rbx
39: 48 c1 eb 03 shr $0x3,%rbx
3d: 42 rex.X
3e: 80 .byte 0x80
3f: 3c .byte 0x3c
final repro crashed as (corrupted=false):
==================================================================
BUG: KASAN: null-ptr-deref in instrument_atomic_read_write include/linux/instrumented.h:96 [inline]
BUG: KASAN: null-ptr-deref in atomic_long_add_return_acquire include/linux/atomic/atomic-instrumented.h:3297 [inline]
BUG: KASAN: null-ptr-deref in rwsem_read_trylock+0x84/0x5a0 kernel/locking/rwsem.c:259
Write of size 8 at addr 0000000000000098 by task syz.3.671/1705
CPU: 1 UID: 0 PID: 1705 Comm: syz.3.671 Not tainted syzkaller #0 6abdb0584068549afb00f0521971d0e7cd851362
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
Call Trace:
__dump_stack+0x21/0x30 lib/dump_stack.c:94
dump_stack_lvl+0x140/0x1c0 lib/dump_stack.c:120
print_report+0x3d/0x70 mm/kasan/report.c:484
kasan_report+0x162/0x1a0 mm/kasan/report.c:594
check_region_inline mm/kasan/generic.c:-1 [inline]
kasan_check_range+0x25a/0x2b0 mm/kasan/generic.c:189
__kasan_check_write+0x18/0x20 mm/kasan/shadow.c:37
instrument_atomic_read_write include/linux/instrumented.h:96 [inline]
atomic_long_add_return_acquire include/linux/atomic/atomic-instrumented.h:3297 [inline]
rwsem_read_trylock+0x84/0x5a0 kernel/locking/rwsem.c:259
__down_read_common kernel/locking/rwsem.c:1316 [inline]
__down_read_killable kernel/locking/rwsem.c:1340 [inline]
down_read_killable+0x7f/0x100 kernel/locking/rwsem.c:1630
mmap_read_lock_killable include/linux/mmap_lock.h:204 [inline]
proc_map_files_readdir+0x360/0xa00 fs/proc/base.c:2427
iterate_dir+0x1fa/0x5c0 fs/readdir.c:108
__do_sys_getdents64 fs/readdir.c:407 [inline]
__se_sys_getdents64+0xf6/0x250 fs/readdir.c:392
__x64_sys_getdents64+0x7f/0xa0 fs/readdir.c:392
x64_sys_call+0x27d0/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:218
do_syscall_x64 arch/x86/entry/common.c:47 [inline]
do_syscall_64+0x57/0xf0 arch/x86/entry/common.c:78
entry_SYSCALL_64_after_hwframe+0x76/0x7e
RIP: 0033:0x7f388eda9a99
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffcfd2b6508 EFLAGS: 00000246 ORIG_RAX: 00000000000000d9
RAX: ffffffffffffffda RBX: 00007f388f035fa0 RCX: 00007f388eda9a99
RDX: 00000000000000bf RSI: 0000200000000200 RDI: 0000000000000004
RBP: 00007f388ee3918b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f388f035fa0 R15: 00007f388f035fa0
==================================================================
BUG: kernel NULL pointer dereference, address: 0000000000000098
#PF: supervisor write access in kernel mode
#PF: error_code(0x0002) - not-present page
PGD 8000000130df1067 P4D 8000000130df1067 PUD 0
Oops: Oops: 0002 [#1] PREEMPT SMP KASAN PTI
CPU: 1 UID: 0 PID: 1705 Comm: syz.3.671 Tainted: G B syzkaller #0 6abdb0584068549afb00f0521971d0e7cd851362
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
RIP: 0010:arch_atomic64_add_return arch/x86/include/asm/atomic64_64.h:79 [inline]
RIP: 0010:raw_atomic64_add_return_acquire include/linux/atomic/atomic-arch-fallback.h:2723 [inline]
RIP: 0010:raw_atomic_long_add_return_acquire include/linux/atomic/atomic-long.h:163 [inline]
RIP: 0010:atomic_long_add_return_acquire include/linux/atomic/atomic-instrumented.h:3298 [inline]
RIP: 0010:rwsem_read_trylock+0x8f/0x5a0 kernel/locking/rwsem.c:259
Code: f3 f3 f3 4b 89 04 2c 43 c6 44 2c 04 04 c7 44 24 40 00 00 00 00 be 08 00 00 00 e8 6c 28 7b 00 41 bf 00 01 00 00 48 89 5c 24 18 4c 0f c1 3b 49 81 c7 00 01 00 00 4c 89 f3 48 c1 eb 03 42 80 3c
RSP: 0018:ffffc90003f67a60 EFLAGS: 00010246
RAX: ffff88812e723b00 RBX: 0000000000000098 RCX: ffff88812e723b40
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90003f67b10 R08: ffffffff893e4967 R09: 1ffffffff127c92c
R10: dffffc0000000000 R11: fffffbfff127c92d R12: 1ffff920007ecf50
R13: dffffc0000000000 R14: ffffc90003f67b40 R15: 0000000000000100
FS: 00005555862d9500(0000) GS:ffff8881f6d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000098 CR3: 000000011672c000 CR4: 00000000003526b0
Call Trace:
__down_read_common kernel/locking/rwsem.c:1316 [inline]
__down_read_killable kernel/locking/rwsem.c:1340 [inline]
down_read_killable+0x7f/0x100 kernel/locking/rwsem.c:1630
mmap_read_lock_killable include/linux/mmap_lock.h:204 [inline]
proc_map_files_readdir+0x360/0xa00 fs/proc/base.c:2427
iterate_dir+0x1fa/0x5c0 fs/readdir.c:108
__do_sys_getdents64 fs/readdir.c:407 [inline]
__se_sys_getdents64+0xf6/0x250 fs/readdir.c:392
__x64_sys_getdents64+0x7f/0xa0 fs/readdir.c:392
x64_sys_call+0x27d0/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:218
do_syscall_x64 arch/x86/entry/common.c:47 [inline]
do_syscall_64+0x57/0xf0 arch/x86/entry/common.c:78
entry_SYSCALL_64_after_hwframe+0x76/0x7e
RIP: 0033:0x7f388eda9a99
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffcfd2b6508 EFLAGS: 00000246 ORIG_RAX: 00000000000000d9
RAX: ffffffffffffffda RBX: 00007f388f035fa0 RCX: 00007f388eda9a99
RDX: 00000000000000bf RSI: 0000200000000200 RDI: 0000000000000004
RBP: 00007f388ee3918b R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f388f035fa0 R15: 00007f388f035fa0
Modules linked in:
CR2: 0000000000000098
---[ end trace 0000000000000000 ]---
RIP: 0010:arch_atomic64_add_return arch/x86/include/asm/atomic64_64.h:79 [inline]
RIP: 0010:raw_atomic64_add_return_acquire include/linux/atomic/atomic-arch-fallback.h:2723 [inline]
RIP: 0010:raw_atomic_long_add_return_acquire include/linux/atomic/atomic-long.h:163 [inline]
RIP: 0010:atomic_long_add_return_acquire include/linux/atomic/atomic-instrumented.h:3298 [inline]
RIP: 0010:rwsem_read_trylock+0x8f/0x5a0 kernel/locking/rwsem.c:259
Code: f3 f3 f3 4b 89 04 2c 43 c6 44 2c 04 04 c7 44 24 40 00 00 00 00 be 08 00 00 00 e8 6c 28 7b 00 41 bf 00 01 00 00 48 89 5c 24 18 4c 0f c1 3b 49 81 c7 00 01 00 00 4c 89 f3 48 c1 eb 03 42 80 3c
RSP: 0018:ffffc90003f67a60 EFLAGS: 00010246
RAX: ffff88812e723b00 RBX: 0000000000000098 RCX: ffff88812e723b40
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90003f67b10 R08: ffffffff893e4967 R09: 1ffffffff127c92c
R10: dffffc0000000000 R11: fffffbfff127c92d R12: 1ffff920007ecf50
R13: dffffc0000000000 R14: ffffc90003f67b40 R15: 0000000000000100
FS: 00005555862d9500(0000) GS:ffff8881f6d00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000098 CR3: 000000011672c000 CR4: 00000000003526b0
----------------
Code disassembly (best guess):
0: f3 f3 f3 4b 89 04 2c repz repz xrelease mov %rax,(%r12,%r13,1)
7: 43 c6 44 2c 04 04 movb $0x4,0x4(%r12,%r13,1)
d: c7 44 24 40 00 00 00 movl $0x0,0x40(%rsp)
14: 00
15: be 08 00 00 00 mov $0x8,%esi
1a: e8 6c 28 7b 00 call 0x7b288b
1f: 41 bf 00 01 00 00 mov $0x100,%r15d
25: 48 89 5c 24 18 mov %rbx,0x18(%rsp)
* 2a: f0 4c 0f c1 3b lock xadd %r15,(%rbx) <-- trapping instruction
2f: 49 81 c7 00 01 00 00 add $0x100,%r15
36: 4c 89 f3 mov %r14,%rbx
39: 48 c1 eb 03 shr $0x3,%rbx
3d: 42 rex.X
3e: 80 .byte 0x80
3f: 3c .byte 0x3c