Extracting prog: 4m9.343766969s Minimizing prog: 51m56.632792478s Simplifying prog options: 9m27.438484974s Extracting C: 3m12.126137927s Simplifying C: 0s 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:5 Slowdown:1 Sandbox:namespace 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}}): syz_usb_connect-syz_usb_ep_read-syz_usb_ep_read-syz_usb_ep_write-syz_usb_ep_read-syz_usb_ep_write-syz_usb_ep_read-syz_usb_disconnect-syz_usb_ep_read-syz_usb_ep_read-syz_usb_ep_read-syz_usb_ep_write detailed listing: executing program 0: r0 = syz_usb_connect(0x3, 0x39, &(0x7f0000000040)=ANY=[@ANYBLOB="12010002ffffff40da0b29010001000000010902270001010080320904000003ffffff0007050102000200070582020002"], 0x0) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (async) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (rerun: 32) syz_usb_ep_write(r0, 0x82, 0x0, 0x0) (rerun: 32) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (async) syz_usb_ep_write(r0, 0x82, 0x0, 0x0) (async) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (async) syz_usb_disconnect(0xffffffffffffffff) (async) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (async) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) syz_usb_ep_write(r0, 0x82, 0x0, 0x0) program did not crash single: failed to extract reproducer single: executing 1 programs separately with timeout 6m0s testing program (duration=6m0s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:namespace 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}}): syz_usb_connect-syz_usb_ep_read-syz_usb_ep_read-syz_usb_ep_write-syz_usb_ep_read-syz_usb_ep_write-syz_usb_ep_read-syz_usb_disconnect-syz_usb_ep_read-syz_usb_ep_read-syz_usb_ep_read-syz_usb_ep_write detailed listing: executing program 0: r0 = syz_usb_connect(0x3, 0x39, &(0x7f0000000040)=ANY=[@ANYBLOB="12010002ffffff40da0b29010001000000010902270001010080320904000003ffffff0007050102000200070582020002"], 0x0) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (async) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (rerun: 32) syz_usb_ep_write(r0, 0x82, 0x0, 0x0) (rerun: 32) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (async) syz_usb_ep_write(r0, 0x82, 0x0, 0x0) (async) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (async) syz_usb_disconnect(0xffffffffffffffff) (async) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (async) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) syz_usb_ep_write(r0, 0x82, 0x0, 0x0) program crashed: KASAN: slab-use-after-free Read in rtsx_usb_ms_handle_req single: successfully extracted reproducer found reproducer with 12 syscalls minimizing guilty program testing program (duration=3m0.731947862s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:namespace 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}}): syz_usb_connect-syz_usb_ep_read-syz_usb_ep_read-syz_usb_ep_write-syz_usb_ep_read-syz_usb_ep_write-syz_usb_ep_read-syz_usb_disconnect-syz_usb_ep_read-syz_usb_ep_read-syz_usb_ep_read detailed listing: executing program 0: r0 = syz_usb_connect(0x3, 0x39, &(0x7f0000000040)=ANY=[@ANYBLOB="12010002ffffff40da0b29010001000000010902270001010080320904000003ffffff0007050102000200070582020002"], 0x0) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (async) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (rerun: 32) syz_usb_ep_write(r0, 0x82, 0x0, 0x0) (rerun: 32) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (async) syz_usb_ep_write(r0, 0x82, 0x0, 0x0) (async) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (async) syz_usb_disconnect(0xffffffffffffffff) (async) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (async) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) program crashed: KASAN: slab-use-after-free Write in rtsx_usb_ms_handle_req testing program (duration=3m0.731947862s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:namespace 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}}): syz_usb_connect-syz_usb_ep_read-syz_usb_ep_read-syz_usb_ep_write-syz_usb_ep_read-syz_usb_ep_write-syz_usb_ep_read-syz_usb_disconnect-syz_usb_ep_read-syz_usb_ep_read detailed listing: executing program 0: r0 = syz_usb_connect(0x3, 0x39, &(0x7f0000000040)=ANY=[@ANYBLOB="12010002ffffff40da0b29010001000000010902270001010080320904000003ffffff0007050102000200070582020002"], 0x0) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (async) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (rerun: 32) syz_usb_ep_write(r0, 0x82, 0x0, 0x0) (rerun: 32) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (async) syz_usb_ep_write(r0, 0x82, 0x0, 0x0) (async) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (async) syz_usb_disconnect(0xffffffffffffffff) (async) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (async) program crashed: KASAN: slab-use-after-free Write in rtsx_usb_ms_handle_req testing program (duration=3m0.731947862s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:namespace 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}}): syz_usb_connect-syz_usb_ep_read-syz_usb_ep_read-syz_usb_ep_write-syz_usb_ep_read-syz_usb_ep_write-syz_usb_ep_read-syz_usb_disconnect-syz_usb_ep_read detailed listing: executing program 0: r0 = syz_usb_connect(0x3, 0x39, &(0x7f0000000040)=ANY=[@ANYBLOB="12010002ffffff40da0b29010001000000010902270001010080320904000003ffffff0007050102000200070582020002"], 0x0) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (async) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (rerun: 32) syz_usb_ep_write(r0, 0x82, 0x0, 0x0) (rerun: 32) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (async) syz_usb_ep_write(r0, 0x82, 0x0, 0x0) (async) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (async) syz_usb_disconnect(0xffffffffffffffff) (async) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) program crashed: KASAN: slab-use-after-free Read in rtsx_usb_ms_handle_req testing program (duration=3m0.731947862s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:namespace 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}}): syz_usb_connect-syz_usb_ep_read-syz_usb_ep_read-syz_usb_ep_write-syz_usb_ep_read-syz_usb_ep_write-syz_usb_ep_read-syz_usb_disconnect detailed listing: executing program 0: r0 = syz_usb_connect(0x3, 0x39, &(0x7f0000000040)=ANY=[@ANYBLOB="12010002ffffff40da0b29010001000000010902270001010080320904000003ffffff0007050102000200070582020002"], 0x0) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (async) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (rerun: 32) syz_usb_ep_write(r0, 0x82, 0x0, 0x0) (rerun: 32) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (async) syz_usb_ep_write(r0, 0x82, 0x0, 0x0) (async) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (async) syz_usb_disconnect(0xffffffffffffffff) (async) program crashed: KASAN: slab-use-after-free Write in rtsx_usb_ms_handle_req testing program (duration=3m0.731947862s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:namespace 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}}): syz_usb_connect-syz_usb_ep_read-syz_usb_ep_read-syz_usb_ep_write-syz_usb_ep_read-syz_usb_ep_write-syz_usb_ep_read detailed listing: executing program 0: r0 = syz_usb_connect(0x3, 0x39, &(0x7f0000000040)=ANY=[@ANYBLOB="12010002ffffff40da0b29010001000000010902270001010080320904000003ffffff0007050102000200070582020002"], 0x0) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (async) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (rerun: 32) syz_usb_ep_write(r0, 0x82, 0x0, 0x0) (rerun: 32) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (async) syz_usb_ep_write(r0, 0x82, 0x0, 0x0) (async) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (async) program crashed: KASAN: slab-use-after-free Write in rtsx_usb_ms_handle_req testing program (duration=3m0.731947862s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:namespace 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}}): syz_usb_connect-syz_usb_ep_read-syz_usb_ep_read-syz_usb_ep_write-syz_usb_ep_read-syz_usb_ep_write detailed listing: executing program 0: r0 = syz_usb_connect(0x3, 0x39, &(0x7f0000000040)=ANY=[@ANYBLOB="12010002ffffff40da0b29010001000000010902270001010080320904000003ffffff0007050102000200070582020002"], 0x0) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (async) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (rerun: 32) syz_usb_ep_write(r0, 0x82, 0x0, 0x0) (rerun: 32) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (async) syz_usb_ep_write(r0, 0x82, 0x0, 0x0) (async) program crashed: KASAN: slab-use-after-free Write in rtsx_usb_ms_handle_req testing program (duration=3m0.731947862s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:namespace 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}}): syz_usb_connect-syz_usb_ep_read-syz_usb_ep_read-syz_usb_ep_write-syz_usb_ep_read detailed listing: executing program 0: r0 = syz_usb_connect(0x3, 0x39, &(0x7f0000000040)=ANY=[@ANYBLOB="12010002ffffff40da0b29010001000000010902270001010080320904000003ffffff0007050102000200070582020002"], 0x0) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (async) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (rerun: 32) syz_usb_ep_write(r0, 0x82, 0x0, 0x0) (rerun: 32) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (async) program crashed: KASAN: slab-use-after-free Read in rtsx_usb_ms_handle_req testing program (duration=3m0.731947862s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:namespace 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}}): syz_usb_connect-syz_usb_ep_read-syz_usb_ep_read-syz_usb_ep_write detailed listing: executing program 0: r0 = syz_usb_connect(0x3, 0x39, &(0x7f0000000040)=ANY=[@ANYBLOB="12010002ffffff40da0b29010001000000010902270001010080320904000003ffffff0007050102000200070582020002"], 0x0) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (async) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (rerun: 32) syz_usb_ep_write(r0, 0x82, 0x0, 0x0) (rerun: 32) program did not crash testing program (duration=3m0.731947862s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:namespace 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}}): syz_usb_connect-syz_usb_ep_read-syz_usb_ep_read-syz_usb_ep_read detailed listing: executing program 0: r0 = syz_usb_connect(0x3, 0x39, &(0x7f0000000040)=ANY=[@ANYBLOB="12010002ffffff40da0b29010001000000010902270001010080320904000003ffffff0007050102000200070582020002"], 0x0) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (async) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (rerun: 32) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (async) program did not crash testing program (duration=3m0.731947862s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:namespace 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}}): syz_usb_connect-syz_usb_ep_read-syz_usb_ep_write-syz_usb_ep_read detailed listing: executing program 0: r0 = syz_usb_connect(0x3, 0x39, &(0x7f0000000040)=ANY=[@ANYBLOB="12010002ffffff40da0b29010001000000010902270001010080320904000003ffffff0007050102000200070582020002"], 0x0) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (async) syz_usb_ep_write(r0, 0x82, 0x0, 0x0) (rerun: 32) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (async) program did not crash testing program (duration=3m0.731947862s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:namespace 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}}): syz_usb_connect-syz_usb_ep_read-syz_usb_ep_write-syz_usb_ep_read detailed listing: executing program 0: r0 = syz_usb_connect(0x3, 0x39, &(0x7f0000000040)=ANY=[@ANYBLOB="12010002ffffff40da0b29010001000000010902270001010080320904000003ffffff0007050102000200070582020002"], 0x0) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (rerun: 32) syz_usb_ep_write(r0, 0x82, 0x0, 0x0) (rerun: 32) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (async) program did not crash testing program (duration=3m0.731947862s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:namespace 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}}): syz_usb_ep_read-syz_usb_ep_read-syz_usb_ep_write-syz_usb_ep_read detailed listing: executing program 0: syz_usb_ep_read(0xffffffffffffffff, 0x1, 0x0, 0x0) (async) syz_usb_ep_read(0xffffffffffffffff, 0x1, 0x0, 0x0) (rerun: 32) syz_usb_ep_write(0xffffffffffffffff, 0x82, 0x0, 0x0) (rerun: 32) syz_usb_ep_read(0xffffffffffffffff, 0x1, 0x0, 0x0) (async) program did not crash testing program (duration=3m0.731947862s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:namespace 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}}): syz_usb_connect-syz_usb_ep_read-syz_usb_ep_read-syz_usb_ep_write-syz_usb_ep_read detailed listing: executing program 0: r0 = syz_usb_connect(0x3, 0x39, &(0x7f0000000040)=ANY=[@ANYBLOB="12010002ffffff40da0b29010001000000010902270001010080320904000003ffffff0007050102000200070582020002"], 0x0) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) syz_usb_ep_write(r0, 0x82, 0x0, 0x0) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) program did not crash testing program (duration=3m0.731947862s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:namespace 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}}): syz_usb_connect-syz_usb_ep_read-syz_usb_ep_read-syz_usb_ep_write-syz_usb_ep_read detailed listing: executing program 0: r0 = syz_usb_connect(0x3, 0x39, 0x0, 0x0) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (async) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (rerun: 32) syz_usb_ep_write(r0, 0x82, 0x0, 0x0) (rerun: 32) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (async) program did not crash testing program (duration=3m0.731947862s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:namespace 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}}): syz_usb_connect-syz_usb_ep_read-syz_usb_ep_read-syz_usb_ep_write-syz_usb_ep_read detailed listing: executing program 0: r0 = syz_usb_connect(0x3, 0x39, &(0x7f0000000040)=ANY=[@ANYBLOB], 0x0) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (async) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (rerun: 32) syz_usb_ep_write(r0, 0x82, 0x0, 0x0) (rerun: 32) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (async) program did not crash testing program (duration=3m0.731947862s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:namespace 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}}): syz_usb_connect-syz_usb_ep_read-syz_usb_ep_read-syz_usb_ep_write-syz_usb_ep_read detailed listing: executing program 0: r0 = syz_usb_connect(0x3, 0x39, &(0x7f0000000040)=ANY=[@ANYBLOB="12010002ffffff40da0b29010001000000010902270001010080320904000003ffffff0007050102000200070582020002"], 0x0) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (rerun: 32) syz_usb_ep_write(r0, 0x82, 0x0, 0x0) (rerun: 32) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (async) program did not crash testing program (duration=3m0.731947862s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:namespace 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}}): syz_usb_connect-syz_usb_ep_read-syz_usb_ep_read-syz_usb_ep_write-syz_usb_ep_read detailed listing: executing program 0: r0 = syz_usb_connect(0x3, 0x39, &(0x7f0000000040)=ANY=[@ANYBLOB="12010002ffffff40da0b29010001000000010902270001010080320904000003ffffff0007050102000200070582020002"], 0x0) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (async) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) syz_usb_ep_write(r0, 0x82, 0x0, 0x0) (rerun: 32) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (async) program did not crash testing program (duration=3m0.731947862s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:namespace 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}}): syz_usb_connect-syz_usb_ep_read-syz_usb_ep_read-syz_usb_ep_write-syz_usb_ep_read detailed listing: executing program 0: r0 = syz_usb_connect(0x3, 0x39, &(0x7f0000000040)=ANY=[@ANYBLOB="12010002ffffff40da0b29010001000000010902270001010080320904000003ffffff0007050102000200070582020002"], 0x0) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (async) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (rerun: 32) syz_usb_ep_write(r0, 0x82, 0x0, 0x0) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (async) program did not crash testing program (duration=3m0.731947862s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:namespace 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}}): syz_usb_connect-syz_usb_ep_read-syz_usb_ep_read-syz_usb_ep_write-syz_usb_ep_read detailed listing: executing program 0: r0 = syz_usb_connect(0x3, 0x39, &(0x7f0000000040)=ANY=[@ANYBLOB="12010002ffffff40da0b29010001000000010902270001010080320904000003ffffff0007050102000200070582020002"], 0x0) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (async) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (rerun: 32) syz_usb_ep_write(r0, 0x82, 0x0, 0x0) (rerun: 32) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) program did not crash extracting C reproducer testing compiled C program (duration=3m0.731947862s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:namespace 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}}): syz_usb_connect-syz_usb_ep_read-syz_usb_ep_read-syz_usb_ep_write-syz_usb_ep_read program did not crash simplifying guilty program options testing program (duration=3m0.731947862s, {Threaded:false Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:namespace 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}}): syz_usb_connect-syz_usb_ep_read-syz_usb_ep_read-syz_usb_ep_write-syz_usb_ep_read detailed listing: executing program 0: r0 = syz_usb_connect(0x3, 0x39, &(0x7f0000000040)=ANY=[@ANYBLOB="12010002ffffff40da0b29010001000000010902270001010080320904000003ffffff0007050102000200070582020002"], 0x0) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (async) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (rerun: 32) syz_usb_ep_write(r0, 0x82, 0x0, 0x0) (rerun: 32) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (async) program did not crash testing program (duration=3m0.731947862s, {Threaded:true Repeat:true RepeatTimes:0 Procs:1 Slowdown:1 Sandbox:namespace 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}}): syz_usb_connect-syz_usb_ep_read-syz_usb_ep_read-syz_usb_ep_write-syz_usb_ep_read detailed listing: executing program 0: r0 = syz_usb_connect(0x3, 0x39, &(0x7f0000000040)=ANY=[@ANYBLOB="12010002ffffff40da0b29010001000000010902270001010080320904000003ffffff0007050102000200070582020002"], 0x0) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (async) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (rerun: 32) syz_usb_ep_write(r0, 0x82, 0x0, 0x0) (rerun: 32) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (async) program did not crash testing program (duration=3m0.731947862s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 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}}): syz_usb_connect-syz_usb_ep_read-syz_usb_ep_read-syz_usb_ep_write-syz_usb_ep_read detailed listing: executing program 0: r0 = syz_usb_connect(0x3, 0x39, &(0x7f0000000040)=ANY=[@ANYBLOB="12010002ffffff40da0b29010001000000010902270001010080320904000003ffffff0007050102000200070582020002"], 0x0) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (async) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (rerun: 32) syz_usb_ep_write(r0, 0x82, 0x0, 0x0) (rerun: 32) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (async) program did not crash testing program (duration=3m0.731947862s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:namespace 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}}): syz_usb_connect-syz_usb_ep_read-syz_usb_ep_read-syz_usb_ep_write-syz_usb_ep_read detailed listing: executing program 0: r0 = syz_usb_connect(0x3, 0x39, &(0x7f0000000040)=ANY=[@ANYBLOB="12010002ffffff40da0b29010001000000010902270001010080320904000003ffffff0007050102000200070582020002"], 0x0) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (async) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (rerun: 32) syz_usb_ep_write(r0, 0x82, 0x0, 0x0) (rerun: 32) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (async) program crashed: KASAN: slab-use-after-free Write in rtsx_usb_ms_handle_req validation run: crashed=true testing program (duration=3m0.731947862s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:namespace 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}}): syz_usb_connect-syz_usb_ep_read-syz_usb_ep_read-syz_usb_ep_write-syz_usb_ep_read detailed listing: executing program 0: r0 = syz_usb_connect(0x3, 0x39, &(0x7f0000000040)=ANY=[@ANYBLOB="12010002ffffff40da0b29010001000000010902270001010080320904000003ffffff0007050102000200070582020002"], 0x0) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (async) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (rerun: 32) syz_usb_ep_write(r0, 0x82, 0x0, 0x0) (rerun: 32) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (async) program crashed: KASAN: slab-use-after-free Read in rtsx_usb_ms_handle_req validation run: crashed=true testing program (duration=3m0.731947862s, {Threaded:true Repeat:true RepeatTimes:0 Procs:5 Slowdown:1 Sandbox:namespace 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}}): syz_usb_connect-syz_usb_ep_read-syz_usb_ep_read-syz_usb_ep_write-syz_usb_ep_read detailed listing: executing program 0: r0 = syz_usb_connect(0x3, 0x39, &(0x7f0000000040)=ANY=[@ANYBLOB="12010002ffffff40da0b29010001000000010902270001010080320904000003ffffff0007050102000200070582020002"], 0x0) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (async) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (rerun: 32) syz_usb_ep_write(r0, 0x82, 0x0, 0x0) (rerun: 32) syz_usb_ep_read(r0, 0x1, 0x0, 0x0) (async) program crashed: KASAN: slab-use-after-free Read in rtsx_usb_ms_handle_req validation run: crashed=true reproducing took 1h14m33.475220071s repro crashed as (corrupted=false): ================================================================== BUG: KASAN: slab-use-after-free in rtsx_usb_ms_issue_cmd drivers/memstick/host/rtsx_usb_ms.c:467 [inline] BUG: KASAN: slab-use-after-free in rtsx_usb_ms_handle_req+0x10b1/0x1900 drivers/memstick/host/rtsx_usb_ms.c:531 Read of size 1 at addr ffff888029646071 by task kworker/0:4/5729 CPU: 0 UID: 0 PID: 5729 Comm: kworker/0:4 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026 Workqueue: events rtsx_usb_ms_handle_req Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 print_address_description+0x55/0x1e0 mm/kasan/report.c:378 print_report+0x58/0x70 mm/kasan/report.c:482 kasan_report+0x117/0x150 mm/kasan/report.c:595 rtsx_usb_ms_issue_cmd drivers/memstick/host/rtsx_usb_ms.c:467 [inline] rtsx_usb_ms_handle_req+0x10b1/0x1900 drivers/memstick/host/rtsx_usb_ms.c:531 process_one_work kernel/workqueue.c:3396 [inline] process_scheduled_works+0xc3d/0x1630 kernel/workqueue.c:3479 worker_thread+0xa47/0xfb0 kernel/workqueue.c:3560 kthread+0x38b/0x480 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Allocated by task 81: kasan_save_stack mm/kasan/common.c:57 [inline] kasan_save_track+0x3e/0x80 mm/kasan/common.c:78 poison_kmalloc_redzone mm/kasan/common.c:409 [inline] __kasan_kmalloc+0x93/0xb0 mm/kasan/common.c:426 kasan_kmalloc include/linux/kasan.h:263 [inline] __kmalloc_cache_noprof+0x321/0x600 mm/slub.c:5563 _kmalloc_noprof include/linux/slab.h:991 [inline] _kzalloc_noprof include/linux/slab.h:1312 [inline] memstick_alloc_card drivers/memstick/core/memstick.c:383 [inline] memstick_check+0x1a7/0x1250 drivers/memstick/core/memstick.c:452 process_one_work kernel/workqueue.c:3396 [inline] process_scheduled_works+0xc3d/0x1630 kernel/workqueue.c:3479 worker_thread+0xa47/0xfb0 kernel/workqueue.c:3560 kthread+0x38b/0x480 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Freed by task 81: kasan_save_stack mm/kasan/common.c:57 [inline] kasan_save_track+0x3e/0x80 mm/kasan/common.c:78 kasan_save_free_info+0x40/0x50 mm/kasan/generic.c:584 poison_slab_object mm/kasan/common.c:264 [inline] __kasan_slab_free+0x5c/0x80 mm/kasan/common.c:296 kasan_slab_free include/linux/kasan.h:235 [inline] slab_free_hook mm/slub.c:2748 [inline] slab_free mm/slub.c:6508 [inline] kfree+0x1c5/0x650 mm/slub.c:6801 memstick_alloc_card drivers/memstick/core/memstick.c:420 [inline] memstick_check+0x7b6/0x1250 drivers/memstick/core/memstick.c:452 process_one_work kernel/workqueue.c:3396 [inline] process_scheduled_works+0xc3d/0x1630 kernel/workqueue.c:3479 worker_thread+0xa47/0xfb0 kernel/workqueue.c:3560 kthread+0x38b/0x480 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 The buggy address belongs to the object at ffff888029646000 which belongs to the cache kmalloc-2k of size 2048 The buggy address is located 113 bytes inside of freed 2048-byte region [ffff888029646000, ffff888029646800) The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x29640 head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 flags: 0xfff00000000040(head|node=0|zone=1|lastcpupid=0x7ff) page_type: f5(slab) raw: 00fff00000000040 ffff88801b042000 dead000000000100 dead000000000122 raw: 0000000000000000 0000000000080008 00000000f5000000 0000000000000000 head: 00fff00000000040 ffff88801b042000 dead000000000100 dead000000000122 head: 0000000000000000 0000000000080008 00000000f5000000 0000000000000000 head: 00fff00000000003 fffffffffffffe01 00000000ffffffff 00000000ffffffff head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000008 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 3, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 5736, tgid 5736 (syz-executor), ts 97232770317 set_page_owner include/linux/page_owner.h:33 [inline] post_alloc_hook+0x1f9/0x250 mm/page_alloc.c:1871 prep_new_page mm/page_alloc.c:1879 [inline] get_page_from_freelist+0x2209/0x2280 mm/page_alloc.c:3943 __alloc_frozen_pages_noprof+0x217/0x5a0 mm/page_alloc.c:5436 alloc_slab_page mm/slub.c:3347 [inline] allocate_slab+0x7d/0x620 mm/slub.c:3462 new_slab mm/slub.c:3513 [inline] refill_objects+0x2d5/0x350 mm/slub.c:7417 refill_sheaf mm/slub.c:2885 [inline] __pcs_replace_empty_main+0x2c8/0x6c0 mm/slub.c:4774 alloc_from_pcs mm/slub.c:4850 [inline] slab_alloc_node mm/slub.c:4984 [inline] __do_kmalloc_node mm/slub.c:5413 [inline] __kvmalloc_node_noprof+0x63c/0x820 mm/slub.c:7014 _kvmalloc_array_node_noprof include/linux/slab.h:1374 [inline] __ptr_ring_init_queue_alloc_noprof include/linux/ptr_ring.h:503 [inline] ptr_ring_init_noprof include/linux/ptr_ring.h:521 [inline] page_pool_init net/core/page_pool.c:260 [inline] page_pool_create_percpu+0x2ef/0xc70 net/core/page_pool.c:350 nsim_create_page_pool drivers/net/netdevsim/netdev.c:430 [inline] nsim_init_napi drivers/net/netdevsim/netdev.c:453 [inline] nsim_open+0x3ca/0xa10 drivers/net/netdevsim/netdev.c:509 __dev_open+0x46f/0x850 net/core/dev.c:1724 __dev_change_flags+0x329/0x820 net/core/dev.c:9823 netif_change_flags+0x7c/0x1b0 net/core/dev.c:9888 do_setlink+0xdd6/0x4670 net/core/rtnetlink.c:3271 rtnl_changelink net/core/rtnetlink.c:3910 [inline] __rtnl_newlink net/core/rtnetlink.c:4081 [inline] rtnl_newlink+0x15a3/0x1c30 net/core/rtnetlink.c:4220 rtnetlink_rcv_msg+0x802/0xc00 net/core/rtnetlink.c:7137 netlink_rcv_skb+0x226/0x4a0 net/netlink/af_netlink.c:2575 page last free pid 5355 tgid 5355 ts 53637276285 stack trace: reset_page_owner include/linux/page_owner.h:26 [inline] __free_pages_prepare mm/page_alloc.c:1418 [inline] __free_frozen_pages+0xc93/0xd90 mm/page_alloc.c:2962 __slab_free+0x274/0x2c0 mm/slub.c:5823 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x99/0x100 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x148/0x160 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x22/0x80 mm/kasan/common.c:361 kasan_slab_alloc include/linux/kasan.h:253 [inline] slab_post_alloc_hook mm/slub.c:4683 [inline] slab_alloc_node mm/slub.c:4996 [inline] __kmalloc_cache_noprof+0x29f/0x600 mm/slub.c:5559 _kmalloc_noprof include/linux/slab.h:991 [inline] tomoyo_print_header security/tomoyo/audit.c:156 [inline] tomoyo_init_log+0x195/0x1fa0 security/tomoyo/audit.c:253 tomoyo_supervisor+0x35f/0x1560 security/tomoyo/common.c:2232 tomoyo_audit_path_log security/tomoyo/file.c:169 [inline] tomoyo_path_permission+0x262/0x3b0 security/tomoyo/file.c:592 tomoyo_check_open_permission+0x2b2/0x470 security/tomoyo/file.c:782 security_file_open+0xa9/0x240 security/security.c:2739 do_dentry_open+0x4a0/0x1380 fs/open.c:973 vfs_open+0x3b/0x340 fs/open.c:1101 do_open fs/namei.c:4837 [inline] path_openat+0x1443/0x1d60 fs/namei.c:5000 do_file_open+0x23e/0x4a0 fs/namei.c:5029 do_sys_openat2+0x115/0x200 fs/open.c:1417 Memory state around the buggy address: ffff888029645f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff888029645f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff888029646000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff888029646080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff888029646100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ================================================================== final repro crashed as (corrupted=false): ================================================================== BUG: KASAN: slab-use-after-free in rtsx_usb_ms_issue_cmd drivers/memstick/host/rtsx_usb_ms.c:467 [inline] BUG: KASAN: slab-use-after-free in rtsx_usb_ms_handle_req+0x10b1/0x1900 drivers/memstick/host/rtsx_usb_ms.c:531 Read of size 1 at addr ffff888029646071 by task kworker/0:4/5729 CPU: 0 UID: 0 PID: 5729 Comm: kworker/0:4 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026 Workqueue: events rtsx_usb_ms_handle_req Call Trace: dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 print_address_description+0x55/0x1e0 mm/kasan/report.c:378 print_report+0x58/0x70 mm/kasan/report.c:482 kasan_report+0x117/0x150 mm/kasan/report.c:595 rtsx_usb_ms_issue_cmd drivers/memstick/host/rtsx_usb_ms.c:467 [inline] rtsx_usb_ms_handle_req+0x10b1/0x1900 drivers/memstick/host/rtsx_usb_ms.c:531 process_one_work kernel/workqueue.c:3396 [inline] process_scheduled_works+0xc3d/0x1630 kernel/workqueue.c:3479 worker_thread+0xa47/0xfb0 kernel/workqueue.c:3560 kthread+0x38b/0x480 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Allocated by task 81: kasan_save_stack mm/kasan/common.c:57 [inline] kasan_save_track+0x3e/0x80 mm/kasan/common.c:78 poison_kmalloc_redzone mm/kasan/common.c:409 [inline] __kasan_kmalloc+0x93/0xb0 mm/kasan/common.c:426 kasan_kmalloc include/linux/kasan.h:263 [inline] __kmalloc_cache_noprof+0x321/0x600 mm/slub.c:5563 _kmalloc_noprof include/linux/slab.h:991 [inline] _kzalloc_noprof include/linux/slab.h:1312 [inline] memstick_alloc_card drivers/memstick/core/memstick.c:383 [inline] memstick_check+0x1a7/0x1250 drivers/memstick/core/memstick.c:452 process_one_work kernel/workqueue.c:3396 [inline] process_scheduled_works+0xc3d/0x1630 kernel/workqueue.c:3479 worker_thread+0xa47/0xfb0 kernel/workqueue.c:3560 kthread+0x38b/0x480 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 Freed by task 81: kasan_save_stack mm/kasan/common.c:57 [inline] kasan_save_track+0x3e/0x80 mm/kasan/common.c:78 kasan_save_free_info+0x40/0x50 mm/kasan/generic.c:584 poison_slab_object mm/kasan/common.c:264 [inline] __kasan_slab_free+0x5c/0x80 mm/kasan/common.c:296 kasan_slab_free include/linux/kasan.h:235 [inline] slab_free_hook mm/slub.c:2748 [inline] slab_free mm/slub.c:6508 [inline] kfree+0x1c5/0x650 mm/slub.c:6801 memstick_alloc_card drivers/memstick/core/memstick.c:420 [inline] memstick_check+0x7b6/0x1250 drivers/memstick/core/memstick.c:452 process_one_work kernel/workqueue.c:3396 [inline] process_scheduled_works+0xc3d/0x1630 kernel/workqueue.c:3479 worker_thread+0xa47/0xfb0 kernel/workqueue.c:3560 kthread+0x38b/0x480 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 The buggy address belongs to the object at ffff888029646000 which belongs to the cache kmalloc-2k of size 2048 The buggy address is located 113 bytes inside of freed 2048-byte region [ffff888029646000, ffff888029646800) The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x29640 head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 flags: 0xfff00000000040(head|node=0|zone=1|lastcpupid=0x7ff) page_type: f5(slab) raw: 00fff00000000040 ffff88801b042000 dead000000000100 dead000000000122 raw: 0000000000000000 0000000000080008 00000000f5000000 0000000000000000 head: 00fff00000000040 ffff88801b042000 dead000000000100 dead000000000122 head: 0000000000000000 0000000000080008 00000000f5000000 0000000000000000 head: 00fff00000000003 fffffffffffffe01 00000000ffffffff 00000000ffffffff head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000008 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 3, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 5736, tgid 5736 (syz-executor), ts 97232770317 set_page_owner include/linux/page_owner.h:33 [inline] post_alloc_hook+0x1f9/0x250 mm/page_alloc.c:1871 prep_new_page mm/page_alloc.c:1879 [inline] get_page_from_freelist+0x2209/0x2280 mm/page_alloc.c:3943 __alloc_frozen_pages_noprof+0x217/0x5a0 mm/page_alloc.c:5436 alloc_slab_page mm/slub.c:3347 [inline] allocate_slab+0x7d/0x620 mm/slub.c:3462 new_slab mm/slub.c:3513 [inline] refill_objects+0x2d5/0x350 mm/slub.c:7417 refill_sheaf mm/slub.c:2885 [inline] __pcs_replace_empty_main+0x2c8/0x6c0 mm/slub.c:4774 alloc_from_pcs mm/slub.c:4850 [inline] slab_alloc_node mm/slub.c:4984 [inline] __do_kmalloc_node mm/slub.c:5413 [inline] __kvmalloc_node_noprof+0x63c/0x820 mm/slub.c:7014 _kvmalloc_array_node_noprof include/linux/slab.h:1374 [inline] __ptr_ring_init_queue_alloc_noprof include/linux/ptr_ring.h:503 [inline] ptr_ring_init_noprof include/linux/ptr_ring.h:521 [inline] page_pool_init net/core/page_pool.c:260 [inline] page_pool_create_percpu+0x2ef/0xc70 net/core/page_pool.c:350 nsim_create_page_pool drivers/net/netdevsim/netdev.c:430 [inline] nsim_init_napi drivers/net/netdevsim/netdev.c:453 [inline] nsim_open+0x3ca/0xa10 drivers/net/netdevsim/netdev.c:509 __dev_open+0x46f/0x850 net/core/dev.c:1724 __dev_change_flags+0x329/0x820 net/core/dev.c:9823 netif_change_flags+0x7c/0x1b0 net/core/dev.c:9888 do_setlink+0xdd6/0x4670 net/core/rtnetlink.c:3271 rtnl_changelink net/core/rtnetlink.c:3910 [inline] __rtnl_newlink net/core/rtnetlink.c:4081 [inline] rtnl_newlink+0x15a3/0x1c30 net/core/rtnetlink.c:4220 rtnetlink_rcv_msg+0x802/0xc00 net/core/rtnetlink.c:7137 netlink_rcv_skb+0x226/0x4a0 net/netlink/af_netlink.c:2575 page last free pid 5355 tgid 5355 ts 53637276285 stack trace: reset_page_owner include/linux/page_owner.h:26 [inline] __free_pages_prepare mm/page_alloc.c:1418 [inline] __free_frozen_pages+0xc93/0xd90 mm/page_alloc.c:2962 __slab_free+0x274/0x2c0 mm/slub.c:5823 qlink_free mm/kasan/quarantine.c:163 [inline] qlist_free_all+0x99/0x100 mm/kasan/quarantine.c:179 kasan_quarantine_reduce+0x148/0x160 mm/kasan/quarantine.c:286 __kasan_slab_alloc+0x22/0x80 mm/kasan/common.c:361 kasan_slab_alloc include/linux/kasan.h:253 [inline] slab_post_alloc_hook mm/slub.c:4683 [inline] slab_alloc_node mm/slub.c:4996 [inline] __kmalloc_cache_noprof+0x29f/0x600 mm/slub.c:5559 _kmalloc_noprof include/linux/slab.h:991 [inline] tomoyo_print_header security/tomoyo/audit.c:156 [inline] tomoyo_init_log+0x195/0x1fa0 security/tomoyo/audit.c:253 tomoyo_supervisor+0x35f/0x1560 security/tomoyo/common.c:2232 tomoyo_audit_path_log security/tomoyo/file.c:169 [inline] tomoyo_path_permission+0x262/0x3b0 security/tomoyo/file.c:592 tomoyo_check_open_permission+0x2b2/0x470 security/tomoyo/file.c:782 security_file_open+0xa9/0x240 security/security.c:2739 do_dentry_open+0x4a0/0x1380 fs/open.c:973 vfs_open+0x3b/0x340 fs/open.c:1101 do_open fs/namei.c:4837 [inline] path_openat+0x1443/0x1d60 fs/namei.c:5000 do_file_open+0x23e/0x4a0 fs/namei.c:5029 do_sys_openat2+0x115/0x200 fs/open.c:1417 Memory state around the buggy address: ffff888029645f00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff888029645f80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff888029646000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff888029646080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff888029646100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ==================================================================