Extracting prog: 1m0.903547442s
Minimizing prog: 5m38.2998089s
Simplifying prog options: 0s
Extracting C: 24.279116753s
Simplifying C: 6m24.720522894s
extracting reproducer from 23 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}}): openat$dm_control-ioctl$DM_DEV_CREATE-ioctl$DM_TARGET_MSG
detailed listing:
executing program 0:
r0 = openat$dm_control(0xffffffffffffff9c, &(0x7f0000000440), 0x802, 0x0)
ioctl$DM_DEV_CREATE(r0, 0xc138fd03, &(0x7f0000000500)={0x4, 0x0, 0x0, 0x138, 0x138, 0x0, 0x0, 0x20000, 0x0, 0x0, {0x0, {'syz', 0x0, '2\x00'}, @uuid={'CRP-syz', 0x0, '1\x00'}}})
ioctl$DM_TARGET_MSG(r0, 0xc138fd0e, &(0x7f0000000640)={0x4, 0x0, 0x0, 0x180, 0x138, 0x0, 0x0, 0xa0200, 0x0, 0x0, @by_name={0x0, {'syz', 0x0, '2\x00'}}, {0x1000, @stats_create={'@stats_create ', '1024+4096', 0x20, '/16', ' 2 precise_timestamps histogram:1,2'}}}) (fail_nth: 9)
program crashed: general protection fault in dm_stat_free
single: successfully extracted reproducer
found reproducer with 3 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}}): openat$dm_control-ioctl$DM_DEV_CREATE
detailed listing:
executing program 0:
r0 = openat$dm_control(0xffffffffffffff9c, &(0x7f0000000440), 0x802, 0x0)
ioctl$DM_DEV_CREATE(r0, 0xc138fd03, &(0x7f0000000500)={0x4, 0x0, 0x0, 0x138, 0x138, 0x0, 0x0, 0x20000, 0x0, 0x0, {0x0, {'syz', 0x0, '2\x00'}, @uuid={'CRP-syz', 0x0, '1\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}}): openat$dm_control-ioctl$DM_TARGET_MSG
detailed listing:
executing program 0:
r0 = openat$dm_control(0xffffffffffffff9c, &(0x7f0000000440), 0x802, 0x0)
ioctl$DM_TARGET_MSG(r0, 0xc138fd0e, &(0x7f0000000640)={0x4, 0x0, 0x0, 0x180, 0x138, 0x0, 0x0, 0xa0200, 0x0, 0x0, @by_name={0x0, {'syz', 0x0, '2\x00'}}, {0x1000, @stats_create={'@stats_create ', '1024+4096', 0x20, '/16', ' 2 precise_timestamps histogram:1,2'}}}) (fail_nth: 9)
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}}): ioctl$DM_DEV_CREATE-ioctl$DM_TARGET_MSG
detailed listing:
executing program 0:
ioctl$DM_DEV_CREATE(0xffffffffffffffff, 0xc138fd03, &(0x7f0000000500)={0x4, 0x0, 0x0, 0x138, 0x138, 0x0, 0x0, 0x20000, 0x0, 0x0, {0x0, {'syz', 0x0, '2\x00'}, @uuid={'CRP-syz', 0x0, '1\x00'}}})
ioctl$DM_TARGET_MSG(0xffffffffffffffff, 0xc138fd0e, &(0x7f0000000640)={0x4, 0x0, 0x0, 0x180, 0x138, 0x0, 0x0, 0xa0200, 0x0, 0x0, @by_name={0x0, {'syz', 0x0, '2\x00'}}, {0x1000, @stats_create={'@stats_create ', '1024+4096', 0x20, '/16', ' 2 precise_timestamps histogram:1,2'}}}) (fail_nth: 9)
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}}): openat$dm_control-ioctl$DM_DEV_CREATE-ioctl$DM_TARGET_MSG
detailed listing:
executing program 0:
r0 = openat$dm_control(0xffffffffffffff9c, &(0x7f0000000440), 0x802, 0x0)
ioctl$DM_DEV_CREATE(r0, 0xc138fd03, &(0x7f0000000500)={0x4, 0x0, 0x0, 0x138, 0x138, 0x0, 0x0, 0x20000, 0x0, 0x0, {0x0, {'syz', 0x0, '2\x00'}, @uuid={'CRP-syz', 0x0, '1\x00'}}})
ioctl$DM_TARGET_MSG(r0, 0xc138fd0e, &(0x7f0000000640)={0x4, 0x0, 0x0, 0x180, 0x138, 0x0, 0x0, 0xa0200, 0x0, 0x0, @by_name={0x0, {'syz', 0x0, '2\x00'}}, {0x1000, @stats_create={'@stats_create ', '1024+4096', 0x20, '/16', ' 2 precise_timestamps histogram:1,2'}}})
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}}): openat$dm_control-ioctl$DM_DEV_CREATE-ioctl$DM_TARGET_MSG
detailed listing:
executing program 0:
r0 = openat$dm_control(0xffffffffffffff9c, 0x0, 0x802, 0x0)
ioctl$DM_DEV_CREATE(r0, 0xc138fd03, &(0x7f0000000500)={0x4, 0x0, 0x0, 0x138, 0x138, 0x0, 0x0, 0x20000, 0x0, 0x0, {0x0, {'syz', 0x0, '2\x00'}, @uuid={'CRP-syz', 0x0, '1\x00'}}})
ioctl$DM_TARGET_MSG(r0, 0xc138fd0e, &(0x7f0000000640)={0x4, 0x0, 0x0, 0x180, 0x138, 0x0, 0x0, 0xa0200, 0x0, 0x0, @by_name={0x0, {'syz', 0x0, '2\x00'}}, {0x1000, @stats_create={'@stats_create ', '1024+4096', 0x20, '/16', ' 2 precise_timestamps histogram:1,2'}}}) (fail_nth: 9)
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}}): openat$dm_control-ioctl$DM_DEV_CREATE-ioctl$DM_TARGET_MSG
detailed listing:
executing program 0:
r0 = openat$dm_control(0xffffffffffffff9c, &(0x7f0000000440), 0x802, 0x0)
ioctl$DM_DEV_CREATE(r0, 0xc138fd03, 0x0)
ioctl$DM_TARGET_MSG(r0, 0xc138fd0e, &(0x7f0000000640)={0x4, 0x0, 0x0, 0x180, 0x138, 0x0, 0x0, 0xa0200, 0x0, 0x0, @by_name={0x0, {'syz', 0x0, '2\x00'}}, {0x1000, @stats_create={'@stats_create ', '1024+4096', 0x20, '/16', ' 2 precise_timestamps histogram:1,2'}}}) (fail_nth: 9)
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}}): openat$dm_control-ioctl$DM_DEV_CREATE-ioctl$DM_TARGET_MSG
detailed listing:
executing program 0:
r0 = openat$dm_control(0xffffffffffffff9c, &(0x7f0000000440), 0x802, 0x0)
ioctl$DM_DEV_CREATE(r0, 0xc138fd03, &(0x7f0000000500)={0x4, 0x0, 0x0, 0x138, 0x138, 0x0, 0x0, 0x20000, 0x0, 0x0, {0x0, {'syz', 0x0, '2\x00'}, @uuid={'CRP-syz', 0x0, '1\x00'}}})
ioctl$DM_TARGET_MSG(r0, 0xc138fd0e, 0x0) (fail_nth: 9)
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}}): openat$dm_control-ioctl$DM_DEV_CREATE-ioctl$DM_TARGET_MSG
program crashed: general protection fault in dm_stat_free
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}}): openat$dm_control-ioctl$DM_DEV_CREATE-ioctl$DM_TARGET_MSG
program crashed: general protection fault in dm_stat_free
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}}): openat$dm_control-ioctl$DM_DEV_CREATE-ioctl$DM_TARGET_MSG
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}}): openat$dm_control-ioctl$DM_DEV_CREATE-ioctl$DM_TARGET_MSG
program crashed: general protection fault in dm_stat_free
testing compiled C program (duration=30s, {Threaded:false Repeat:true RepeatTimes:0 Procs:1 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$dm_control-ioctl$DM_DEV_CREATE-ioctl$DM_TARGET_MSG
program crashed: general protection fault in dm_stat_free
testing compiled C program (duration=30s, {Threaded:false Repeat:true RepeatTimes:0 Procs:1 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:false HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat$dm_control-ioctl$DM_DEV_CREATE-ioctl$DM_TARGET_MSG
program crashed: general protection fault in dm_stat_free
testing compiled C program (duration=30s, {Threaded:false Repeat:true RepeatTimes:0 Procs:1 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:false HandleSegv:false Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat$dm_control-ioctl$DM_DEV_CREATE-ioctl$DM_TARGET_MSG
program crashed: general protection fault in dm_stat_free
testing compiled C program (duration=30s, {Threaded:false Repeat:true RepeatTimes:0 Procs:1 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:false Swap:false UseTmpDir:false HandleSegv:false Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat$dm_control-ioctl$DM_DEV_CREATE-ioctl$DM_TARGET_MSG
program crashed: general protection fault in dm_stat_free
testing program (duration=30s, {Threaded:false Repeat:true RepeatTimes:0 Procs:1 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:false Swap:false UseTmpDir:false HandleSegv:false Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat$dm_control-ioctl$DM_DEV_CREATE-ioctl$DM_TARGET_MSG
detailed listing:
executing program 0:
r0 = openat$dm_control(0xffffffffffffff9c, &(0x7f0000000440), 0x802, 0x0)
ioctl$DM_DEV_CREATE(r0, 0xc138fd03, &(0x7f0000000500)={0x4, 0x0, 0x0, 0x138, 0x138, 0x0, 0x0, 0x20000, 0x0, 0x0, {0x0, {'syz', 0x0, '2\x00'}, @uuid={'CRP-syz', 0x0, '1\x00'}}})
ioctl$DM_TARGET_MSG(r0, 0xc138fd0e, &(0x7f0000000640)={0x4, 0x0, 0x0, 0x180, 0x138, 0x0, 0x0, 0xa0200, 0x0, 0x0, @by_name={0x0, {'syz', 0x0, '2\x00'}}, {0x1000, @stats_create={'@stats_create ', '1024+4096', 0x20, '/16', ' 2 precise_timestamps histogram:1,2'}}}) (fail_nth: 9)
program crashed: general protection fault in dm_stat_free
validation run: crashed=true
testing program (duration=30s, {Threaded:false Repeat:true RepeatTimes:0 Procs:1 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:false Swap:false UseTmpDir:false HandleSegv:false Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat$dm_control-ioctl$DM_DEV_CREATE-ioctl$DM_TARGET_MSG
detailed listing:
executing program 0:
r0 = openat$dm_control(0xffffffffffffff9c, &(0x7f0000000440), 0x802, 0x0)
ioctl$DM_DEV_CREATE(r0, 0xc138fd03, &(0x7f0000000500)={0x4, 0x0, 0x0, 0x138, 0x138, 0x0, 0x0, 0x20000, 0x0, 0x0, {0x0, {'syz', 0x0, '2\x00'}, @uuid={'CRP-syz', 0x0, '1\x00'}}})
ioctl$DM_TARGET_MSG(r0, 0xc138fd0e, &(0x7f0000000640)={0x4, 0x0, 0x0, 0x180, 0x138, 0x0, 0x0, 0xa0200, 0x0, 0x0, @by_name={0x0, {'syz', 0x0, '2\x00'}}, {0x1000, @stats_create={'@stats_create ', '1024+4096', 0x20, '/16', ' 2 precise_timestamps histogram:1,2'}}}) (fail_nth: 9)
program crashed: general protection fault in dm_stat_free
validation run: crashed=true
testing program (duration=30s, {Threaded:false Repeat:true RepeatTimes:0 Procs:1 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:false Swap:false UseTmpDir:false HandleSegv:false Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): openat$dm_control-ioctl$DM_DEV_CREATE-ioctl$DM_TARGET_MSG
detailed listing:
executing program 0:
r0 = openat$dm_control(0xffffffffffffff9c, &(0x7f0000000440), 0x802, 0x0)
ioctl$DM_DEV_CREATE(r0, 0xc138fd03, &(0x7f0000000500)={0x4, 0x0, 0x0, 0x138, 0x138, 0x0, 0x0, 0x20000, 0x0, 0x0, {0x0, {'syz', 0x0, '2\x00'}, @uuid={'CRP-syz', 0x0, '1\x00'}}})
ioctl$DM_TARGET_MSG(r0, 0xc138fd0e, &(0x7f0000000640)={0x4, 0x0, 0x0, 0x180, 0x138, 0x0, 0x0, 0xa0200, 0x0, 0x0, @by_name={0x0, {'syz', 0x0, '2\x00'}}, {0x1000, @stats_create={'@stats_create ', '1024+4096', 0x20, '/16', ' 2 precise_timestamps histogram:1,2'}}}) (fail_nth: 9)
program crashed: general protection fault in dm_stat_free
validation run: crashed=true
reproducing took 16m5.892437338s
repro crashed as (corrupted=false):
RDX: 0000200000000640 RSI: 00000000c138fd0e RDI: 0000000000000003
RBP: 00007ffc10ddbd20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 00007fe9eca25fac R14: 00007fe9eca25fa0 R15: 00007fe9eca25fa0
Oops: general protection fault, probably for non-canonical address 0xdffffc000000000c: 0000 [#1] PREEMPT SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000060-0x0000000000000067]
CPU: 0 UID: 0 PID: 380 Comm: syz.2.17 Not tainted syzkaller #0 86ffabe033aa4b611dc1eaf9ec72dc67ec78bb97
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026
RIP: 0010:dm_stat_free+0x15e/0x540 drivers/md/dm-stats.c:181
Code: c1 49 89 dd 49 c1 ed 03 43 80 7c 3d 00 00 74 08 48 89 df e8 e4 7a e2 fd 48 89 5d 90 4c 8b 33 49 8d 5e 60 48 89 d8 48 c1 e8 03 <42> 80 3c 38 00 74 08 48 89 df e8 c3 7a e2 fd 48 8b 1b 48 8b 45 c0
RSP: 0018:ffffc90001b1f788 EFLAGS: 00010206
RAX: 000000000000000c RBX: 0000000000000060 RCX: ffff888115cfe080
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90001b1f7f8 R08: 0000000000000020 R09: 1ffffffff0fd764a
R10: dffffc0000000000 R11: fffffbfff0fd764b R12: 0000000000000000
R13: 1ffff11022b9fc10 R14: 0000000000000000 R15: dffffc0000000000
FS: 000055557b7bb500(0000) GS:ffff8881f6c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fe9ec7ecc40 CR3: 000000012cbd8000 CR4: 00000000003526b0
Call Trace:
dm_stats_create+0x7d5/0x1430 drivers/md/dm-stats.c:432
message_stats_create drivers/md/dm-stats.c:1105 [inline]
dm_stats_message+0x1456/0x1f50 drivers/md/dm-stats.c:1227
message_for_md drivers/md/dm-ioctl.c:1758 [inline]
target_message+0x301/0x8a0 drivers/md/dm-ioctl.c:1804
ctl_ioctl drivers/md/dm-ioctl.c:2107 [inline]
dm_ctl_ioctl+0x8f3/0xde0 drivers/md/dm-ioctl.c:2129
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:906 [inline]
__se_sys_ioctl+0x126/0x1b0 fs/ioctl.c:892
__x64_sys_ioctl+0x7f/0xa0 fs/ioctl.c:892
x64_sys_call+0x1878/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:17
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:0x7fe9ec79f559
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:00007ffc10ddbcb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fe9eca25fa0 RCX: 00007fe9ec79f559
RDX: 0000200000000640 RSI: 00000000c138fd0e RDI: 0000000000000003
RBP: 00007ffc10ddbd20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 00007fe9eca25fac R14: 00007fe9eca25fa0 R15: 00007fe9eca25fa0
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:dm_stat_free+0x15e/0x540 drivers/md/dm-stats.c:181
Code: c1 49 89 dd 49 c1 ed 03 43 80 7c 3d 00 00 74 08 48 89 df e8 e4 7a e2 fd 48 89 5d 90 4c 8b 33 49 8d 5e 60 48 89 d8 48 c1 e8 03 <42> 80 3c 38 00 74 08 48 89 df e8 c3 7a e2 fd 48 8b 1b 48 8b 45 c0
RSP: 0018:ffffc90001b1f788 EFLAGS: 00010206
RAX: 000000000000000c RBX: 0000000000000060 RCX: ffff888115cfe080
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90001b1f7f8 R08: 0000000000000020 R09: 1ffffffff0fd764a
R10: dffffc0000000000 R11: fffffbfff0fd764b R12: 0000000000000000
R13: 1ffff11022b9fc10 R14: 0000000000000000 R15: dffffc0000000000
FS: 000055557b7bb500(0000) GS:ffff8881f6c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fe9ec7ecc40 CR3: 000000012cbd8000 CR4: 00000000003526b0
----------------
Code disassembly (best guess):
0: c1 49 89 dd rorl $0xdd,-0x77(%rcx)
4: 49 c1 ed 03 shr $0x3,%r13
8: 43 80 7c 3d 00 00 cmpb $0x0,0x0(%r13,%r15,1)
e: 74 08 je 0x18
10: 48 89 df mov %rbx,%rdi
13: e8 e4 7a e2 fd call 0xfde27afc
18: 48 89 5d 90 mov %rbx,-0x70(%rbp)
1c: 4c 8b 33 mov (%rbx),%r14
1f: 49 8d 5e 60 lea 0x60(%r14),%rbx
23: 48 89 d8 mov %rbx,%rax
26: 48 c1 e8 03 shr $0x3,%rax
* 2a: 42 80 3c 38 00 cmpb $0x0,(%rax,%r15,1) <-- trapping instruction
2f: 74 08 je 0x39
31: 48 89 df mov %rbx,%rdi
34: e8 c3 7a e2 fd call 0xfde27afc
39: 48 8b 1b mov (%rbx),%rbx
3c: 48 8b 45 c0 mov -0x40(%rbp),%rax
final repro crashed as (corrupted=false):
RDX: 0000200000000640 RSI: 00000000c138fd0e RDI: 0000000000000003
RBP: 00007ffc10ddbd20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 00007fe9eca25fac R14: 00007fe9eca25fa0 R15: 00007fe9eca25fa0
Oops: general protection fault, probably for non-canonical address 0xdffffc000000000c: 0000 [#1] PREEMPT SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000060-0x0000000000000067]
CPU: 0 UID: 0 PID: 380 Comm: syz.2.17 Not tainted syzkaller #0 86ffabe033aa4b611dc1eaf9ec72dc67ec78bb97
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026
RIP: 0010:dm_stat_free+0x15e/0x540 drivers/md/dm-stats.c:181
Code: c1 49 89 dd 49 c1 ed 03 43 80 7c 3d 00 00 74 08 48 89 df e8 e4 7a e2 fd 48 89 5d 90 4c 8b 33 49 8d 5e 60 48 89 d8 48 c1 e8 03 <42> 80 3c 38 00 74 08 48 89 df e8 c3 7a e2 fd 48 8b 1b 48 8b 45 c0
RSP: 0018:ffffc90001b1f788 EFLAGS: 00010206
RAX: 000000000000000c RBX: 0000000000000060 RCX: ffff888115cfe080
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90001b1f7f8 R08: 0000000000000020 R09: 1ffffffff0fd764a
R10: dffffc0000000000 R11: fffffbfff0fd764b R12: 0000000000000000
R13: 1ffff11022b9fc10 R14: 0000000000000000 R15: dffffc0000000000
FS: 000055557b7bb500(0000) GS:ffff8881f6c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fe9ec7ecc40 CR3: 000000012cbd8000 CR4: 00000000003526b0
Call Trace:
dm_stats_create+0x7d5/0x1430 drivers/md/dm-stats.c:432
message_stats_create drivers/md/dm-stats.c:1105 [inline]
dm_stats_message+0x1456/0x1f50 drivers/md/dm-stats.c:1227
message_for_md drivers/md/dm-ioctl.c:1758 [inline]
target_message+0x301/0x8a0 drivers/md/dm-ioctl.c:1804
ctl_ioctl drivers/md/dm-ioctl.c:2107 [inline]
dm_ctl_ioctl+0x8f3/0xde0 drivers/md/dm-ioctl.c:2129
vfs_ioctl fs/ioctl.c:51 [inline]
__do_sys_ioctl fs/ioctl.c:906 [inline]
__se_sys_ioctl+0x126/0x1b0 fs/ioctl.c:892
__x64_sys_ioctl+0x7f/0xa0 fs/ioctl.c:892
x64_sys_call+0x1878/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:17
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:0x7fe9ec79f559
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:00007ffc10ddbcb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007fe9eca25fa0 RCX: 00007fe9ec79f559
RDX: 0000200000000640 RSI: 00000000c138fd0e RDI: 0000000000000003
RBP: 00007ffc10ddbd20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 00007fe9eca25fac R14: 00007fe9eca25fa0 R15: 00007fe9eca25fa0
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:dm_stat_free+0x15e/0x540 drivers/md/dm-stats.c:181
Code: c1 49 89 dd 49 c1 ed 03 43 80 7c 3d 00 00 74 08 48 89 df e8 e4 7a e2 fd 48 89 5d 90 4c 8b 33 49 8d 5e 60 48 89 d8 48 c1 e8 03 <42> 80 3c 38 00 74 08 48 89 df e8 c3 7a e2 fd 48 8b 1b 48 8b 45 c0
RSP: 0018:ffffc90001b1f788 EFLAGS: 00010206
RAX: 000000000000000c RBX: 0000000000000060 RCX: ffff888115cfe080
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90001b1f7f8 R08: 0000000000000020 R09: 1ffffffff0fd764a
R10: dffffc0000000000 R11: fffffbfff0fd764b R12: 0000000000000000
R13: 1ffff11022b9fc10 R14: 0000000000000000 R15: dffffc0000000000
FS: 000055557b7bb500(0000) GS:ffff8881f6c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fe9ec7ecc40 CR3: 000000012cbd8000 CR4: 00000000003526b0
----------------
Code disassembly (best guess):
0: c1 49 89 dd rorl $0xdd,-0x77(%rcx)
4: 49 c1 ed 03 shr $0x3,%r13
8: 43 80 7c 3d 00 00 cmpb $0x0,0x0(%r13,%r15,1)
e: 74 08 je 0x18
10: 48 89 df mov %rbx,%rdi
13: e8 e4 7a e2 fd call 0xfde27afc
18: 48 89 5d 90 mov %rbx,-0x70(%rbp)
1c: 4c 8b 33 mov (%rbx),%r14
1f: 49 8d 5e 60 lea 0x60(%r14),%rbx
23: 48 89 d8 mov %rbx,%rax
26: 48 c1 e8 03 shr $0x3,%rax
* 2a: 42 80 3c 38 00 cmpb $0x0,(%rax,%r15,1) <-- trapping instruction
2f: 74 08 je 0x39
31: 48 89 df mov %rbx,%rdi
34: e8 c3 7a e2 fd call 0xfde27afc
39: 48 8b 1b mov (%rbx),%rbx
3c: 48 8b 45 c0 mov -0x40(%rbp),%rax