Extracting prog: 27.803805997s
Minimizing prog: 6m43.198239708s
Simplifying prog options: 0s
Extracting C: 30.004384155s
Simplifying C: 3m34.266715891s
extracting reproducer from 1 programs
testing a last program of every proc
single: executing 1 programs separately with timeout 30s
testing program (duration=30s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): ioctl$EVIOCGKEY-syz_usb_connect
detailed listing:
executing program 0:
ioctl$EVIOCGKEY(0xffffffffffffffff, 0x80404518, 0x0)
syz_usb_connect(0x0, 0x2a4, &(0x7f0000000380)={{0x12, 0x1, 0x300, 0xb2, 0x55, 0xfa, 0x8, 0x424, 0xc001, 0x1c8f, 0x1, 0x2, 0x3, 0x1, [{{0x9, 0x2, 0x292, 0x4, 0x0, 0x1, 0x20, 0x6, [{{0x9, 0x4, 0xc7, 0xe, 0xf, 0xed, 0x77, 0x6, 0x2, [@uac_as, @cdc_ncm={{0x5}, {0x5}, {0xd, 0x24, 0xf, 0x1, 0x9a, 0x9a9, 0x4, 0x6}, {0x6, 0x24, 0x1a, 0x0, 0x2}, [@obex={0x5, 0x24, 0x15, 0x7}, @dmm={0x7, 0x24, 0x14, 0xb, 0x9}, @mbim_extended={0x8, 0x24, 0x1c, 0x8, 0xcd, 0x4e3}]}], [{{0x9, 0x5, 0xc, 0x10, 0x0, 0xf8, 0x9, 0x7}}, {{0x9, 0x5, 0x8, 0x2, 0x20, 0x0, 0xb, 0xc9, [@uac_iso={0x7, 0x25, 0x1, 0x3, 0x81, 0xebb8}]}}, {{0x9, 0x5, 0xa, 0x0, 0x20, 0xef, 0x9, 0x8}}, {{0x9, 0x5, 0x9, 0x10, 0x3bf, 0x1, 0x4, 0x2}}, {{0x9, 0x5, 0xa, 0xc, 0x400, 0x8, 0x10, 0x9, [@generic={0x2, 0xa}]}}, {{0x9, 0x5, 0x4ce12af02eac2600, 0x0, 0x200, 0xb, 0x1, 0x6, [@uac_iso={0x7, 0x25, 0x1, 0x4, 0x3, 0x7fff}]}}, {{0x9, 0x5, 0x8, 0x3, 0x8, 0x0, 0x8, 0x80, [@uac_iso={0x7, 0x25, 0x1, 0x82, 0x5, 0x1}]}}, {{0x9, 0x5, 0x9, 0xc, 0x10, 0x6, 0x1, 0x2}}, {{0x9, 0x5, 0x0, 0x2, 0x20, 0xa, 0x1, 0xf6}}, {{0x9, 0x5, 0x7, 0x1, 0x20, 0x1, 0x6, 0x87, [@generic={0x2, 0x23}]}}, {{0x9, 0x5, 0xe, 0x10, 0x1bb, 0xc5, 0x5, 0x2, [@generic={0x2, 0xa}]}}, {{0x9, 0x5, 0x8, 0x2, 0x200, 0xe, 0x4, 0x3, [@uac_iso={0x7, 0x25, 0x1, 0x81, 0x4, 0x1}]}}, {{0x9, 0x5, 0x0, 0x10, 0x3ff, 0xc6, 0x73, 0x8, [@generic={0x2, 0x4}]}}, {{0x9, 0x5, 0xe, 0x7, 0x40, 0x9, 0x7, 0x80, [@uac_iso={0x7, 0x25, 0x1, 0x0, 0x7}]}}, {{0x9, 0x5, 0x3, 0x4, 0x10, 0xf, 0x8d, 0x81}}]}}, {{0x9, 0x4, 0x0, 0x1, 0xb, 0x75, 0xec, 0x4f, 0x5, [@cdc_ecm={{0x5}, {0x5, 0x24, 0x0, 0x7}, {0xd, 0x24, 0xf, 0x1, 0xc0, 0x134, 0xa3f, 0x2}, [@mdlm_detail={0x4, 0x24, 0x13, 0xf9}, @acm={0x4, 0x24, 0x2, 0x2}, @dmm={0x7, 0x24, 0x14, 0x0, 0x4}]}], [{{0x9, 0x5, 0x6, 0x0, 0x40, 0x11, 0xf, 0x3, [@generic={0x2, 0x23}]}}, {{0x9, 0x5, 0x3, 0xc, 0x10, 0x4, 0xc, 0xb}}, {{0x9, 0x5, 0x3, 0x0, 0x40, 0x1, 0xf, 0x7}}, {{0x9, 0x5, 0x8, 0x0, 0x8, 0x7, 0x0, 0x7, [@generic={0x2, 0x11}, @uac_iso={0x7, 0x25, 0x1, 0x3, 0x9b, 0x9}]}}, {{0x9, 0x5, 0xe, 0x0, 0x20, 0x92, 0xb, 0x6, [@generic={0x2, 0xe}]}}, {{0x9, 0x5, 0x2, 0xcf3bef43991b8545, 0x200, 0xd, 0x40}}, {{0x9, 0x5, 0x7, 0x1, 0x20, 0x99, 0x28, 0x0, [@uac_iso={0x7, 0x25, 0x1, 0x3, 0x81, 0x8}, @uac_iso={0x7, 0x25, 0x1, 0x1, 0x4, 0x6}]}}, {{0x9, 0x5, 0xd, 0x0, 0x10, 0x80, 0x3, 0x2, [@generic={0x2, 0x7}, @generic={0x2, 0x20}]}}, {{0x9, 0x5, 0xd, 0x8, 0x8, 0x38, 0xfe, 0x9}}, {{0x9, 0x5, 0x1, 0x0, 0x20, 0x22, 0xd, 0xe, [@uac_iso={0x7, 0x25, 0x1, 0x1, 0xd, 0xf}, @generic={0x2, 0x5}]}}, {{0x9, 0x5, 0xf, 0x8, 0x400, 0xf, 0x40, 0x6}}]}}, {{0x9, 0x4, 0x36, 0xa, 0x5, 0x7, 0x60, 0xb9, 0x0, [], [{{0x9, 0x5, 0x0, 0x2, 0x3ff, 0x4, 0x3, 0x18}}, {{0x9, 0x5, 0xf, 0x10, 0x10, 0x9, 0xfd, 0xf, [@generic={0x2, 0x22}, @generic={0x2, 0x2}]}}, {{0x9, 0x5, 0xc, 0x4, 0x3ff, 0x5, 0x40, 0x45, [@uac_iso={0x7, 0x25, 0x1, 0x2, 0x1, 0x1}]}}, {{0x9, 0x5, 0x0, 0x1, 0x400, 0x0, 0x33, 0x4, [@uac_iso={0x7, 0x25, 0x1, 0x3, 0x4}]}}, {{0x9, 0x5, 0xf, 0x1, 0x0, 0x0, 0x4, 0x9, [@uac_iso={0x7, 0x25, 0x1, 0x81, 0x80, 0x1}, @generic={0x2, 0xa}]}}]}}, {{0x9, 0x4, 0x6c, 0x8, 0xa, 0xff, 0x4, 0x7a, 0x1f, [], [{{0x9, 0x5, 0x1, 0x0, 0x200, 0xa, 0x0, 0x5, [@generic={0x2, 0xd}, @generic={0x2, 0x7}]}}, {{0x9, 0x5, 0x0, 0xc, 0x20, 0x7f, 0x1, 0x81, [@generic={0x17, 0xe, "88f11d3f6d648e701e14340cf70ff3958d5e488c54"}, @uac_iso={0x7, 0x25, 0x1, 0x80, 0xb7, 0xff81}]}}, {{0x9, 0x5, 0x9, 0x1, 0x8, 0x1, 0x6, 0xe, [@uac_iso={0x7, 0x25, 0x1, 0x0, 0x46, 0x200}]}}, {{0x9, 0x5, 0x1a, 0x0, 0x10, 0x8, 0x5, 0x5, [@generic={0x2, 0x20}]}}, {{0x9, 0x5, 0x80, 0xc, 0x20, 0x8, 0x5, 0x66}}, {{0x9, 0x5, 0x5, 0x1, 0x8, 0x76, 0x1a, 0x0, [@generic={0x2, 0x1}, @generic={0x2, 0x23}]}}, {{0x9, 0x5, 0x5, 0x0, 0x20, 0xe, 0x4, 0x7}}, {{0x9, 0x5, 0x0, 0x10, 0x20, 0x37, 0xbf, 0xb}}, {{0x9, 0x5, 0x8, 0x8, 0x3d7, 0x26, 0x2, 0xc9}}, {{0x9, 0x5, 0xe, 0x0, 0x20, 0x9, 0x2e, 0xfb}}]}}]}}]}}, &(0x7f0000001180)={0x0, 0x0, 0x0, 0x0, 0x6, [{0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}]})
program crashed: KASAN: slab-use-after-free Read in hdm_disconnect
single: successfully extracted reproducer
found reproducer with 2 syscalls
minimizing guilty program
testing program (duration=30.781858419s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): ioctl$EVIOCGKEY
detailed listing:
executing program 0:
ioctl$EVIOCGKEY(0xffffffffffffffff, 0x80404518, 0x0)
program did not crash
testing program (duration=30.781858419s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect
detailed listing:
executing program 0:
syz_usb_connect(0x0, 0x2a4, &(0x7f0000000380)={{0x12, 0x1, 0x300, 0xb2, 0x55, 0xfa, 0x8, 0x424, 0xc001, 0x1c8f, 0x1, 0x2, 0x3, 0x1, [{{0x9, 0x2, 0x292, 0x4, 0x0, 0x1, 0x20, 0x6, [{{0x9, 0x4, 0xc7, 0xe, 0xf, 0xed, 0x77, 0x6, 0x2, [@uac_as, @cdc_ncm={{0x5}, {0x5}, {0xd, 0x24, 0xf, 0x1, 0x9a, 0x9a9, 0x4, 0x6}, {0x6, 0x24, 0x1a, 0x0, 0x2}, [@obex={0x5, 0x24, 0x15, 0x7}, @dmm={0x7, 0x24, 0x14, 0xb, 0x9}, @mbim_extended={0x8, 0x24, 0x1c, 0x8, 0xcd, 0x4e3}]}], [{{0x9, 0x5, 0xc, 0x10, 0x0, 0xf8, 0x9, 0x7}}, {{0x9, 0x5, 0x8, 0x2, 0x20, 0x0, 0xb, 0xc9, [@uac_iso={0x7, 0x25, 0x1, 0x3, 0x81, 0xebb8}]}}, {{0x9, 0x5, 0xa, 0x0, 0x20, 0xef, 0x9, 0x8}}, {{0x9, 0x5, 0x9, 0x10, 0x3bf, 0x1, 0x4, 0x2}}, {{0x9, 0x5, 0xa, 0xc, 0x400, 0x8, 0x10, 0x9, [@generic={0x2, 0xa}]}}, {{0x9, 0x5, 0x4ce12af02eac2600, 0x0, 0x200, 0xb, 0x1, 0x6, [@uac_iso={0x7, 0x25, 0x1, 0x4, 0x3, 0x7fff}]}}, {{0x9, 0x5, 0x8, 0x3, 0x8, 0x0, 0x8, 0x80, [@uac_iso={0x7, 0x25, 0x1, 0x82, 0x5, 0x1}]}}, {{0x9, 0x5, 0x9, 0xc, 0x10, 0x6, 0x1, 0x2}}, {{0x9, 0x5, 0x0, 0x2, 0x20, 0xa, 0x1, 0xf6}}, {{0x9, 0x5, 0x7, 0x1, 0x20, 0x1, 0x6, 0x87, [@generic={0x2, 0x23}]}}, {{0x9, 0x5, 0xe, 0x10, 0x1bb, 0xc5, 0x5, 0x2, [@generic={0x2, 0xa}]}}, {{0x9, 0x5, 0x8, 0x2, 0x200, 0xe, 0x4, 0x3, [@uac_iso={0x7, 0x25, 0x1, 0x81, 0x4, 0x1}]}}, {{0x9, 0x5, 0x0, 0x10, 0x3ff, 0xc6, 0x73, 0x8, [@generic={0x2, 0x4}]}}, {{0x9, 0x5, 0xe, 0x7, 0x40, 0x9, 0x7, 0x80, [@uac_iso={0x7, 0x25, 0x1, 0x0, 0x7}]}}, {{0x9, 0x5, 0x3, 0x4, 0x10, 0xf, 0x8d, 0x81}}]}}, {{0x9, 0x4, 0x0, 0x1, 0xb, 0x75, 0xec, 0x4f, 0x5, [@cdc_ecm={{0x5}, {0x5, 0x24, 0x0, 0x7}, {0xd, 0x24, 0xf, 0x1, 0xc0, 0x134, 0xa3f, 0x2}, [@mdlm_detail={0x4, 0x24, 0x13, 0xf9}, @acm={0x4, 0x24, 0x2, 0x2}, @dmm={0x7, 0x24, 0x14, 0x0, 0x4}]}], [{{0x9, 0x5, 0x6, 0x0, 0x40, 0x11, 0xf, 0x3, [@generic={0x2, 0x23}]}}, {{0x9, 0x5, 0x3, 0xc, 0x10, 0x4, 0xc, 0xb}}, {{0x9, 0x5, 0x3, 0x0, 0x40, 0x1, 0xf, 0x7}}, {{0x9, 0x5, 0x8, 0x0, 0x8, 0x7, 0x0, 0x7, [@generic={0x2, 0x11}, @uac_iso={0x7, 0x25, 0x1, 0x3, 0x9b, 0x9}]}}, {{0x9, 0x5, 0xe, 0x0, 0x20, 0x92, 0xb, 0x6, [@generic={0x2, 0xe}]}}, {{0x9, 0x5, 0x2, 0xcf3bef43991b8545, 0x200, 0xd, 0x40}}, {{0x9, 0x5, 0x7, 0x1, 0x20, 0x99, 0x28, 0x0, [@uac_iso={0x7, 0x25, 0x1, 0x3, 0x81, 0x8}, @uac_iso={0x7, 0x25, 0x1, 0x1, 0x4, 0x6}]}}, {{0x9, 0x5, 0xd, 0x0, 0x10, 0x80, 0x3, 0x2, [@generic={0x2, 0x7}, @generic={0x2, 0x20}]}}, {{0x9, 0x5, 0xd, 0x8, 0x8, 0x38, 0xfe, 0x9}}, {{0x9, 0x5, 0x1, 0x0, 0x20, 0x22, 0xd, 0xe, [@uac_iso={0x7, 0x25, 0x1, 0x1, 0xd, 0xf}, @generic={0x2, 0x5}]}}, {{0x9, 0x5, 0xf, 0x8, 0x400, 0xf, 0x40, 0x6}}]}}, {{0x9, 0x4, 0x36, 0xa, 0x5, 0x7, 0x60, 0xb9, 0x0, [], [{{0x9, 0x5, 0x0, 0x2, 0x3ff, 0x4, 0x3, 0x18}}, {{0x9, 0x5, 0xf, 0x10, 0x10, 0x9, 0xfd, 0xf, [@generic={0x2, 0x22}, @generic={0x2, 0x2}]}}, {{0x9, 0x5, 0xc, 0x4, 0x3ff, 0x5, 0x40, 0x45, [@uac_iso={0x7, 0x25, 0x1, 0x2, 0x1, 0x1}]}}, {{0x9, 0x5, 0x0, 0x1, 0x400, 0x0, 0x33, 0x4, [@uac_iso={0x7, 0x25, 0x1, 0x3, 0x4}]}}, {{0x9, 0x5, 0xf, 0x1, 0x0, 0x0, 0x4, 0x9, [@uac_iso={0x7, 0x25, 0x1, 0x81, 0x80, 0x1}, @generic={0x2, 0xa}]}}]}}, {{0x9, 0x4, 0x6c, 0x8, 0xa, 0xff, 0x4, 0x7a, 0x1f, [], [{{0x9, 0x5, 0x1, 0x0, 0x200, 0xa, 0x0, 0x5, [@generic={0x2, 0xd}, @generic={0x2, 0x7}]}}, {{0x9, 0x5, 0x0, 0xc, 0x20, 0x7f, 0x1, 0x81, [@generic={0x17, 0xe, "88f11d3f6d648e701e14340cf70ff3958d5e488c54"}, @uac_iso={0x7, 0x25, 0x1, 0x80, 0xb7, 0xff81}]}}, {{0x9, 0x5, 0x9, 0x1, 0x8, 0x1, 0x6, 0xe, [@uac_iso={0x7, 0x25, 0x1, 0x0, 0x46, 0x200}]}}, {{0x9, 0x5, 0x1a, 0x0, 0x10, 0x8, 0x5, 0x5, [@generic={0x2, 0x20}]}}, {{0x9, 0x5, 0x80, 0xc, 0x20, 0x8, 0x5, 0x66}}, {{0x9, 0x5, 0x5, 0x1, 0x8, 0x76, 0x1a, 0x0, [@generic={0x2, 0x1}, @generic={0x2, 0x23}]}}, {{0x9, 0x5, 0x5, 0x0, 0x20, 0xe, 0x4, 0x7}}, {{0x9, 0x5, 0x0, 0x10, 0x20, 0x37, 0xbf, 0xb}}, {{0x9, 0x5, 0x8, 0x8, 0x3d7, 0x26, 0x2, 0xc9}}, {{0x9, 0x5, 0xe, 0x0, 0x20, 0x9, 0x2e, 0xfb}}]}}]}}]}}, &(0x7f0000001180)={0x0, 0x0, 0x0, 0x0, 0x6, [{0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}]})
program crashed: KASAN: slab-use-after-free Read in hdm_disconnect
testing program (duration=30.781858419s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect
detailed listing:
executing program 0:
syz_usb_connect(0x0, 0x0, 0x0, &(0x7f0000001180)={0x0, 0x0, 0x0, 0x0, 0x6, [{0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}]})
program did not crash
testing program (duration=30.781858419s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect
detailed listing:
executing program 0:
syz_usb_connect(0x0, 0x21b, &(0x7f0000000380)={{0x12, 0x1, 0x300, 0xb2, 0x55, 0xfa, 0x8, 0x424, 0xc001, 0x1c8f, 0x1, 0x2, 0x3, 0x1, [{{0x9, 0x2, 0x209, 0x4, 0x0, 0x1, 0x20, 0x6, [{{0x9, 0x4, 0xc7, 0xe, 0xf, 0xed, 0x77, 0x6, 0x2, [@uac_as, @cdc_ncm={{0x5}, {0x5}, {0xd, 0x24, 0xf, 0x1, 0x9a, 0x9a9, 0x4, 0x6}, {0x6, 0x24, 0x1a, 0x0, 0x2}, [@obex={0x5, 0x24, 0x15, 0x7}, @dmm={0x7, 0x24, 0x14, 0xb, 0x9}, @mbim_extended={0x8, 0x24, 0x1c, 0x8, 0xcd, 0x4e3}]}], [{{0x9, 0x5, 0xc, 0x10, 0x0, 0xf8, 0x9, 0x7}}, {{0x9, 0x5, 0x8, 0x2, 0x20, 0x0, 0xb, 0xc9, [@uac_iso={0x7, 0x25, 0x1, 0x3, 0x81, 0xebb8}]}}, {{0x9, 0x5, 0xa, 0x0, 0x20, 0xef, 0x9, 0x8}}, {{0x9, 0x5, 0x9, 0x10, 0x3bf, 0x1, 0x4, 0x2}}, {{0x9, 0x5, 0xa, 0xc, 0x400, 0x8, 0x10, 0x9, [@generic={0x2, 0xa}]}}, {{0x9, 0x5, 0x4ce12af02eac2600, 0x0, 0x200, 0xb, 0x1, 0x6, [@uac_iso={0x7, 0x25, 0x1, 0x4, 0x3, 0x7fff}]}}, {{0x9, 0x5, 0x8, 0x3, 0x8, 0x0, 0x8, 0x80, [@uac_iso={0x7, 0x25, 0x1, 0x82, 0x5, 0x1}]}}, {{0x9, 0x5, 0x9, 0xc, 0x10, 0x6, 0x1, 0x2}}, {{0x9, 0x5, 0x0, 0x2, 0x20, 0xa, 0x1, 0xf6}}, {{0x9, 0x5, 0x7, 0x1, 0x20, 0x1, 0x6, 0x87, [@generic={0x2, 0x23}]}}, {{0x9, 0x5, 0xe, 0x10, 0x1bb, 0xc5, 0x5, 0x2, [@generic={0x2, 0xa}]}}, {{0x9, 0x5, 0x8, 0x2, 0x200, 0xe, 0x4, 0x3, [@uac_iso={0x7, 0x25, 0x1, 0x81, 0x4, 0x1}]}}, {{0x9, 0x5, 0x0, 0x10, 0x3ff, 0xc6, 0x73, 0x8, [@generic={0x2, 0x4}]}}, {{0x9, 0x5, 0xe, 0x7, 0x40, 0x9, 0x7, 0x80, [@uac_iso={0x7, 0x25, 0x1, 0x0, 0x7}]}}, {{0x9, 0x5, 0x3, 0x4, 0x10, 0xf, 0x8d, 0x81}}]}}, {{0x9, 0x4, 0x0, 0x1, 0xb, 0x75, 0xec, 0x4f, 0x5, [@cdc_ecm={{0x5}, {0x5, 0x24, 0x0, 0x7}, {0xd, 0x24, 0xf, 0x1, 0xc0, 0x134, 0xa3f, 0x2}, [@mdlm_detail={0x4, 0x24, 0x13, 0xf9}, @acm={0x4, 0x24, 0x2, 0x2}, @dmm={0x7, 0x24, 0x14, 0x0, 0x4}]}], [{{0x9, 0x5, 0x6, 0x0, 0x40, 0x11, 0xf, 0x3, [@generic={0x2, 0x23}]}}, {{0x9, 0x5, 0x3, 0xc, 0x10, 0x4, 0xc, 0xb}}, {{0x9, 0x5, 0x3, 0x0, 0x40, 0x1, 0xf, 0x7}}, {{0x9, 0x5, 0x8, 0x0, 0x8, 0x7, 0x0, 0x7, [@generic={0x2, 0x11}, @uac_iso={0x7, 0x25, 0x1, 0x3, 0x9b, 0x9}]}}, {{0x9, 0x5, 0xe, 0x0, 0x20, 0x92, 0xb, 0x6, [@generic={0x2, 0xe}]}}, {{0x9, 0x5, 0x2, 0xcf3bef43991b8545, 0x200, 0xd, 0x40}}, {{0x9, 0x5, 0x7, 0x1, 0x20, 0x99, 0x28, 0x0, [@uac_iso={0x7, 0x25, 0x1, 0x3, 0x81, 0x8}, @uac_iso={0x7, 0x25, 0x1, 0x1, 0x4, 0x6}]}}, {{0x9, 0x5, 0xd, 0x0, 0x10, 0x80, 0x3, 0x2, [@generic={0x2, 0x7}, @generic={0x2, 0x20}]}}, {{0x9, 0x5, 0xd, 0x8, 0x8, 0x38, 0xfe, 0x9}}, {{0x9, 0x5, 0x1, 0x0, 0x20, 0x22, 0xd, 0xe, [@uac_iso={0x7, 0x25, 0x1, 0x1, 0xd, 0xf}, @generic={0x2, 0x5}]}}, {{0x9, 0x5, 0xf, 0x8, 0x400, 0xf, 0x40, 0x6}}]}}, {{0x9, 0x4, 0x36, 0xa, 0x5, 0x7, 0x60, 0xb9, 0x0, [], [{{0x9, 0x5, 0x0, 0x2, 0x3ff, 0x4, 0x3, 0x18}}, {{0x9, 0x5, 0xf, 0x10, 0x10, 0x9, 0xfd, 0xf, [@generic={0x2, 0x22}, @generic={0x2, 0x2}]}}, {{0x9, 0x5, 0xc, 0x4, 0x3ff, 0x5, 0x40, 0x45, [@uac_iso={0x7, 0x25, 0x1, 0x2, 0x1, 0x1}]}}, {{0x9, 0x5, 0x0, 0x1, 0x400, 0x0, 0x33, 0x4, [@uac_iso={0x7, 0x25, 0x1, 0x3, 0x4}]}}, {{0x9, 0x5, 0xf, 0x1, 0x0, 0x0, 0x4, 0x9, [@uac_iso={0x7, 0x25, 0x1, 0x81, 0x80, 0x1}, @generic={0x2, 0xa}]}}]}}, {{0x9, 0x4, 0x6c, 0x8, 0x0, 0xff, 0x4, 0x7a, 0x1f}}]}}]}}, &(0x7f0000001180)={0x0, 0x0, 0x0, 0x0, 0x6, [{0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}]})
program crashed: KASAN: slab-use-after-free Read in hdm_disconnect
testing program (duration=30.781858419s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect
detailed listing:
executing program 0:
syz_usb_connect(0x0, 0x1d3, &(0x7f0000000380)={{0x12, 0x1, 0x300, 0xb2, 0x55, 0xfa, 0x8, 0x424, 0xc001, 0x1c8f, 0x1, 0x2, 0x3, 0x1, [{{0x9, 0x2, 0x1c1, 0x4, 0x0, 0x1, 0x20, 0x6, [{{0x9, 0x4, 0xc7, 0xe, 0xf, 0xed, 0x77, 0x6, 0x2, [@uac_as, @cdc_ncm={{0x5}, {0x5}, {0xd, 0x24, 0xf, 0x1, 0x9a, 0x9a9, 0x4, 0x6}, {0x6, 0x24, 0x1a, 0x0, 0x2}, [@obex={0x5, 0x24, 0x15, 0x7}, @dmm={0x7, 0x24, 0x14, 0xb, 0x9}, @mbim_extended={0x8, 0x24, 0x1c, 0x8, 0xcd, 0x4e3}]}], [{{0x9, 0x5, 0xc, 0x10, 0x0, 0xf8, 0x9, 0x7}}, {{0x9, 0x5, 0x8, 0x2, 0x20, 0x0, 0xb, 0xc9, [@uac_iso={0x7, 0x25, 0x1, 0x3, 0x81, 0xebb8}]}}, {{0x9, 0x5, 0xa, 0x0, 0x20, 0xef, 0x9, 0x8}}, {{0x9, 0x5, 0x9, 0x10, 0x3bf, 0x1, 0x4, 0x2}}, {{0x9, 0x5, 0xa, 0xc, 0x400, 0x8, 0x10, 0x9, [@generic={0x2, 0xa}]}}, {{0x9, 0x5, 0x4ce12af02eac2600, 0x0, 0x200, 0xb, 0x1, 0x6, [@uac_iso={0x7, 0x25, 0x1, 0x4, 0x3, 0x7fff}]}}, {{0x9, 0x5, 0x8, 0x3, 0x8, 0x0, 0x8, 0x80, [@uac_iso={0x7, 0x25, 0x1, 0x82, 0x5, 0x1}]}}, {{0x9, 0x5, 0x9, 0xc, 0x10, 0x6, 0x1, 0x2}}, {{0x9, 0x5, 0x0, 0x2, 0x20, 0xa, 0x1, 0xf6}}, {{0x9, 0x5, 0x7, 0x1, 0x20, 0x1, 0x6, 0x87, [@generic={0x2, 0x23}]}}, {{0x9, 0x5, 0xe, 0x10, 0x1bb, 0xc5, 0x5, 0x2, [@generic={0x2, 0xa}]}}, {{0x9, 0x5, 0x8, 0x2, 0x200, 0xe, 0x4, 0x3, [@uac_iso={0x7, 0x25, 0x1, 0x81, 0x4, 0x1}]}}, {{0x9, 0x5, 0x0, 0x10, 0x3ff, 0xc6, 0x73, 0x8, [@generic={0x2, 0x4}]}}, {{0x9, 0x5, 0xe, 0x7, 0x40, 0x9, 0x7, 0x80, [@uac_iso={0x7, 0x25, 0x1, 0x0, 0x7}]}}, {{0x9, 0x5, 0x3, 0x4, 0x10, 0xf, 0x8d, 0x81}}]}}, {{0x9, 0x4, 0x0, 0x1, 0xb, 0x75, 0xec, 0x4f, 0x5, [@cdc_ecm={{0x5}, {0x5, 0x24, 0x0, 0x7}, {0xd, 0x24, 0xf, 0x1, 0xc0, 0x134, 0xa3f, 0x2}, [@mdlm_detail={0x4, 0x24, 0x13, 0xf9}, @acm={0x4, 0x24, 0x2, 0x2}, @dmm={0x7, 0x24, 0x14, 0x0, 0x4}]}], [{{0x9, 0x5, 0x6, 0x0, 0x40, 0x11, 0xf, 0x3, [@generic={0x2, 0x23}]}}, {{0x9, 0x5, 0x3, 0xc, 0x10, 0x4, 0xc, 0xb}}, {{0x9, 0x5, 0x3, 0x0, 0x40, 0x1, 0xf, 0x7}}, {{0x9, 0x5, 0x8, 0x0, 0x8, 0x7, 0x0, 0x7, [@generic={0x2, 0x11}, @uac_iso={0x7, 0x25, 0x1, 0x3, 0x9b, 0x9}]}}, {{0x9, 0x5, 0xe, 0x0, 0x20, 0x92, 0xb, 0x6, [@generic={0x2, 0xe}]}}, {{0x9, 0x5, 0x2, 0xcf3bef43991b8545, 0x200, 0xd, 0x40}}, {{0x9, 0x5, 0x7, 0x1, 0x20, 0x99, 0x28, 0x0, [@uac_iso={0x7, 0x25, 0x1, 0x3, 0x81, 0x8}, @uac_iso={0x7, 0x25, 0x1, 0x1, 0x4, 0x6}]}}, {{0x9, 0x5, 0xd, 0x0, 0x10, 0x80, 0x3, 0x2, [@generic={0x2, 0x7}, @generic={0x2, 0x20}]}}, {{0x9, 0x5, 0xd, 0x8, 0x8, 0x38, 0xfe, 0x9}}, {{0x9, 0x5, 0x1, 0x0, 0x20, 0x22, 0xd, 0xe, [@uac_iso={0x7, 0x25, 0x1, 0x1, 0xd, 0xf}, @generic={0x2, 0x5}]}}, {{0x9, 0x5, 0xf, 0x8, 0x400, 0xf, 0x40, 0x6}}]}}, {{0x9, 0x4, 0x36, 0xa, 0x0, 0x7, 0x60, 0xb9}}, {{0x9, 0x4, 0x6c, 0x8, 0x0, 0xff, 0x4, 0x7a, 0x1f}}]}}]}}, &(0x7f0000001180)={0x0, 0x0, 0x0, 0x0, 0x6, [{0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}]})
program crashed: KASAN: slab-use-after-free Read in hdm_disconnect
testing program (duration=30.781858419s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect
detailed listing:
executing program 0:
syz_usb_connect(0x0, 0x1c4, &(0x7f0000000380)={{0x12, 0x1, 0x300, 0xb2, 0x55, 0xfa, 0x8, 0x424, 0xc001, 0x1c8f, 0x1, 0x2, 0x3, 0x1, [{{0x9, 0x2, 0x1b2, 0x4, 0x0, 0x1, 0x20, 0x6, [{{0x9, 0x4, 0xc7, 0xe, 0xf, 0xed, 0x77, 0x6, 0x2, [@uac_as, @cdc_ncm={{0x5}, {0x5}, {0xd, 0x24, 0xf, 0x1, 0x9a, 0x9a9, 0x4, 0x6}, {0x6, 0x24, 0x1a, 0x0, 0x2}, [@obex={0x5, 0x24, 0x15, 0x7}, @dmm={0x7, 0x24, 0x14, 0xb, 0x9}, @mbim_extended={0x8, 0x24, 0x1c, 0x8, 0xcd, 0x4e3}]}], [{{0x9, 0x5, 0xc, 0x10, 0x0, 0xf8, 0x9, 0x7}}, {{0x9, 0x5, 0x8, 0x2, 0x20, 0x0, 0xb, 0xc9, [@uac_iso={0x7, 0x25, 0x1, 0x3, 0x81, 0xebb8}]}}, {{0x9, 0x5, 0xa, 0x0, 0x20, 0xef, 0x9, 0x8}}, {{0x9, 0x5, 0x9, 0x10, 0x3bf, 0x1, 0x4, 0x2}}, {{0x9, 0x5, 0xa, 0xc, 0x400, 0x8, 0x10, 0x9, [@generic={0x2, 0xa}]}}, {{0x9, 0x5, 0x4ce12af02eac2600, 0x0, 0x200, 0xb, 0x1, 0x6, [@uac_iso={0x7, 0x25, 0x1, 0x4, 0x3, 0x7fff}]}}, {{0x9, 0x5, 0x8, 0x3, 0x8, 0x0, 0x8, 0x80, [@uac_iso={0x7, 0x25, 0x1, 0x82, 0x5, 0x1}]}}, {{0x9, 0x5, 0x9, 0xc, 0x10, 0x6, 0x1, 0x2}}, {{0x9, 0x5, 0x0, 0x2, 0x20, 0xa, 0x1, 0xf6}}, {{0x9, 0x5, 0x7, 0x1, 0x20, 0x1, 0x6, 0x87, [@generic={0x2, 0x23}]}}, {{0x9, 0x5, 0xe, 0x10, 0x1bb, 0xc5, 0x5, 0x2, [@generic={0x2, 0xa}]}}, {{0x9, 0x5, 0x8, 0x2, 0x200, 0xe, 0x4, 0x3, [@uac_iso={0x7, 0x25, 0x1, 0x81, 0x4, 0x1}]}}, {{0x9, 0x5, 0x0, 0x10, 0x3ff, 0xc6, 0x73, 0x8, [@generic={0x2, 0x4}]}}, {{0x9, 0x5, 0xe, 0x7, 0x40, 0x9, 0x7, 0x80, [@uac_iso={0x7, 0x25, 0x1, 0x0, 0x7}]}}, {{0x9, 0x5, 0x3, 0x4, 0x10, 0xf, 0x8d, 0x81}}]}}, {{0x9, 0x4, 0x0, 0x1, 0xb, 0x75, 0xec, 0x4f, 0x5, [@cdc_ecm={{0x5}, {0x5, 0x24, 0x0, 0x7}, {0xd, 0x24, 0xf, 0x1, 0xc0, 0x134, 0xa3f, 0x2}}], [{{0x9, 0x5, 0x6, 0x0, 0x40, 0x11, 0xf, 0x3, [@generic={0x2, 0x23}]}}, {{0x9, 0x5, 0x3, 0xc, 0x10, 0x4, 0xc, 0xb}}, {{0x9, 0x5, 0x3, 0x0, 0x40, 0x1, 0xf, 0x7}}, {{0x9, 0x5, 0x8, 0x0, 0x8, 0x7, 0x0, 0x7, [@generic={0x2, 0x11}, @uac_iso={0x7, 0x25, 0x1, 0x3, 0x9b, 0x9}]}}, {{0x9, 0x5, 0xe, 0x0, 0x20, 0x92, 0xb, 0x6, [@generic={0x2, 0xe}]}}, {{0x9, 0x5, 0x2, 0xcf3bef43991b8545, 0x200, 0xd, 0x40}}, {{0x9, 0x5, 0x7, 0x1, 0x20, 0x99, 0x28, 0x0, [@uac_iso={0x7, 0x25, 0x1, 0x3, 0x81, 0x8}, @uac_iso={0x7, 0x25, 0x1, 0x1, 0x4, 0x6}]}}, {{0x9, 0x5, 0xd, 0x0, 0x10, 0x80, 0x3, 0x2, [@generic={0x2, 0x7}, @generic={0x2, 0x20}]}}, {{0x9, 0x5, 0xd, 0x8, 0x8, 0x38, 0xfe, 0x9}}, {{0x9, 0x5, 0x1, 0x0, 0x20, 0x22, 0xd, 0xe, [@uac_iso={0x7, 0x25, 0x1, 0x1, 0xd, 0xf}, @generic={0x2, 0x5}]}}, {{0x9, 0x5, 0xf, 0x8, 0x400, 0xf, 0x40, 0x6}}]}}, {{0x9, 0x4, 0x36, 0xa, 0x0, 0x7, 0x60, 0xb9}}, {{0x9, 0x4, 0x6c, 0x8, 0x0, 0xff, 0x4, 0x7a, 0x1f}}]}}]}}, &(0x7f0000001180)={0x0, 0x0, 0x0, 0x0, 0x6, [{0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}]})
program crashed: KASAN: slab-use-after-free Read in hdm_disconnect
testing program (duration=30.781858419s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect
detailed listing:
executing program 0:
syz_usb_connect(0x0, 0x139, &(0x7f0000000380)={{0x12, 0x1, 0x300, 0xb2, 0x55, 0xfa, 0x8, 0x424, 0xc001, 0x1c8f, 0x1, 0x2, 0x3, 0x1, [{{0x9, 0x2, 0x127, 0x4, 0x0, 0x1, 0x20, 0x6, [{{0x9, 0x4, 0xc7, 0xe, 0xf, 0xed, 0x77, 0x6, 0x2, [@uac_as, @cdc_ncm={{0x5}, {0x5}, {0xd, 0x24, 0xf, 0x1, 0x9a, 0x9a9, 0x4, 0x6}, {0x6, 0x24, 0x1a, 0x0, 0x2}, [@obex={0x5, 0x24, 0x15, 0x7}, @dmm={0x7, 0x24, 0x14, 0xb, 0x9}, @mbim_extended={0x8, 0x24, 0x1c, 0x8, 0xcd, 0x4e3}]}], [{{0x9, 0x5, 0xc, 0x10, 0x0, 0xf8, 0x9, 0x7}}, {{0x9, 0x5, 0x8, 0x2, 0x20, 0x0, 0xb, 0xc9, [@uac_iso={0x7, 0x25, 0x1, 0x3, 0x81, 0xebb8}]}}, {{0x9, 0x5, 0xa, 0x0, 0x20, 0xef, 0x9, 0x8}}, {{0x9, 0x5, 0x9, 0x10, 0x3bf, 0x1, 0x4, 0x2}}, {{0x9, 0x5, 0xa, 0xc, 0x400, 0x8, 0x10, 0x9, [@generic={0x2, 0xa}]}}, {{0x9, 0x5, 0x4ce12af02eac2600, 0x0, 0x200, 0xb, 0x1, 0x6, [@uac_iso={0x7, 0x25, 0x1, 0x4, 0x3, 0x7fff}]}}, {{0x9, 0x5, 0x8, 0x3, 0x8, 0x0, 0x8, 0x80, [@uac_iso={0x7, 0x25, 0x1, 0x82, 0x5, 0x1}]}}, {{0x9, 0x5, 0x9, 0xc, 0x10, 0x6, 0x1, 0x2}}, {{0x9, 0x5, 0x0, 0x2, 0x20, 0xa, 0x1, 0xf6}}, {{0x9, 0x5, 0x7, 0x1, 0x20, 0x1, 0x6, 0x87, [@generic={0x2, 0x23}]}}, {{0x9, 0x5, 0xe, 0x10, 0x1bb, 0xc5, 0x5, 0x2, [@generic={0x2, 0xa}]}}, {{0x9, 0x5, 0x8, 0x2, 0x200, 0xe, 0x4, 0x3, [@uac_iso={0x7, 0x25, 0x1, 0x81, 0x4, 0x1}]}}, {{0x9, 0x5, 0x0, 0x10, 0x3ff, 0xc6, 0x73, 0x8, [@generic={0x2, 0x4}]}}, {{0x9, 0x5, 0xe, 0x7, 0x40, 0x9, 0x7, 0x80, [@uac_iso={0x7, 0x25, 0x1, 0x0, 0x7}]}}, {{0x9, 0x5, 0x3, 0x4, 0x10, 0xf, 0x8d, 0x81}}]}}, {{0x9, 0x4, 0x0, 0x1, 0x0, 0x75, 0xec, 0x4f, 0x5, [@cdc_ecm={{0x5}, {0x5, 0x24, 0x0, 0x7}, {0xd, 0x24, 0xf, 0x1, 0xc0, 0x134, 0xa3f, 0x2}}]}}, {{0x9, 0x4, 0x36, 0xa, 0x0, 0x7, 0x60, 0xb9}}, {{0x9, 0x4, 0x6c, 0x8, 0x0, 0xff, 0x4, 0x7a, 0x1f}}]}}]}}, &(0x7f0000001180)={0x0, 0x0, 0x0, 0x0, 0x6, [{0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}]})
program crashed: KASAN: slab-use-after-free Read in hdm_disconnect
testing program (duration=30.781858419s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect
detailed listing:
executing program 0:
syz_usb_connect(0x0, 0x125, &(0x7f0000000380)={{0x12, 0x1, 0x300, 0xb2, 0x55, 0xfa, 0x8, 0x424, 0xc001, 0x1c8f, 0x1, 0x2, 0x3, 0x1, [{{0x9, 0x2, 0x113, 0x4, 0x0, 0x1, 0x20, 0x6, [{{0x9, 0x4, 0xc7, 0xe, 0xf, 0xed, 0x77, 0x6, 0x2, [@uac_as, @cdc_ncm={{0x5}, {0x5}, {0xd, 0x24, 0xf, 0x1, 0x9a, 0x9a9, 0x4, 0x6}, {0x6, 0x24, 0x1a, 0x0, 0x2}}], [{{0x9, 0x5, 0xc, 0x10, 0x0, 0xf8, 0x9, 0x7}}, {{0x9, 0x5, 0x8, 0x2, 0x20, 0x0, 0xb, 0xc9, [@uac_iso={0x7, 0x25, 0x1, 0x3, 0x81, 0xebb8}]}}, {{0x9, 0x5, 0xa, 0x0, 0x20, 0xef, 0x9, 0x8}}, {{0x9, 0x5, 0x9, 0x10, 0x3bf, 0x1, 0x4, 0x2}}, {{0x9, 0x5, 0xa, 0xc, 0x400, 0x8, 0x10, 0x9, [@generic={0x2, 0xa}]}}, {{0x9, 0x5, 0x4ce12af02eac2600, 0x0, 0x200, 0xb, 0x1, 0x6, [@uac_iso={0x7, 0x25, 0x1, 0x4, 0x3, 0x7fff}]}}, {{0x9, 0x5, 0x8, 0x3, 0x8, 0x0, 0x8, 0x80, [@uac_iso={0x7, 0x25, 0x1, 0x82, 0x5, 0x1}]}}, {{0x9, 0x5, 0x9, 0xc, 0x10, 0x6, 0x1, 0x2}}, {{0x9, 0x5, 0x0, 0x2, 0x20, 0xa, 0x1, 0xf6}}, {{0x9, 0x5, 0x7, 0x1, 0x20, 0x1, 0x6, 0x87, [@generic={0x2, 0x23}]}}, {{0x9, 0x5, 0xe, 0x10, 0x1bb, 0xc5, 0x5, 0x2, [@generic={0x2, 0xa}]}}, {{0x9, 0x5, 0x8, 0x2, 0x200, 0xe, 0x4, 0x3, [@uac_iso={0x7, 0x25, 0x1, 0x81, 0x4, 0x1}]}}, {{0x9, 0x5, 0x0, 0x10, 0x3ff, 0xc6, 0x73, 0x8, [@generic={0x2, 0x4}]}}, {{0x9, 0x5, 0xe, 0x7, 0x40, 0x9, 0x7, 0x80, [@uac_iso={0x7, 0x25, 0x1, 0x0, 0x7}]}}, {{0x9, 0x5, 0x3, 0x4, 0x10, 0xf, 0x8d, 0x81}}]}}, {{0x9, 0x4, 0x0, 0x1, 0x0, 0x75, 0xec, 0x4f, 0x5, [@cdc_ecm={{0x5}, {0x5, 0x24, 0x0, 0x7}, {0xd, 0x24, 0xf, 0x1, 0xc0, 0x134, 0xa3f, 0x2}}]}}, {{0x9, 0x4, 0x36, 0xa, 0x0, 0x7, 0x60, 0xb9}}, {{0x9, 0x4, 0x6c, 0x8, 0x0, 0xff, 0x4, 0x7a, 0x1f}}]}}]}}, &(0x7f0000001180)={0x0, 0x0, 0x0, 0x0, 0x6, [{0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}]})
program crashed: KASAN: slab-use-after-free Read in hdm_disconnect
testing program (duration=30.781858419s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect
detailed listing:
executing program 0:
syz_usb_connect(0x0, 0x73, &(0x7f0000000380)={{0x12, 0x1, 0x300, 0xb2, 0x55, 0xfa, 0x8, 0x424, 0xc001, 0x1c8f, 0x1, 0x2, 0x3, 0x1, [{{0x9, 0x2, 0x61, 0x4, 0x0, 0x1, 0x20, 0x6, [{{0x9, 0x4, 0xc7, 0xe, 0x0, 0xed, 0x77, 0x6, 0x2, [@uac_as, @cdc_ncm={{0x5}, {0x5}, {0xd, 0x24, 0xf, 0x1, 0x9a, 0x9a9, 0x4, 0x6}, {0x6, 0x24, 0x1a, 0x0, 0x2}}]}}, {{0x9, 0x4, 0x0, 0x1, 0x0, 0x75, 0xec, 0x4f, 0x5, [@cdc_ecm={{0x5}, {0x5, 0x24, 0x0, 0x7}, {0xd, 0x24, 0xf, 0x1, 0xc0, 0x134, 0xa3f, 0x2}}]}}, {{0x9, 0x4, 0x36, 0xa, 0x0, 0x7, 0x60, 0xb9}}, {{0x9, 0x4, 0x6c, 0x8, 0x0, 0xff, 0x4, 0x7a, 0x1f}}]}}]}}, &(0x7f0000001180)={0x0, 0x0, 0x0, 0x0, 0x6, [{0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}]})
program crashed: KASAN: slab-use-after-free Read in hdm_disconnect
testing program (duration=30.781858419s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect
detailed listing:
executing program 0:
syz_usb_connect(0x0, 0x73, &(0x7f0000000380)={{0x12, 0x1, 0x300, 0xb2, 0x55, 0xfa, 0x8, 0x424, 0xc001, 0x1c8f, 0x1, 0x2, 0x3, 0x1, [{{0x9, 0x2, 0x61, 0x4, 0x0, 0x1, 0x20, 0x6, [{{0x9, 0x4, 0xc7, 0xe, 0x0, 0xed, 0x77, 0x6, 0x2, [@uac_as, @cdc_ncm={{0x5}, {0x5}, {0xd, 0x24, 0xf, 0x1, 0x9a, 0x9a9, 0x4, 0x6}, {0x6, 0x24, 0x1a, 0x0, 0x2}}]}}, {{0x9, 0x4, 0x0, 0x1, 0x0, 0x75, 0xec, 0x4f, 0x5, [@cdc_ecm={{0x5}, {0x5, 0x24, 0x0, 0x7}, {0xd, 0x24, 0xf, 0x1, 0xc0, 0x134, 0xa3f, 0x2}}]}}, {{0x9, 0x4, 0x36, 0xa, 0x0, 0x7, 0x60, 0xb9}}, {{0x9, 0x4, 0x6c, 0x8, 0x0, 0xff, 0x4, 0x7a, 0x1f}}]}}]}}, 0x0)
program did not crash
testing program (duration=30.781858419s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect
detailed listing:
executing program 0:
syz_usb_connect(0x0, 0x73, &(0x7f0000000380)={{0x12, 0x1, 0x300, 0xb2, 0x55, 0xfa, 0x8, 0x424, 0xc001, 0x1c8f, 0x1, 0x2, 0x3, 0x1, [{{0x9, 0x2, 0x61, 0x4, 0x0, 0x1, 0x20, 0x6, [{{0x9, 0x4, 0xc7, 0xe, 0x0, 0xed, 0x77, 0x6, 0x2, [@uac_as, @cdc_ncm={{0x5}, {0x5}, {0xd, 0x24, 0xf, 0x1, 0x9a, 0x9a9, 0x4, 0x6}, {0x6, 0x24, 0x1a, 0x0, 0x2}}]}}, {{0x9, 0x4, 0x0, 0x1, 0x0, 0x75, 0xec, 0x4f, 0x5, [@cdc_ecm={{0x5}, {0x5, 0x24, 0x0, 0x7}, {0xd, 0x24, 0xf, 0x1, 0xc0, 0x134, 0xa3f, 0x2}}]}}, {{0x9, 0x4, 0x36, 0xa, 0x0, 0x7, 0x60, 0xb9}}, {{0x9, 0x4, 0x6c, 0x8, 0x0, 0xff, 0x4, 0x7a, 0x1f}}]}}]}}, &(0x7f0000001180)={0x0, 0x0, 0x0, 0x0})
program crashed: KASAN: slab-use-after-free Read in hdm_disconnect
extracting C reproducer
testing compiled C program (duration=30.781858419s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect
program crashed: KASAN: slab-use-after-free Read in hdm_disconnect
simplifying C reproducer
testing compiled C program (duration=30.781858419s, {Threaded:false Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect
program crashed: KASAN: slab-use-after-free Read in hdm_disconnect
testing compiled C program (duration=30.781858419s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:false Cgroups:false BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect
program crashed: KASAN: slab-use-after-free Read in hdm_disconnect
testing compiled C program (duration=30.781858419s, {Threaded:false Repeat:false 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:true Sysctl:true Swap:false UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect
program crashed: KASAN: slab-use-after-free Read in hdm_disconnect
testing compiled C program (duration=30.781858419s, {Threaded:false Repeat:false 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 LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect
program crashed: KASAN: slab-use-after-free Read in hdm_disconnect
testing compiled C program (duration=30.781858419s, {Threaded:false Repeat:false 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 LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect
program crashed: KASAN: slab-use-after-free Read in hdm_disconnect
testing compiled C program (duration=30.781858419s, {Threaded:false Repeat:false 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 LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect
program crashed: KASAN: slab-use-after-free Read in hdm_disconnect
testing compiled C program (duration=30.781858419s, {Threaded:false Repeat:false 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 LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect
program crashed: KASAN: slab-use-after-free Read in hdm_disconnect
reproducing took 11m15.273166636s
repro crashed as (corrupted=false):
usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 5-1: Product: syz
usb 5-1: Manufacturer: syz
usb 5-1: SerialNumber: syz
usb 5-1: config 0 descriptor??
usb 5-1: USB disconnect, device number 2
==================================================================
BUG: KASAN: slab-use-after-free in hdm_disconnect+0x227/0x250 drivers/most/most_usb.c:1125
Read of size 8 at addr ffff8880251f1898 by task kworker/1:0/29
CPU: 1 UID: 0 PID: 29 Comm: kworker/1:0 Not tainted 6.14.0-syzkaller-12886-ga1b5bd45d4ee #0 PREEMPT(full)
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
Workqueue: usb_hub_wq hub_event
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120
print_address_description mm/kasan/report.c:408 [inline]
print_report+0xc3/0x670 mm/kasan/report.c:521
kasan_report+0xe0/0x110 mm/kasan/report.c:634
hdm_disconnect+0x227/0x250 drivers/most/most_usb.c:1125
usb_unbind_interface+0x1da/0x9a0 drivers/usb/core/driver.c:458
device_remove drivers/base/dd.c:569 [inline]
device_remove+0x122/0x170 drivers/base/dd.c:561
__device_release_driver drivers/base/dd.c:1273 [inline]
device_release_driver_internal+0x44b/0x620 drivers/base/dd.c:1296
bus_remove_device+0x22f/0x420 drivers/base/bus.c:579
device_del+0x396/0x9f0 drivers/base/core.c:3855
usb_disable_device+0x355/0x7d0 drivers/usb/core/message.c:1418
usb_disconnect+0x2e1/0x920 drivers/usb/core/hub.c:2316
hub_port_connect drivers/usb/core/hub.c:5371 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5671 [inline]
port_event drivers/usb/core/hub.c:5831 [inline]
hub_event+0x1c57/0x4fa0 drivers/usb/core/hub.c:5913
process_one_work+0x9cc/0x1b70 kernel/workqueue.c:3238
process_scheduled_works kernel/workqueue.c:3319 [inline]
worker_thread+0x6c8/0xf10 kernel/workqueue.c:3400
kthread+0x3c2/0x780 kernel/kthread.c:464
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:153
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Allocated by task 29:
kasan_save_stack+0x33/0x60 mm/kasan/common.c:47
kasan_save_track+0x14/0x30 mm/kasan/common.c:68
poison_kmalloc_redzone mm/kasan/common.c:377 [inline]
__kasan_kmalloc+0xaa/0xb0 mm/kasan/common.c:394
kmalloc_noprof include/linux/slab.h:905 [inline]
kzalloc_noprof include/linux/slab.h:1039 [inline]
hdm_probe+0xb3/0x19a0 drivers/most/most_usb.c:959
usb_probe_interface+0x300/0x9c0 drivers/usb/core/driver.c:396
call_driver_probe drivers/base/dd.c:579 [inline]
really_probe+0x23e/0xa90 drivers/base/dd.c:658
__driver_probe_device+0x1de/0x440 drivers/base/dd.c:800
driver_probe_device+0x4c/0x1b0 drivers/base/dd.c:830
__device_attach_driver+0x1df/0x310 drivers/base/dd.c:958
bus_for_each_drv+0x156/0x1e0 drivers/base/bus.c:462
__device_attach+0x1e4/0x4b0 drivers/base/dd.c:1030
bus_probe_device+0x17f/0x1c0 drivers/base/bus.c:537
device_add+0x1148/0x1a70 drivers/base/core.c:3666
usb_set_configuration+0x1187/0x1e20 drivers/usb/core/message.c:2210
usb_generic_driver_probe+0xb1/0x110 drivers/usb/core/generic.c:250
usb_probe_device+0xec/0x3e0 drivers/usb/core/driver.c:291
call_driver_probe drivers/base/dd.c:579 [inline]
really_probe+0x23e/0xa90 drivers/base/dd.c:658
__driver_probe_device+0x1de/0x440 drivers/base/dd.c:800
driver_probe_device+0x4c/0x1b0 drivers/base/dd.c:830
__device_attach_driver+0x1df/0x310 drivers/base/dd.c:958
bus_for_each_drv+0x156/0x1e0 drivers/base/bus.c:462
__device_attach+0x1e4/0x4b0 drivers/base/dd.c:1030
bus_probe_device+0x17f/0x1c0 drivers/base/bus.c:537
device_add+0x1148/0x1a70 drivers/base/core.c:3666
usb_new_device+0xd07/0x1a20 drivers/usb/core/hub.c:2663
hub_port_connect drivers/usb/core/hub.c:5531 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5671 [inline]
port_event drivers/usb/core/hub.c:5831 [inline]
hub_event+0x2eb7/0x4fa0 drivers/usb/core/hub.c:5913
process_one_work+0x9cc/0x1b70 kernel/workqueue.c:3238
process_scheduled_works kernel/workqueue.c:3319 [inline]
worker_thread+0x6c8/0xf10 kernel/workqueue.c:3400
kthread+0x3c2/0x780 kernel/kthread.c:464
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:153
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Freed by task 29:
kasan_save_stack+0x33/0x60 mm/kasan/common.c:47
kasan_save_track+0x14/0x30 mm/kasan/common.c:68
kasan_save_free_info+0x3b/0x60 mm/kasan/generic.c:576
poison_slab_object mm/kasan/common.c:247 [inline]
__kasan_slab_free+0x51/0x70 mm/kasan/common.c:264
kasan_slab_free include/linux/kasan.h:233 [inline]
slab_free_hook mm/slub.c:2389 [inline]
slab_free mm/slub.c:4646 [inline]
kfree+0x2b6/0x4d0 mm/slub.c:4845
device_release+0xa1/0x240 drivers/base/core.c:2568
kobject_cleanup lib/kobject.c:689 [inline]
kobject_release lib/kobject.c:720 [inline]
kref_put include/linux/kref.h:65 [inline]
kobject_put+0x1e4/0x5a0 lib/kobject.c:737
put_device drivers/base/core.c:3774 [inline]
device_unregister+0x2f/0xc0 drivers/base/core.c:3897
hdm_disconnect+0x10b/0x250 drivers/most/most_usb.c:1123
usb_unbind_interface+0x1da/0x9a0 drivers/usb/core/driver.c:458
device_remove drivers/base/dd.c:569 [inline]
device_remove+0x122/0x170 drivers/base/dd.c:561
__device_release_driver drivers/base/dd.c:1273 [inline]
device_release_driver_internal+0x44b/0x620 drivers/base/dd.c:1296
bus_remove_device+0x22f/0x420 drivers/base/bus.c:579
device_del+0x396/0x9f0 drivers/base/core.c:3855
usb_disable_device+0x355/0x7d0 drivers/usb/core/message.c:1418
usb_disconnect+0x2e1/0x920 drivers/usb/core/hub.c:2316
hub_port_connect drivers/usb/core/hub.c:5371 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5671 [inline]
port_event drivers/usb/core/hub.c:5831 [inline]
hub_event+0x1c57/0x4fa0 drivers/usb/core/hub.c:5913
process_one_work+0x9cc/0x1b70 kernel/workqueue.c:3238
process_scheduled_works kernel/workqueue.c:3319 [inline]
worker_thread+0x6c8/0xf10 kernel/workqueue.c:3400
kthread+0x3c2/0x780 kernel/kthread.c:464
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:153
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
The buggy address belongs to the object at ffff8880251f0000
which belongs to the cache kmalloc-8k of size 8192
The buggy address is located 6296 bytes inside of
freed 8192-byte region [ffff8880251f0000, ffff8880251f2000)
The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x251f0
head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
anon flags: 0xfff00000000040(head|node=0|zone=1|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 00fff00000000040 ffff88801b443180 ffffea0000c7e400 dead000000000005
raw: 0000000000000000 0000000000020002 00000000f5000000 0000000000000000
head: 00fff00000000040 ffff88801b443180 ffffea0000c7e400 dead000000000005
head: 0000000000000000 0000000000020002 00000000f5000000 0000000000000000
head: 00fff00000000003 ffffea0000947c01 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 0xd2040(__GFP_IO|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 5664, tgid 5664 (dhcpcd-run-hook), ts 25356826725, free_ts 25317287958
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x181/0x1b0 mm/page_alloc.c:1717
prep_new_page mm/page_alloc.c:1725 [inline]
get_page_from_freelist+0x1193/0x39b0 mm/page_alloc.c:3652
__alloc_frozen_pages_noprof+0x263/0x2370 mm/page_alloc.c:4934
alloc_pages_mpol+0x1fb/0x550 mm/mempolicy.c:2301
alloc_slab_page mm/slub.c:2459 [inline]
allocate_slab mm/slub.c:2623 [inline]
new_slab+0x23c/0x330 mm/slub.c:2676
___slab_alloc+0xd9c/0x1940 mm/slub.c:3862
__slab_alloc.constprop.0+0x56/0xb0 mm/slub.c:3952
__slab_alloc_node mm/slub.c:4027 [inline]
slab_alloc_node mm/slub.c:4188 [inline]
__kmalloc_cache_noprof+0xfb/0x3e0 mm/slub.c:4357
kmalloc_noprof include/linux/slab.h:905 [inline]
kzalloc_noprof include/linux/slab.h:1039 [inline]
tomoyo_print_bprm security/tomoyo/audit.c:26 [inline]
tomoyo_init_log+0xc8a/0x2140 security/tomoyo/audit.c:264
tomoyo_supervisor+0x302/0x13b0 security/tomoyo/common.c:2198
tomoyo_audit_env_log security/tomoyo/environ.c:36 [inline]
tomoyo_env_perm+0x191/0x200 security/tomoyo/environ.c:63
tomoyo_environ security/tomoyo/domain.c:672 [inline]
tomoyo_find_next_domain+0xec2/0x20b0 security/tomoyo/domain.c:888
tomoyo_bprm_check_security security/tomoyo/tomoyo.c:102 [inline]
tomoyo_bprm_check_security+0x12e/0x1d0 security/tomoyo/tomoyo.c:92
security_bprm_check+0x1b9/0x1e0 security/security.c:1302
search_binary_handler fs/exec.c:1768 [inline]
exec_binprm fs/exec.c:1810 [inline]
bprm_execve fs/exec.c:1862 [inline]
bprm_execve+0x7c1/0x1600 fs/exec.c:1838
do_execveat_common.isra.0+0x4a5/0x610 fs/exec.c:1967
page last free pid 5661 tgid 5661 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1262 [inline]
__free_frozen_pages+0x69d/0xff0 mm/page_alloc.c:2680
discard_slab mm/slub.c:2720 [inline]
__put_partials+0x16d/0x1c0 mm/slub.c:3189
qlink_free mm/kasan/quarantine.c:163 [inline]
qlist_free_all+0x4e/0x120 mm/kasan/quarantine.c:179
kasan_quarantine_reduce+0x195/0x1e0 mm/kasan/quarantine.c:286
__kasan_slab_alloc+0x69/0x90 mm/kasan/common.c:329
kasan_slab_alloc include/linux/kasan.h:250 [inline]
slab_post_alloc_hook mm/slub.c:4151 [inline]
slab_alloc_node mm/slub.c:4200 [inline]
kmem_cache_alloc_noprof+0x1cb/0x3b0 mm/slub.c:4207
getname_flags.part.0+0x48/0x540 fs/namei.c:146
getname_flags+0x93/0xf0 include/linux/audit.h:322
getname include/linux/fs.h:2852 [inline]
do_sys_openat2+0xb8/0x1d0 fs/open.c:1423
do_sys_open fs/open.c:1444 [inline]
__do_sys_openat fs/open.c:1460 [inline]
__se_sys_openat fs/open.c:1455 [inline]
__x64_sys_openat+0x174/0x210 fs/open.c:1455
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xcd/0x260 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
Memory state around the buggy address:
ffff8880251f1780: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
ffff8880251f1800: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
>ffff8880251f1880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
^
ffff8880251f1900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
ffff8880251f1980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
==================================================================
final repro crashed as (corrupted=false):
usb 5-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 5-1: Product: syz
usb 5-1: Manufacturer: syz
usb 5-1: SerialNumber: syz
usb 5-1: config 0 descriptor??
usb 5-1: USB disconnect, device number 2
==================================================================
BUG: KASAN: slab-use-after-free in hdm_disconnect+0x227/0x250 drivers/most/most_usb.c:1125
Read of size 8 at addr ffff8880251f1898 by task kworker/1:0/29
CPU: 1 UID: 0 PID: 29 Comm: kworker/1:0 Not tainted 6.14.0-syzkaller-12886-ga1b5bd45d4ee #0 PREEMPT(full)
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
Workqueue: usb_hub_wq hub_event
Call Trace:
__dump_stack lib/dump_stack.c:94 [inline]
dump_stack_lvl+0x116/0x1f0 lib/dump_stack.c:120
print_address_description mm/kasan/report.c:408 [inline]
print_report+0xc3/0x670 mm/kasan/report.c:521
kasan_report+0xe0/0x110 mm/kasan/report.c:634
hdm_disconnect+0x227/0x250 drivers/most/most_usb.c:1125
usb_unbind_interface+0x1da/0x9a0 drivers/usb/core/driver.c:458
device_remove drivers/base/dd.c:569 [inline]
device_remove+0x122/0x170 drivers/base/dd.c:561
__device_release_driver drivers/base/dd.c:1273 [inline]
device_release_driver_internal+0x44b/0x620 drivers/base/dd.c:1296
bus_remove_device+0x22f/0x420 drivers/base/bus.c:579
device_del+0x396/0x9f0 drivers/base/core.c:3855
usb_disable_device+0x355/0x7d0 drivers/usb/core/message.c:1418
usb_disconnect+0x2e1/0x920 drivers/usb/core/hub.c:2316
hub_port_connect drivers/usb/core/hub.c:5371 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5671 [inline]
port_event drivers/usb/core/hub.c:5831 [inline]
hub_event+0x1c57/0x4fa0 drivers/usb/core/hub.c:5913
process_one_work+0x9cc/0x1b70 kernel/workqueue.c:3238
process_scheduled_works kernel/workqueue.c:3319 [inline]
worker_thread+0x6c8/0xf10 kernel/workqueue.c:3400
kthread+0x3c2/0x780 kernel/kthread.c:464
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:153
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Allocated by task 29:
kasan_save_stack+0x33/0x60 mm/kasan/common.c:47
kasan_save_track+0x14/0x30 mm/kasan/common.c:68
poison_kmalloc_redzone mm/kasan/common.c:377 [inline]
__kasan_kmalloc+0xaa/0xb0 mm/kasan/common.c:394
kmalloc_noprof include/linux/slab.h:905 [inline]
kzalloc_noprof include/linux/slab.h:1039 [inline]
hdm_probe+0xb3/0x19a0 drivers/most/most_usb.c:959
usb_probe_interface+0x300/0x9c0 drivers/usb/core/driver.c:396
call_driver_probe drivers/base/dd.c:579 [inline]
really_probe+0x23e/0xa90 drivers/base/dd.c:658
__driver_probe_device+0x1de/0x440 drivers/base/dd.c:800
driver_probe_device+0x4c/0x1b0 drivers/base/dd.c:830
__device_attach_driver+0x1df/0x310 drivers/base/dd.c:958
bus_for_each_drv+0x156/0x1e0 drivers/base/bus.c:462
__device_attach+0x1e4/0x4b0 drivers/base/dd.c:1030
bus_probe_device+0x17f/0x1c0 drivers/base/bus.c:537
device_add+0x1148/0x1a70 drivers/base/core.c:3666
usb_set_configuration+0x1187/0x1e20 drivers/usb/core/message.c:2210
usb_generic_driver_probe+0xb1/0x110 drivers/usb/core/generic.c:250
usb_probe_device+0xec/0x3e0 drivers/usb/core/driver.c:291
call_driver_probe drivers/base/dd.c:579 [inline]
really_probe+0x23e/0xa90 drivers/base/dd.c:658
__driver_probe_device+0x1de/0x440 drivers/base/dd.c:800
driver_probe_device+0x4c/0x1b0 drivers/base/dd.c:830
__device_attach_driver+0x1df/0x310 drivers/base/dd.c:958
bus_for_each_drv+0x156/0x1e0 drivers/base/bus.c:462
__device_attach+0x1e4/0x4b0 drivers/base/dd.c:1030
bus_probe_device+0x17f/0x1c0 drivers/base/bus.c:537
device_add+0x1148/0x1a70 drivers/base/core.c:3666
usb_new_device+0xd07/0x1a20 drivers/usb/core/hub.c:2663
hub_port_connect drivers/usb/core/hub.c:5531 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5671 [inline]
port_event drivers/usb/core/hub.c:5831 [inline]
hub_event+0x2eb7/0x4fa0 drivers/usb/core/hub.c:5913
process_one_work+0x9cc/0x1b70 kernel/workqueue.c:3238
process_scheduled_works kernel/workqueue.c:3319 [inline]
worker_thread+0x6c8/0xf10 kernel/workqueue.c:3400
kthread+0x3c2/0x780 kernel/kthread.c:464
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:153
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
Freed by task 29:
kasan_save_stack+0x33/0x60 mm/kasan/common.c:47
kasan_save_track+0x14/0x30 mm/kasan/common.c:68
kasan_save_free_info+0x3b/0x60 mm/kasan/generic.c:576
poison_slab_object mm/kasan/common.c:247 [inline]
__kasan_slab_free+0x51/0x70 mm/kasan/common.c:264
kasan_slab_free include/linux/kasan.h:233 [inline]
slab_free_hook mm/slub.c:2389 [inline]
slab_free mm/slub.c:4646 [inline]
kfree+0x2b6/0x4d0 mm/slub.c:4845
device_release+0xa1/0x240 drivers/base/core.c:2568
kobject_cleanup lib/kobject.c:689 [inline]
kobject_release lib/kobject.c:720 [inline]
kref_put include/linux/kref.h:65 [inline]
kobject_put+0x1e4/0x5a0 lib/kobject.c:737
put_device drivers/base/core.c:3774 [inline]
device_unregister+0x2f/0xc0 drivers/base/core.c:3897
hdm_disconnect+0x10b/0x250 drivers/most/most_usb.c:1123
usb_unbind_interface+0x1da/0x9a0 drivers/usb/core/driver.c:458
device_remove drivers/base/dd.c:569 [inline]
device_remove+0x122/0x170 drivers/base/dd.c:561
__device_release_driver drivers/base/dd.c:1273 [inline]
device_release_driver_internal+0x44b/0x620 drivers/base/dd.c:1296
bus_remove_device+0x22f/0x420 drivers/base/bus.c:579
device_del+0x396/0x9f0 drivers/base/core.c:3855
usb_disable_device+0x355/0x7d0 drivers/usb/core/message.c:1418
usb_disconnect+0x2e1/0x920 drivers/usb/core/hub.c:2316
hub_port_connect drivers/usb/core/hub.c:5371 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5671 [inline]
port_event drivers/usb/core/hub.c:5831 [inline]
hub_event+0x1c57/0x4fa0 drivers/usb/core/hub.c:5913
process_one_work+0x9cc/0x1b70 kernel/workqueue.c:3238
process_scheduled_works kernel/workqueue.c:3319 [inline]
worker_thread+0x6c8/0xf10 kernel/workqueue.c:3400
kthread+0x3c2/0x780 kernel/kthread.c:464
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:153
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245
The buggy address belongs to the object at ffff8880251f0000
which belongs to the cache kmalloc-8k of size 8192
The buggy address is located 6296 bytes inside of
freed 8192-byte region [ffff8880251f0000, ffff8880251f2000)
The buggy address belongs to the physical page:
page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x251f0
head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
anon flags: 0xfff00000000040(head|node=0|zone=1|lastcpupid=0x7ff)
page_type: f5(slab)
raw: 00fff00000000040 ffff88801b443180 ffffea0000c7e400 dead000000000005
raw: 0000000000000000 0000000000020002 00000000f5000000 0000000000000000
head: 00fff00000000040 ffff88801b443180 ffffea0000c7e400 dead000000000005
head: 0000000000000000 0000000000020002 00000000f5000000 0000000000000000
head: 00fff00000000003 ffffea0000947c01 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 0xd2040(__GFP_IO|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 5664, tgid 5664 (dhcpcd-run-hook), ts 25356826725, free_ts 25317287958
set_page_owner include/linux/page_owner.h:32 [inline]
post_alloc_hook+0x181/0x1b0 mm/page_alloc.c:1717
prep_new_page mm/page_alloc.c:1725 [inline]
get_page_from_freelist+0x1193/0x39b0 mm/page_alloc.c:3652
__alloc_frozen_pages_noprof+0x263/0x2370 mm/page_alloc.c:4934
alloc_pages_mpol+0x1fb/0x550 mm/mempolicy.c:2301
alloc_slab_page mm/slub.c:2459 [inline]
allocate_slab mm/slub.c:2623 [inline]
new_slab+0x23c/0x330 mm/slub.c:2676
___slab_alloc+0xd9c/0x1940 mm/slub.c:3862
__slab_alloc.constprop.0+0x56/0xb0 mm/slub.c:3952
__slab_alloc_node mm/slub.c:4027 [inline]
slab_alloc_node mm/slub.c:4188 [inline]
__kmalloc_cache_noprof+0xfb/0x3e0 mm/slub.c:4357
kmalloc_noprof include/linux/slab.h:905 [inline]
kzalloc_noprof include/linux/slab.h:1039 [inline]
tomoyo_print_bprm security/tomoyo/audit.c:26 [inline]
tomoyo_init_log+0xc8a/0x2140 security/tomoyo/audit.c:264
tomoyo_supervisor+0x302/0x13b0 security/tomoyo/common.c:2198
tomoyo_audit_env_log security/tomoyo/environ.c:36 [inline]
tomoyo_env_perm+0x191/0x200 security/tomoyo/environ.c:63
tomoyo_environ security/tomoyo/domain.c:672 [inline]
tomoyo_find_next_domain+0xec2/0x20b0 security/tomoyo/domain.c:888
tomoyo_bprm_check_security security/tomoyo/tomoyo.c:102 [inline]
tomoyo_bprm_check_security+0x12e/0x1d0 security/tomoyo/tomoyo.c:92
security_bprm_check+0x1b9/0x1e0 security/security.c:1302
search_binary_handler fs/exec.c:1768 [inline]
exec_binprm fs/exec.c:1810 [inline]
bprm_execve fs/exec.c:1862 [inline]
bprm_execve+0x7c1/0x1600 fs/exec.c:1838
do_execveat_common.isra.0+0x4a5/0x610 fs/exec.c:1967
page last free pid 5661 tgid 5661 stack trace:
reset_page_owner include/linux/page_owner.h:25 [inline]
free_pages_prepare mm/page_alloc.c:1262 [inline]
__free_frozen_pages+0x69d/0xff0 mm/page_alloc.c:2680
discard_slab mm/slub.c:2720 [inline]
__put_partials+0x16d/0x1c0 mm/slub.c:3189
qlink_free mm/kasan/quarantine.c:163 [inline]
qlist_free_all+0x4e/0x120 mm/kasan/quarantine.c:179
kasan_quarantine_reduce+0x195/0x1e0 mm/kasan/quarantine.c:286
__kasan_slab_alloc+0x69/0x90 mm/kasan/common.c:329
kasan_slab_alloc include/linux/kasan.h:250 [inline]
slab_post_alloc_hook mm/slub.c:4151 [inline]
slab_alloc_node mm/slub.c:4200 [inline]
kmem_cache_alloc_noprof+0x1cb/0x3b0 mm/slub.c:4207
getname_flags.part.0+0x48/0x540 fs/namei.c:146
getname_flags+0x93/0xf0 include/linux/audit.h:322
getname include/linux/fs.h:2852 [inline]
do_sys_openat2+0xb8/0x1d0 fs/open.c:1423
do_sys_open fs/open.c:1444 [inline]
__do_sys_openat fs/open.c:1460 [inline]
__se_sys_openat fs/open.c:1455 [inline]
__x64_sys_openat+0x174/0x210 fs/open.c:1455
do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
do_syscall_64+0xcd/0x260 arch/x86/entry/syscall_64.c:94
entry_SYSCALL_64_after_hwframe+0x77/0x7f
Memory state around the buggy address:
ffff8880251f1780: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
ffff8880251f1800: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
>ffff8880251f1880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
^
ffff8880251f1900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
ffff8880251f1980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
==================================================================