Extracting prog: 5m40.780219659s Minimizing prog: 1h4m36.728724841s Simplifying prog options: 0s Extracting C: 46.712194714s Simplifying C: 12m17.537118782s 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:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm detailed listing: executing program 0: r0 = syz_usb_connect$cdc_ncm(0x0, 0x76, &(0x7f00000001c0)={{0x12, 0x1, 0x0, 0x2, 0x0, 0x0, 0x40, 0x525, 0xa4a1, 0x40, 0x1, 0x2, 0x3, 0x1, [{{0x9, 0x2, 0x64, 0x2, 0x1, 0x0, 0x40, 0x0, {{0x9, 0x4, 0x0, 0x0, 0x1, 0x2, 0xd, 0x0, 0x0, {{0x5}, {0x5, 0x24, 0x0, 0x80}, {0xd}, {0x6, 0x24, 0x1a, 0x1}, [@mbim_extended={0x8, 0x24, 0x1c, 0x0, 0x5, 0x7}]}, {{0x9, 0x5, 0x81, 0x3, 0x240}}}, {}, {0x9, 0x4, 0x1, 0x1, 0x2, 0x2, 0xd, 0x0, 0x0, "", {{{0x9, 0x5, 0x82, 0x2, 0x8, 0x4}}, {{0x9, 0x5, 0x3, 0x2, 0x8}}}}}}}]}}, 0x0) syz_usb_control_io$cdc_ncm(r0, 0x0, 0x0) syz_usb_control_io$cdc_ncm(r0, 0x0, 0x0) syz_usb_control_io$cdc_ncm(r0, 0x0, &(0x7f0000000340)={0x44, 0x0, 0x0, 0x0, &(0x7f0000001280)={0x20, 0x80, 0x1c, {0x0, 0xd, 0x0, 0xfffc, 0x5, 0x2, 0x0, 0x6, 0x800, 0x0, 0xfff, 0x2}}, 0x0, 0x0, 0x0, 0x0}) syz_usb_control_io$cdc_ncm(r0, 0x0, 0x0) syz_usb_control_io$cdc_ncm(r0, &(0x7f0000000080)={0x14, 0x0, &(0x7f0000000040)={0x0, 0x3, 0x1a, {0x1a}}}, 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:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm detailed listing: executing program 0: r0 = syz_usb_connect$cdc_ncm(0x0, 0x76, &(0x7f00000001c0)={{0x12, 0x1, 0x0, 0x2, 0x0, 0x0, 0x40, 0x525, 0xa4a1, 0x40, 0x1, 0x2, 0x3, 0x1, [{{0x9, 0x2, 0x64, 0x2, 0x1, 0x0, 0x40, 0x0, {{0x9, 0x4, 0x0, 0x0, 0x1, 0x2, 0xd, 0x0, 0x0, {{0x5}, {0x5, 0x24, 0x0, 0x80}, {0xd}, {0x6, 0x24, 0x1a, 0x1}, [@mbim_extended={0x8, 0x24, 0x1c, 0x0, 0x5, 0x7}]}, {{0x9, 0x5, 0x81, 0x3, 0x240}}}, {}, {0x9, 0x4, 0x1, 0x1, 0x2, 0x2, 0xd, 0x0, 0x0, "", {{{0x9, 0x5, 0x82, 0x2, 0x8, 0x4}}, {{0x9, 0x5, 0x3, 0x2, 0x8}}}}}}}]}}, 0x0) syz_usb_control_io$cdc_ncm(r0, 0x0, 0x0) syz_usb_control_io$cdc_ncm(r0, 0x0, 0x0) syz_usb_control_io$cdc_ncm(r0, 0x0, &(0x7f0000000340)={0x44, 0x0, 0x0, 0x0, &(0x7f0000001280)={0x20, 0x80, 0x1c, {0x0, 0xd, 0x0, 0xfffc, 0x5, 0x2, 0x0, 0x6, 0x800, 0x0, 0xfff, 0x2}}, 0x0, 0x0, 0x0, 0x0}) syz_usb_control_io$cdc_ncm(r0, 0x0, 0x0) syz_usb_control_io$cdc_ncm(r0, &(0x7f0000000080)={0x14, 0x0, &(0x7f0000000040)={0x0, 0x3, 0x1a, {0x1a}}}, 0x0) program crashed: KASAN: use-after-free Read in worker_thread single: successfully extracted reproducer found reproducer with 6 syscalls minimizing guilty program testing program (duration=6m25.47991384s, {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:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm detailed listing: executing program 0: r0 = syz_usb_connect$cdc_ncm(0x0, 0x76, &(0x7f00000001c0)={{0x12, 0x1, 0x0, 0x2, 0x0, 0x0, 0x40, 0x525, 0xa4a1, 0x40, 0x1, 0x2, 0x3, 0x1, [{{0x9, 0x2, 0x64, 0x2, 0x1, 0x0, 0x40, 0x0, {{0x9, 0x4, 0x0, 0x0, 0x1, 0x2, 0xd, 0x0, 0x0, {{0x5}, {0x5, 0x24, 0x0, 0x80}, {0xd}, {0x6, 0x24, 0x1a, 0x1}, [@mbim_extended={0x8, 0x24, 0x1c, 0x0, 0x5, 0x7}]}, {{0x9, 0x5, 0x81, 0x3, 0x240}}}, {}, {0x9, 0x4, 0x1, 0x1, 0x2, 0x2, 0xd, 0x0, 0x0, "", {{{0x9, 0x5, 0x82, 0x2, 0x8, 0x4}}, {{0x9, 0x5, 0x3, 0x2, 0x8}}}}}}}]}}, 0x0) syz_usb_control_io$cdc_ncm(r0, 0x0, 0x0) syz_usb_control_io$cdc_ncm(r0, 0x0, 0x0) syz_usb_control_io$cdc_ncm(r0, 0x0, &(0x7f0000000340)={0x44, 0x0, 0x0, 0x0, &(0x7f0000001280)={0x20, 0x80, 0x1c, {0x0, 0xd, 0x0, 0xfffc, 0x5, 0x2, 0x0, 0x6, 0x800, 0x0, 0xfff, 0x2}}, 0x0, 0x0, 0x0, 0x0}) syz_usb_control_io$cdc_ncm(r0, 0x0, 0x0) program did not crash testing program (duration=6m25.47991384s, {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:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm detailed listing: executing program 0: r0 = syz_usb_connect$cdc_ncm(0x0, 0x76, &(0x7f00000001c0)={{0x12, 0x1, 0x0, 0x2, 0x0, 0x0, 0x40, 0x525, 0xa4a1, 0x40, 0x1, 0x2, 0x3, 0x1, [{{0x9, 0x2, 0x64, 0x2, 0x1, 0x0, 0x40, 0x0, {{0x9, 0x4, 0x0, 0x0, 0x1, 0x2, 0xd, 0x0, 0x0, {{0x5}, {0x5, 0x24, 0x0, 0x80}, {0xd}, {0x6, 0x24, 0x1a, 0x1}, [@mbim_extended={0x8, 0x24, 0x1c, 0x0, 0x5, 0x7}]}, {{0x9, 0x5, 0x81, 0x3, 0x240}}}, {}, {0x9, 0x4, 0x1, 0x1, 0x2, 0x2, 0xd, 0x0, 0x0, "", {{{0x9, 0x5, 0x82, 0x2, 0x8, 0x4}}, {{0x9, 0x5, 0x3, 0x2, 0x8}}}}}}}]}}, 0x0) syz_usb_control_io$cdc_ncm(r0, 0x0, 0x0) syz_usb_control_io$cdc_ncm(r0, 0x0, 0x0) syz_usb_control_io$cdc_ncm(r0, 0x0, &(0x7f0000000340)={0x44, 0x0, 0x0, 0x0, &(0x7f0000001280)={0x20, 0x80, 0x1c, {0x0, 0xd, 0x0, 0xfffc, 0x5, 0x2, 0x0, 0x6, 0x800, 0x0, 0xfff, 0x2}}, 0x0, 0x0, 0x0, 0x0}) syz_usb_control_io$cdc_ncm(r0, &(0x7f0000000080)={0x14, 0x0, &(0x7f0000000040)={0x0, 0x3, 0x1a, {0x1a}}}, 0x0) program did not crash testing program (duration=6m25.47991384s, {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:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm detailed listing: executing program 0: r0 = syz_usb_connect$cdc_ncm(0x0, 0x76, &(0x7f00000001c0)={{0x12, 0x1, 0x0, 0x2, 0x0, 0x0, 0x40, 0x525, 0xa4a1, 0x40, 0x1, 0x2, 0x3, 0x1, [{{0x9, 0x2, 0x64, 0x2, 0x1, 0x0, 0x40, 0x0, {{0x9, 0x4, 0x0, 0x0, 0x1, 0x2, 0xd, 0x0, 0x0, {{0x5}, {0x5, 0x24, 0x0, 0x80}, {0xd}, {0x6, 0x24, 0x1a, 0x1}, [@mbim_extended={0x8, 0x24, 0x1c, 0x0, 0x5, 0x7}]}, {{0x9, 0x5, 0x81, 0x3, 0x240}}}, {}, {0x9, 0x4, 0x1, 0x1, 0x2, 0x2, 0xd, 0x0, 0x0, "", {{{0x9, 0x5, 0x82, 0x2, 0x8, 0x4}}, {{0x9, 0x5, 0x3, 0x2, 0x8}}}}}}}]}}, 0x0) syz_usb_control_io$cdc_ncm(r0, 0x0, 0x0) syz_usb_control_io$cdc_ncm(r0, 0x0, 0x0) syz_usb_control_io$cdc_ncm(r0, 0x0, 0x0) syz_usb_control_io$cdc_ncm(r0, &(0x7f0000000080)={0x14, 0x0, &(0x7f0000000040)={0x0, 0x3, 0x1a, {0x1a}}}, 0x0) program did not crash testing program (duration=6m25.47991384s, {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:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm detailed listing: executing program 0: r0 = syz_usb_connect$cdc_ncm(0x0, 0x76, &(0x7f00000001c0)={{0x12, 0x1, 0x0, 0x2, 0x0, 0x0, 0x40, 0x525, 0xa4a1, 0x40, 0x1, 0x2, 0x3, 0x1, [{{0x9, 0x2, 0x64, 0x2, 0x1, 0x0, 0x40, 0x0, {{0x9, 0x4, 0x0, 0x0, 0x1, 0x2, 0xd, 0x0, 0x0, {{0x5}, {0x5, 0x24, 0x0, 0x80}, {0xd}, {0x6, 0x24, 0x1a, 0x1}, [@mbim_extended={0x8, 0x24, 0x1c, 0x0, 0x5, 0x7}]}, {{0x9, 0x5, 0x81, 0x3, 0x240}}}, {}, {0x9, 0x4, 0x1, 0x1, 0x2, 0x2, 0xd, 0x0, 0x0, "", {{{0x9, 0x5, 0x82, 0x2, 0x8, 0x4}}, {{0x9, 0x5, 0x3, 0x2, 0x8}}}}}}}]}}, 0x0) syz_usb_control_io$cdc_ncm(r0, 0x0, 0x0) syz_usb_control_io$cdc_ncm(r0, 0x0, &(0x7f0000000340)={0x44, 0x0, 0x0, 0x0, &(0x7f0000001280)={0x20, 0x80, 0x1c, {0x0, 0xd, 0x0, 0xfffc, 0x5, 0x2, 0x0, 0x6, 0x800, 0x0, 0xfff, 0x2}}, 0x0, 0x0, 0x0, 0x0}) syz_usb_control_io$cdc_ncm(r0, 0x0, 0x0) syz_usb_control_io$cdc_ncm(r0, &(0x7f0000000080)={0x14, 0x0, &(0x7f0000000040)={0x0, 0x3, 0x1a, {0x1a}}}, 0x0) program did not crash testing program (duration=6m25.47991384s, {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:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm detailed listing: executing program 0: syz_usb_control_io$cdc_ncm(0xffffffffffffffff, 0x0, 0x0) syz_usb_control_io$cdc_ncm(0xffffffffffffffff, 0x0, 0x0) syz_usb_control_io$cdc_ncm(0xffffffffffffffff, 0x0, &(0x7f0000000340)={0x44, 0x0, 0x0, 0x0, &(0x7f0000001280)={0x20, 0x80, 0x1c, {0x0, 0xd, 0x0, 0xfffc, 0x5, 0x2, 0x0, 0x6, 0x800, 0x0, 0xfff, 0x2}}, 0x0, 0x0, 0x0, 0x0}) syz_usb_control_io$cdc_ncm(0xffffffffffffffff, 0x0, 0x0) syz_usb_control_io$cdc_ncm(0xffffffffffffffff, &(0x7f0000000080)={0x14, 0x0, &(0x7f0000000040)={0x0, 0x3, 0x1a, {0x1a}}}, 0x0) program did not crash testing program (duration=6m25.47991384s, {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:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm detailed listing: executing program 0: r0 = syz_usb_connect$cdc_ncm(0x0, 0x0, 0x0, 0x0) syz_usb_control_io$cdc_ncm(r0, 0x0, 0x0) syz_usb_control_io$cdc_ncm(r0, 0x0, 0x0) syz_usb_control_io$cdc_ncm(r0, 0x0, &(0x7f0000000340)={0x44, 0x0, 0x0, 0x0, &(0x7f0000001280)={0x20, 0x80, 0x1c, {0x0, 0xd, 0x0, 0xfffc, 0x5, 0x2, 0x0, 0x6, 0x800, 0x0, 0xfff, 0x2}}, 0x0, 0x0, 0x0, 0x0}) syz_usb_control_io$cdc_ncm(r0, 0x0, 0x0) syz_usb_control_io$cdc_ncm(r0, &(0x7f0000000080)={0x14, 0x0, &(0x7f0000000040)={0x0, 0x3, 0x1a, {0x1a}}}, 0x0) program did not crash testing program (duration=6m25.47991384s, {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:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm detailed listing: executing program 0: r0 = syz_usb_connect$cdc_ncm(0x0, 0x76, &(0x7f00000001c0)={{0x12, 0x1, 0x0, 0x2, 0x0, 0x0, 0x40, 0x525, 0xa4a1, 0x40, 0x1, 0x2, 0x3, 0x1, [{{0x9, 0x2, 0x64, 0x2, 0x1, 0x0, 0x40, 0x0, {{0x9, 0x4, 0x0, 0x0, 0x1, 0x2, 0xd, 0x0, 0x0, {{0x5}, {0x5, 0x24, 0x0, 0x80}, {0xd}, {0x6, 0x24, 0x1a, 0x1}, [@mbim_extended={0x8, 0x24, 0x1c, 0x0, 0x5, 0x7}]}, {{0x9, 0x5, 0x81, 0x3, 0x240}}}, {}, {0x9, 0x4, 0x1, 0x1, 0x2, 0x2, 0xd, 0x0, 0x0, "", {{{0x9, 0x5, 0x82, 0x2, 0x8, 0x4}}, {{0x9, 0x5, 0x3, 0x2, 0x8}}}}}}}]}}, 0x0) syz_usb_control_io$cdc_ncm(r0, 0x0, 0x0) syz_usb_control_io$cdc_ncm(r0, 0x0, 0x0) syz_usb_control_io$cdc_ncm(r0, 0x0, 0x0) syz_usb_control_io$cdc_ncm(r0, 0x0, 0x0) syz_usb_control_io$cdc_ncm(r0, &(0x7f0000000080)={0x14, 0x0, &(0x7f0000000040)={0x0, 0x3, 0x1a, {0x1a}}}, 0x0) program did not crash testing program (duration=6m25.47991384s, {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:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm detailed listing: executing program 0: r0 = syz_usb_connect$cdc_ncm(0x0, 0x76, &(0x7f00000001c0)={{0x12, 0x1, 0x0, 0x2, 0x0, 0x0, 0x40, 0x525, 0xa4a1, 0x40, 0x1, 0x2, 0x3, 0x1, [{{0x9, 0x2, 0x64, 0x2, 0x1, 0x0, 0x40, 0x0, {{0x9, 0x4, 0x0, 0x0, 0x1, 0x2, 0xd, 0x0, 0x0, {{0x5}, {0x5, 0x24, 0x0, 0x80}, {0xd}, {0x6, 0x24, 0x1a, 0x1}, [@mbim_extended={0x8, 0x24, 0x1c, 0x0, 0x5, 0x7}]}, {{0x9, 0x5, 0x81, 0x3, 0x240}}}, {}, {0x9, 0x4, 0x1, 0x1, 0x2, 0x2, 0xd, 0x0, 0x0, "", {{{0x9, 0x5, 0x82, 0x2, 0x8, 0x4}}, {{0x9, 0x5, 0x3, 0x2, 0x8}}}}}}}]}}, 0x0) syz_usb_control_io$cdc_ncm(r0, 0x0, 0x0) syz_usb_control_io$cdc_ncm(r0, 0x0, 0x0) syz_usb_control_io$cdc_ncm(r0, 0x0, &(0x7f0000000340)={0x44, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}) syz_usb_control_io$cdc_ncm(r0, 0x0, 0x0) syz_usb_control_io$cdc_ncm(r0, &(0x7f0000000080)={0x14, 0x0, &(0x7f0000000040)={0x0, 0x3, 0x1a, {0x1a}}}, 0x0) program did not crash testing program (duration=6m25.47991384s, {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:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm detailed listing: executing program 0: r0 = syz_usb_connect$cdc_ncm(0x0, 0x76, &(0x7f00000001c0)={{0x12, 0x1, 0x0, 0x2, 0x0, 0x0, 0x40, 0x525, 0xa4a1, 0x40, 0x1, 0x2, 0x3, 0x1, [{{0x9, 0x2, 0x64, 0x2, 0x1, 0x0, 0x40, 0x0, {{0x9, 0x4, 0x0, 0x0, 0x1, 0x2, 0xd, 0x0, 0x0, {{0x5}, {0x5, 0x24, 0x0, 0x80}, {0xd}, {0x6, 0x24, 0x1a, 0x1}, [@mbim_extended={0x8, 0x24, 0x1c, 0x0, 0x5, 0x7}]}, {{0x9, 0x5, 0x81, 0x3, 0x240}}}, {}, {0x9, 0x4, 0x1, 0x1, 0x2, 0x2, 0xd, 0x0, 0x0, "", {{{0x9, 0x5, 0x82, 0x2, 0x8, 0x4}}, {{0x9, 0x5, 0x3, 0x2, 0x8}}}}}}}]}}, 0x0) syz_usb_control_io$cdc_ncm(r0, 0x0, 0x0) syz_usb_control_io$cdc_ncm(r0, 0x0, 0x0) syz_usb_control_io$cdc_ncm(r0, 0x0, &(0x7f0000000340)={0x44, 0x0, 0x0, 0x0, &(0x7f0000001280)={0x20, 0x80, 0x1c, {0x0, 0xd, 0x0, 0xfffc, 0x5, 0x2, 0x0, 0x6, 0x800, 0x0, 0xfff, 0x2}}, 0x0, 0x0, 0x0, 0x0}) syz_usb_control_io$cdc_ncm(r0, 0x0, 0x0) syz_usb_control_io$cdc_ncm(r0, 0x0, 0x0) program did not crash testing program (duration=6m25.47991384s, {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:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm detailed listing: executing program 0: r0 = syz_usb_connect$cdc_ncm(0x0, 0x76, &(0x7f00000001c0)={{0x12, 0x1, 0x0, 0x2, 0x0, 0x0, 0x40, 0x525, 0xa4a1, 0x40, 0x1, 0x2, 0x3, 0x1, [{{0x9, 0x2, 0x64, 0x2, 0x1, 0x0, 0x40, 0x0, {{0x9, 0x4, 0x0, 0x0, 0x1, 0x2, 0xd, 0x0, 0x0, {{0x5}, {0x5, 0x24, 0x0, 0x80}, {0xd}, {0x6, 0x24, 0x1a, 0x1}, [@mbim_extended={0x8, 0x24, 0x1c, 0x0, 0x5, 0x7}]}, {{0x9, 0x5, 0x81, 0x3, 0x240}}}, {}, {0x9, 0x4, 0x1, 0x1, 0x2, 0x2, 0xd, 0x0, 0x0, "", {{{0x9, 0x5, 0x82, 0x2, 0x8, 0x4}}, {{0x9, 0x5, 0x3, 0x2, 0x8}}}}}}}]}}, 0x0) syz_usb_control_io$cdc_ncm(r0, 0x0, 0x0) syz_usb_control_io$cdc_ncm(r0, 0x0, 0x0) syz_usb_control_io$cdc_ncm(r0, 0x0, &(0x7f0000000340)={0x44, 0x0, 0x0, 0x0, &(0x7f0000001280)={0x20, 0x80, 0x1c, {0x0, 0xd, 0x0, 0xfffc, 0x5, 0x2, 0x0, 0x6, 0x800, 0x0, 0xfff, 0x2}}, 0x0, 0x0, 0x0, 0x0}) syz_usb_control_io$cdc_ncm(r0, 0x0, 0x0) syz_usb_control_io$cdc_ncm(r0, &(0x7f0000000080)={0x14, 0x0, 0x0}, 0x0) program did not crash extracting C reproducer testing compiled C program (duration=6m25.47991384s, {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:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm program crashed: KASAN: use-after-free Read in worker_thread simplifying C reproducer testing compiled C program (duration=6m25.47991384s, {Threaded:false 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:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm program crashed: KASAN: use-after-free Read in worker_thread testing compiled C program (duration=6m25.47991384s, {Threaded:false Repeat:true RepeatTimes:0 Procs:1 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm program crashed: no output from test machine a never seen crash title: no output from test machine, ignore testing compiled C program (duration=6m25.47991384s, {Threaded:false Repeat:true RepeatTimes:0 Procs:5 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$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm program crashed: KASAN: use-after-free Read in worker_thread testing compiled C program (duration=6m25.47991384s, {Threaded:false Repeat:true RepeatTimes:0 Procs:5 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$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm program crashed: KASAN: use-after-free Read in worker_thread testing compiled C program (duration=6m25.47991384s, {Threaded:false Repeat:true RepeatTimes:0 Procs:5 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$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm program crashed: KASAN: use-after-free Read in process_one_work a never seen crash title: KASAN: use-after-free Read in process_one_work, ignore testing compiled C program (duration=6m25.47991384s, {Threaded:false Repeat:true RepeatTimes:0 Procs:5 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:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm-syz_usb_control_io$cdc_ncm program crashed: KASAN: use-after-free Read in process_one_work a never seen crash title: KASAN: use-after-free Read in process_one_work, ignore reproducing took 1h23m21.758278066s repro crashed as (corrupted=false): ================================================================== BUG: KASAN: use-after-free in worker_thread+0xa2e/0x1200 kernel/workqueue.c:2470 Read of size 8 at addr ffff88810abe4c60 by task kworker/1:6/300 CPU: 1 PID: 300 Comm: kworker/1:6 Not tainted 5.15.185-syzkaller-00339-ge678c93d43cc #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Workqueue: 0x0 (mm_percpu_wq) Call Trace: __dump_stack+0x21/0x30 lib/dump_stack.c:88 dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106 print_address_description+0x7f/0x2c0 mm/kasan/report.c:248 __kasan_report mm/kasan/report.c:427 [inline] kasan_report+0xf1/0x140 mm/kasan/report.c:444 __asan_report_load8_noabort+0x14/0x20 mm/kasan/report_generic.c:309 worker_thread+0xa2e/0x1200 kernel/workqueue.c:2470 kthread+0x411/0x500 kernel/kthread.c:337 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 Allocated by task 26: kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track mm/kasan/common.c:45 [inline] set_alloc_info mm/kasan/common.c:433 [inline] ____kasan_kmalloc mm/kasan/common.c:512 [inline] __kasan_kmalloc+0xda/0x110 mm/kasan/common.c:521 kasan_kmalloc include/linux/kasan.h:227 [inline] __kmalloc+0x13d/0x2c0 mm/slub.c:4431 __kmalloc_node include/linux/slab.h:484 [inline] kmalloc_node include/linux/slab.h:639 [inline] kvmalloc_node+0x242/0x330 mm/util.c:628 kvmalloc include/linux/mm.h:851 [inline] kvzalloc include/linux/mm.h:859 [inline] alloc_netdev_mqs+0x8d/0xc90 net/core/dev.c:10900 alloc_etherdev_mqs+0x34/0x40 net/ethernet/eth.c:383 usbnet_probe+0x219/0x2860 drivers/net/usb/usbnet.c:1723 usb_probe_interface+0x5ff/0xae0 drivers/usb/core/driver.c:396 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x285/0x970 drivers/base/dd.c:595 __driver_probe_device+0x198/0x280 drivers/base/dd.c:755 driver_probe_device+0x54/0x3e0 drivers/base/dd.c:785 __device_attach_driver+0x2a6/0x460 drivers/base/dd.c:907 bus_for_each_drv+0x175/0x200 drivers/base/bus.c:429 __device_attach+0x2a2/0x400 drivers/base/dd.c:979 device_initial_probe+0x1a/0x20 drivers/base/dd.c:1028 bus_probe_device+0xc0/0x1e0 drivers/base/bus.c:489 device_add+0xb31/0xed0 drivers/base/core.c:3422 usb_set_configuration+0x19c2/0x1f10 drivers/usb/core/message.c:2165 usb_generic_driver_probe+0x91/0x150 drivers/usb/core/generic.c:238 usb_probe_device+0x148/0x260 drivers/usb/core/driver.c:293 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x285/0x970 drivers/base/dd.c:595 __driver_probe_device+0x198/0x280 drivers/base/dd.c:755 driver_probe_device+0x54/0x3e0 drivers/base/dd.c:785 __device_attach_driver+0x2a6/0x460 drivers/base/dd.c:907 bus_for_each_drv+0x175/0x200 drivers/base/bus.c:429 __device_attach+0x2a2/0x400 drivers/base/dd.c:979 device_initial_probe+0x1a/0x20 drivers/base/dd.c:1028 bus_probe_device+0xc0/0x1e0 drivers/base/bus.c:489 device_add+0xb31/0xed0 drivers/base/core.c:3422 usb_new_device+0xd06/0x1620 drivers/usb/core/hub.c:2610 hub_port_connect drivers/usb/core/hub.c:5525 [inline] hub_port_connect_change drivers/usb/core/hub.c:5665 [inline] port_event drivers/usb/core/hub.c:5815 [inline] hub_event+0x27d8/0x42c0 drivers/usb/core/hub.c:5897 process_one_work+0x6be/0xba0 kernel/workqueue.c:2325 process_scheduled_works kernel/workqueue.c:2388 [inline] worker_thread+0xd7b/0x1200 kernel/workqueue.c:2474 kthread+0x411/0x500 kernel/kthread.c:337 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 Freed by task 26: kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track+0x4a/0x70 mm/kasan/common.c:45 kasan_set_free_info+0x23/0x40 mm/kasan/generic.c:370 ____kasan_slab_free+0x125/0x160 mm/kasan/common.c:365 __kasan_slab_free+0x11/0x20 mm/kasan/common.c:373 kasan_slab_free include/linux/kasan.h:193 [inline] slab_free_hook mm/slub.c:1723 [inline] slab_free_freelist_hook+0xc2/0x190 mm/slub.c:1749 slab_free mm/slub.c:3521 [inline] kfree+0xc4/0x270 mm/slub.c:4583 kvfree+0x35/0x40 mm/util.c:664 netdev_freemem+0x3f/0x60 net/core/dev.c:10854 netdev_release+0x7f/0xb0 net/core/net-sysfs.c:1903 device_release+0x96/0x1c0 drivers/base/core.c:-1 kobject_cleanup lib/kobject.c:713 [inline] kobject_release lib/kobject.c:744 [inline] kref_put include/linux/kref.h:65 [inline] kobject_put+0x18a/0x270 lib/kobject.c:761 put_device+0x1f/0x30 drivers/base/core.c:3530 free_netdev+0x34b/0x450 net/core/dev.c:11040 usbnet_disconnect+0x24b/0x3a0 drivers/net/usb/usbnet.c:1662 usb_unbind_interface+0x212/0x8c0 drivers/usb/core/driver.c:458 __device_release_driver drivers/base/dd.c:1229 [inline] device_release_driver_internal+0x4c1/0x760 drivers/base/dd.c:1262 device_release_driver+0x19/0x20 drivers/base/dd.c:1285 bus_remove_device+0x2dd/0x340 drivers/base/bus.c:531 device_del+0x696/0xe90 drivers/base/core.c:3610 usb_disable_device+0x3a8/0x750 drivers/usb/core/message.c:1414 usb_disconnect+0x31e/0x850 drivers/usb/core/hub.c:2260 hub_port_connect drivers/usb/core/hub.c:5364 [inline] hub_port_connect_change drivers/usb/core/hub.c:5665 [inline] port_event drivers/usb/core/hub.c:5815 [inline] hub_event+0x190c/0x42c0 drivers/usb/core/hub.c:5897 process_one_work+0x6be/0xba0 kernel/workqueue.c:2325 process_scheduled_works kernel/workqueue.c:2388 [inline] worker_thread+0xd7b/0x1200 kernel/workqueue.c:2474 kthread+0x411/0x500 kernel/kthread.c:337 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 Last potentially related work creation: kasan_save_stack+0x3a/0x60 mm/kasan/common.c:38 __kasan_record_aux_stack+0xd2/0x100 mm/kasan/generic.c:348 kasan_record_aux_stack_noalloc+0xb/0x10 mm/kasan/generic.c:358 insert_work+0x51/0x310 kernel/workqueue.c:1373 __queue_work+0x8e5/0xc60 kernel/workqueue.c:1539 queue_work_on+0xd2/0x140 kernel/workqueue.c:1566 queue_work include/linux/workqueue.h:510 [inline] schedule_work include/linux/workqueue.h:571 [inline] usbnet_defer_kevent drivers/net/usb/usbnet.c:482 [inline] usbnet_link_change+0x176/0x1a0 drivers/net/usb/usbnet.c:-1 usbnet_probe+0x1dfd/0x2860 drivers/net/usb/usbnet.c:1868 usb_probe_interface+0x5ff/0xae0 drivers/usb/core/driver.c:396 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x285/0x970 drivers/base/dd.c:595 __driver_probe_device+0x198/0x280 drivers/base/dd.c:755 driver_probe_device+0x54/0x3e0 drivers/base/dd.c:785 __device_attach_driver+0x2a6/0x460 drivers/base/dd.c:907 bus_for_each_drv+0x175/0x200 drivers/base/bus.c:429 __device_attach+0x2a2/0x400 drivers/base/dd.c:979 device_initial_probe+0x1a/0x20 drivers/base/dd.c:1028 bus_probe_device+0xc0/0x1e0 drivers/base/bus.c:489 device_add+0xb31/0xed0 drivers/base/core.c:3422 usb_set_configuration+0x19c2/0x1f10 drivers/usb/core/message.c:2165 usb_generic_driver_probe+0x91/0x150 drivers/usb/core/generic.c:238 usb_probe_device+0x148/0x260 drivers/usb/core/driver.c:293 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x285/0x970 drivers/base/dd.c:595 __driver_probe_device+0x198/0x280 drivers/base/dd.c:755 driver_probe_device+0x54/0x3e0 drivers/base/dd.c:785 __device_attach_driver+0x2a6/0x460 drivers/base/dd.c:907 bus_for_each_drv+0x175/0x200 drivers/base/bus.c:429 __device_attach+0x2a2/0x400 drivers/base/dd.c:979 device_initial_probe+0x1a/0x20 drivers/base/dd.c:1028 bus_probe_device+0xc0/0x1e0 drivers/base/bus.c:489 device_add+0xb31/0xed0 drivers/base/core.c:3422 usb_new_device+0xd06/0x1620 drivers/usb/core/hub.c:2610 hub_port_connect drivers/usb/core/hub.c:5525 [inline] hub_port_connect_change drivers/usb/core/hub.c:5665 [inline] port_event drivers/usb/core/hub.c:5815 [inline] hub_event+0x27d8/0x42c0 drivers/usb/core/hub.c:5897 process_one_work+0x6be/0xba0 kernel/workqueue.c:2325 process_scheduled_works kernel/workqueue.c:2388 [inline] worker_thread+0xd7b/0x1200 kernel/workqueue.c:2474 kthread+0x411/0x500 kernel/kthread.c:337 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 The buggy address belongs to the object at ffff88810abe4000 which belongs to the cache kmalloc-4k of size 4096 The buggy address is located 3168 bytes inside of 4096-byte region [ffff88810abe4000, ffff88810abe5000) The buggy address belongs to the page: page:ffffea00042af800 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10abe0 head:ffffea00042af800 order:3 compound_mapcount:0 compound_pincount:0 flags: 0x4000000000010200(slab|head|zone=1) raw: 4000000000010200 dead000000000100 dead000000000122 ffff888100043380 raw: 0000000000000000 0000000000040004 00000001ffffffff 0000000000000000 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 1, ts 2557142605, free_ts 0 set_page_owner include/linux/page_owner.h:33 [inline] post_alloc_hook+0x192/0x1b0 mm/page_alloc.c:2605 prep_new_page+0x1c/0x110 mm/page_alloc.c:2611 get_page_from_freelist+0x2cc5/0x2d50 mm/page_alloc.c:4485 __alloc_pages+0x18f/0x440 mm/page_alloc.c:5789 alloc_slab_page mm/slub.c:-1 [inline] allocate_slab mm/slub.c:1932 [inline] new_slab+0xa1/0x4d0 mm/slub.c:1995 ___slab_alloc+0x381/0x810 mm/slub.c:3028 __slab_alloc+0x49/0x90 mm/slub.c:3115 slab_alloc_node mm/slub.c:3206 [inline] slab_alloc mm/slub.c:3250 [inline] __kmalloc+0x16a/0x2c0 mm/slub.c:4427 kmalloc include/linux/slab.h:621 [inline] kzalloc include/linux/slab.h:747 [inline] scsi_alloc_sdev+0x10b/0x9c0 drivers/scsi/scsi_scan.c:271 scsi_probe_and_add_lun+0x18d/0x33b0 drivers/scsi/scsi_scan.c:1156 __scsi_scan_target+0x1d6/0xb50 drivers/scsi/scsi_scan.c:1637 scsi_scan_channel drivers/scsi/scsi_scan.c:1725 [inline] scsi_scan_host_selected+0x343/0x5f0 drivers/scsi/scsi_scan.c:1754 do_scsi_scan_host drivers/scsi/scsi_scan.c:1893 [inline] scsi_scan_host+0x39e/0x660 drivers/scsi/scsi_scan.c:1923 virtscsi_probe+0x868/0x9e0 drivers/scsi/virtio_scsi.c:915 virtio_dev_probe+0x8d4/0xb20 drivers/virtio/virtio.c:273 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x285/0x970 drivers/base/dd.c:595 page_owner free stack trace missing Memory state around the buggy address: ffff88810abe4b00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff88810abe4b80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb >ffff88810abe4c00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff88810abe4c80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff88810abe4d00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ================================================================== final repro crashed as (corrupted=false): ================================================================== BUG: KASAN: use-after-free in worker_thread+0xa2e/0x1200 kernel/workqueue.c:2470 Read of size 8 at addr ffff88810abe4c60 by task kworker/1:6/300 CPU: 1 PID: 300 Comm: kworker/1:6 Not tainted 5.15.185-syzkaller-00339-ge678c93d43cc #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 Workqueue: 0x0 (mm_percpu_wq) Call Trace: __dump_stack+0x21/0x30 lib/dump_stack.c:88 dump_stack_lvl+0xee/0x150 lib/dump_stack.c:106 print_address_description+0x7f/0x2c0 mm/kasan/report.c:248 __kasan_report mm/kasan/report.c:427 [inline] kasan_report+0xf1/0x140 mm/kasan/report.c:444 __asan_report_load8_noabort+0x14/0x20 mm/kasan/report_generic.c:309 worker_thread+0xa2e/0x1200 kernel/workqueue.c:2470 kthread+0x411/0x500 kernel/kthread.c:337 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 Allocated by task 26: kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track mm/kasan/common.c:45 [inline] set_alloc_info mm/kasan/common.c:433 [inline] ____kasan_kmalloc mm/kasan/common.c:512 [inline] __kasan_kmalloc+0xda/0x110 mm/kasan/common.c:521 kasan_kmalloc include/linux/kasan.h:227 [inline] __kmalloc+0x13d/0x2c0 mm/slub.c:4431 __kmalloc_node include/linux/slab.h:484 [inline] kmalloc_node include/linux/slab.h:639 [inline] kvmalloc_node+0x242/0x330 mm/util.c:628 kvmalloc include/linux/mm.h:851 [inline] kvzalloc include/linux/mm.h:859 [inline] alloc_netdev_mqs+0x8d/0xc90 net/core/dev.c:10900 alloc_etherdev_mqs+0x34/0x40 net/ethernet/eth.c:383 usbnet_probe+0x219/0x2860 drivers/net/usb/usbnet.c:1723 usb_probe_interface+0x5ff/0xae0 drivers/usb/core/driver.c:396 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x285/0x970 drivers/base/dd.c:595 __driver_probe_device+0x198/0x280 drivers/base/dd.c:755 driver_probe_device+0x54/0x3e0 drivers/base/dd.c:785 __device_attach_driver+0x2a6/0x460 drivers/base/dd.c:907 bus_for_each_drv+0x175/0x200 drivers/base/bus.c:429 __device_attach+0x2a2/0x400 drivers/base/dd.c:979 device_initial_probe+0x1a/0x20 drivers/base/dd.c:1028 bus_probe_device+0xc0/0x1e0 drivers/base/bus.c:489 device_add+0xb31/0xed0 drivers/base/core.c:3422 usb_set_configuration+0x19c2/0x1f10 drivers/usb/core/message.c:2165 usb_generic_driver_probe+0x91/0x150 drivers/usb/core/generic.c:238 usb_probe_device+0x148/0x260 drivers/usb/core/driver.c:293 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x285/0x970 drivers/base/dd.c:595 __driver_probe_device+0x198/0x280 drivers/base/dd.c:755 driver_probe_device+0x54/0x3e0 drivers/base/dd.c:785 __device_attach_driver+0x2a6/0x460 drivers/base/dd.c:907 bus_for_each_drv+0x175/0x200 drivers/base/bus.c:429 __device_attach+0x2a2/0x400 drivers/base/dd.c:979 device_initial_probe+0x1a/0x20 drivers/base/dd.c:1028 bus_probe_device+0xc0/0x1e0 drivers/base/bus.c:489 device_add+0xb31/0xed0 drivers/base/core.c:3422 usb_new_device+0xd06/0x1620 drivers/usb/core/hub.c:2610 hub_port_connect drivers/usb/core/hub.c:5525 [inline] hub_port_connect_change drivers/usb/core/hub.c:5665 [inline] port_event drivers/usb/core/hub.c:5815 [inline] hub_event+0x27d8/0x42c0 drivers/usb/core/hub.c:5897 process_one_work+0x6be/0xba0 kernel/workqueue.c:2325 process_scheduled_works kernel/workqueue.c:2388 [inline] worker_thread+0xd7b/0x1200 kernel/workqueue.c:2474 kthread+0x411/0x500 kernel/kthread.c:337 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 Freed by task 26: kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track+0x4a/0x70 mm/kasan/common.c:45 kasan_set_free_info+0x23/0x40 mm/kasan/generic.c:370 ____kasan_slab_free+0x125/0x160 mm/kasan/common.c:365 __kasan_slab_free+0x11/0x20 mm/kasan/common.c:373 kasan_slab_free include/linux/kasan.h:193 [inline] slab_free_hook mm/slub.c:1723 [inline] slab_free_freelist_hook+0xc2/0x190 mm/slub.c:1749 slab_free mm/slub.c:3521 [inline] kfree+0xc4/0x270 mm/slub.c:4583 kvfree+0x35/0x40 mm/util.c:664 netdev_freemem+0x3f/0x60 net/core/dev.c:10854 netdev_release+0x7f/0xb0 net/core/net-sysfs.c:1903 device_release+0x96/0x1c0 drivers/base/core.c:-1 kobject_cleanup lib/kobject.c:713 [inline] kobject_release lib/kobject.c:744 [inline] kref_put include/linux/kref.h:65 [inline] kobject_put+0x18a/0x270 lib/kobject.c:761 put_device+0x1f/0x30 drivers/base/core.c:3530 free_netdev+0x34b/0x450 net/core/dev.c:11040 usbnet_disconnect+0x24b/0x3a0 drivers/net/usb/usbnet.c:1662 usb_unbind_interface+0x212/0x8c0 drivers/usb/core/driver.c:458 __device_release_driver drivers/base/dd.c:1229 [inline] device_release_driver_internal+0x4c1/0x760 drivers/base/dd.c:1262 device_release_driver+0x19/0x20 drivers/base/dd.c:1285 bus_remove_device+0x2dd/0x340 drivers/base/bus.c:531 device_del+0x696/0xe90 drivers/base/core.c:3610 usb_disable_device+0x3a8/0x750 drivers/usb/core/message.c:1414 usb_disconnect+0x31e/0x850 drivers/usb/core/hub.c:2260 hub_port_connect drivers/usb/core/hub.c:5364 [inline] hub_port_connect_change drivers/usb/core/hub.c:5665 [inline] port_event drivers/usb/core/hub.c:5815 [inline] hub_event+0x190c/0x42c0 drivers/usb/core/hub.c:5897 process_one_work+0x6be/0xba0 kernel/workqueue.c:2325 process_scheduled_works kernel/workqueue.c:2388 [inline] worker_thread+0xd7b/0x1200 kernel/workqueue.c:2474 kthread+0x411/0x500 kernel/kthread.c:337 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 Last potentially related work creation: kasan_save_stack+0x3a/0x60 mm/kasan/common.c:38 __kasan_record_aux_stack+0xd2/0x100 mm/kasan/generic.c:348 kasan_record_aux_stack_noalloc+0xb/0x10 mm/kasan/generic.c:358 insert_work+0x51/0x310 kernel/workqueue.c:1373 __queue_work+0x8e5/0xc60 kernel/workqueue.c:1539 queue_work_on+0xd2/0x140 kernel/workqueue.c:1566 queue_work include/linux/workqueue.h:510 [inline] schedule_work include/linux/workqueue.h:571 [inline] usbnet_defer_kevent drivers/net/usb/usbnet.c:482 [inline] usbnet_link_change+0x176/0x1a0 drivers/net/usb/usbnet.c:-1 usbnet_probe+0x1dfd/0x2860 drivers/net/usb/usbnet.c:1868 usb_probe_interface+0x5ff/0xae0 drivers/usb/core/driver.c:396 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x285/0x970 drivers/base/dd.c:595 __driver_probe_device+0x198/0x280 drivers/base/dd.c:755 driver_probe_device+0x54/0x3e0 drivers/base/dd.c:785 __device_attach_driver+0x2a6/0x460 drivers/base/dd.c:907 bus_for_each_drv+0x175/0x200 drivers/base/bus.c:429 __device_attach+0x2a2/0x400 drivers/base/dd.c:979 device_initial_probe+0x1a/0x20 drivers/base/dd.c:1028 bus_probe_device+0xc0/0x1e0 drivers/base/bus.c:489 device_add+0xb31/0xed0 drivers/base/core.c:3422 usb_set_configuration+0x19c2/0x1f10 drivers/usb/core/message.c:2165 usb_generic_driver_probe+0x91/0x150 drivers/usb/core/generic.c:238 usb_probe_device+0x148/0x260 drivers/usb/core/driver.c:293 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x285/0x970 drivers/base/dd.c:595 __driver_probe_device+0x198/0x280 drivers/base/dd.c:755 driver_probe_device+0x54/0x3e0 drivers/base/dd.c:785 __device_attach_driver+0x2a6/0x460 drivers/base/dd.c:907 bus_for_each_drv+0x175/0x200 drivers/base/bus.c:429 __device_attach+0x2a2/0x400 drivers/base/dd.c:979 device_initial_probe+0x1a/0x20 drivers/base/dd.c:1028 bus_probe_device+0xc0/0x1e0 drivers/base/bus.c:489 device_add+0xb31/0xed0 drivers/base/core.c:3422 usb_new_device+0xd06/0x1620 drivers/usb/core/hub.c:2610 hub_port_connect drivers/usb/core/hub.c:5525 [inline] hub_port_connect_change drivers/usb/core/hub.c:5665 [inline] port_event drivers/usb/core/hub.c:5815 [inline] hub_event+0x27d8/0x42c0 drivers/usb/core/hub.c:5897 process_one_work+0x6be/0xba0 kernel/workqueue.c:2325 process_scheduled_works kernel/workqueue.c:2388 [inline] worker_thread+0xd7b/0x1200 kernel/workqueue.c:2474 kthread+0x411/0x500 kernel/kthread.c:337 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287 The buggy address belongs to the object at ffff88810abe4000 which belongs to the cache kmalloc-4k of size 4096 The buggy address is located 3168 bytes inside of 4096-byte region [ffff88810abe4000, ffff88810abe5000) The buggy address belongs to the page: page:ffffea00042af800 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10abe0 head:ffffea00042af800 order:3 compound_mapcount:0 compound_pincount:0 flags: 0x4000000000010200(slab|head|zone=1) raw: 4000000000010200 dead000000000100 dead000000000122 ffff888100043380 raw: 0000000000000000 0000000000040004 00000001ffffffff 0000000000000000 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 1, ts 2557142605, free_ts 0 set_page_owner include/linux/page_owner.h:33 [inline] post_alloc_hook+0x192/0x1b0 mm/page_alloc.c:2605 prep_new_page+0x1c/0x110 mm/page_alloc.c:2611 get_page_from_freelist+0x2cc5/0x2d50 mm/page_alloc.c:4485 __alloc_pages+0x18f/0x440 mm/page_alloc.c:5789 alloc_slab_page mm/slub.c:-1 [inline] allocate_slab mm/slub.c:1932 [inline] new_slab+0xa1/0x4d0 mm/slub.c:1995 ___slab_alloc+0x381/0x810 mm/slub.c:3028 __slab_alloc+0x49/0x90 mm/slub.c:3115 slab_alloc_node mm/slub.c:3206 [inline] slab_alloc mm/slub.c:3250 [inline] __kmalloc+0x16a/0x2c0 mm/slub.c:4427 kmalloc include/linux/slab.h:621 [inline] kzalloc include/linux/slab.h:747 [inline] scsi_alloc_sdev+0x10b/0x9c0 drivers/scsi/scsi_scan.c:271 scsi_probe_and_add_lun+0x18d/0x33b0 drivers/scsi/scsi_scan.c:1156 __scsi_scan_target+0x1d6/0xb50 drivers/scsi/scsi_scan.c:1637 scsi_scan_channel drivers/scsi/scsi_scan.c:1725 [inline] scsi_scan_host_selected+0x343/0x5f0 drivers/scsi/scsi_scan.c:1754 do_scsi_scan_host drivers/scsi/scsi_scan.c:1893 [inline] scsi_scan_host+0x39e/0x660 drivers/scsi/scsi_scan.c:1923 virtscsi_probe+0x868/0x9e0 drivers/scsi/virtio_scsi.c:915 virtio_dev_probe+0x8d4/0xb20 drivers/virtio/virtio.c:273 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x285/0x970 drivers/base/dd.c:595 page_owner free stack trace missing Memory state around the buggy address: ffff88810abe4b00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff88810abe4b80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb >ffff88810abe4c00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff88810abe4c80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff88810abe4d00: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ==================================================================