Extracting prog: 1m28.496993089s
Minimizing prog: 11m24.763658396s
Simplifying prog options: 0s
Extracting C: 55.808503066s
Simplifying C: 10m33.842991258s
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: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$hid-syz_usb_control_io$hid-syz_usb_control_io$hid-syz_open_dev$usbmon-unshare
detailed listing:
executing program 0:
r0 = syz_usb_connect$hid(0x0, 0x36, &(0x7f0000000040)=ANY=[@ANYBLOB="12010000000018105e04da0700000000000109022400010000000009040000090300000009210000000122220009058103"], 0x0)
syz_usb_control_io$hid(r0, 0x0, 0x0)
syz_usb_control_io$hid(r0, &(0x7f0000000000)={0x24, 0x0, 0x0, &(0x7f0000000080)={0x0, 0x22, 0x22, {[@global=@item_012={0x2, 0x1, 0x9, "0100"}, @global=@item_012={0x2, 0x1, 0x0, "0100"}, @main=@item_4, @local=@item_012={0x2, 0x2, 0x2, "90a0"}, @global=@item_4={0x3, 0x1, 0x2}, @main=@item_4={0x3, 0x0, 0xb, "813e2503"}, @local=@item_4={0x3, 0x2, 0x1, "dde84050"}, @local=@item_4={0x3, 0x2, 0x3, "5d8c3dda"}]}}, 0x0}, 0x0)
syz_open_dev$usbmon(&(0x7f0000000080), 0x0, 0x0)
unshare(0x20000400)
program crashed: KASAN: slab-out-of-bounds Read in mon_bin_event
single: successfully extracted reproducer
found reproducer with 5 syscalls
minimizing guilty program
testing program (duration=37.622706054s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect$hid-syz_usb_control_io$hid-syz_usb_control_io$hid-syz_open_dev$usbmon
detailed listing:
executing program 0:
r0 = syz_usb_connect$hid(0x0, 0x36, &(0x7f0000000040)=ANY=[@ANYBLOB="12010000000018105e04da0700000000000109022400010000000009040000090300000009210000000122220009058103"], 0x0)
syz_usb_control_io$hid(r0, 0x0, 0x0)
syz_usb_control_io$hid(r0, &(0x7f0000000000)={0x24, 0x0, 0x0, &(0x7f0000000080)={0x0, 0x22, 0x22, {[@global=@item_012={0x2, 0x1, 0x9, "0100"}, @global=@item_012={0x2, 0x1, 0x0, "0100"}, @main=@item_4, @local=@item_012={0x2, 0x2, 0x2, "90a0"}, @global=@item_4={0x3, 0x1, 0x2}, @main=@item_4={0x3, 0x0, 0xb, "813e2503"}, @local=@item_4={0x3, 0x2, 0x1, "dde84050"}, @local=@item_4={0x3, 0x2, 0x3, "5d8c3dda"}]}}, 0x0}, 0x0)
syz_open_dev$usbmon(&(0x7f0000000080), 0x0, 0x0)
program did not crash
testing program (duration=37.622706054s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect$hid-syz_usb_control_io$hid-syz_usb_control_io$hid-unshare
detailed listing:
executing program 0:
r0 = syz_usb_connect$hid(0x0, 0x36, &(0x7f0000000040)=ANY=[@ANYBLOB="12010000000018105e04da0700000000000109022400010000000009040000090300000009210000000122220009058103"], 0x0)
syz_usb_control_io$hid(r0, 0x0, 0x0)
syz_usb_control_io$hid(r0, &(0x7f0000000000)={0x24, 0x0, 0x0, &(0x7f0000000080)={0x0, 0x22, 0x22, {[@global=@item_012={0x2, 0x1, 0x9, "0100"}, @global=@item_012={0x2, 0x1, 0x0, "0100"}, @main=@item_4, @local=@item_012={0x2, 0x2, 0x2, "90a0"}, @global=@item_4={0x3, 0x1, 0x2}, @main=@item_4={0x3, 0x0, 0xb, "813e2503"}, @local=@item_4={0x3, 0x2, 0x1, "dde84050"}, @local=@item_4={0x3, 0x2, 0x3, "5d8c3dda"}]}}, 0x0}, 0x0)
unshare(0x20000400)
program did not crash
testing program (duration=37.622706054s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect$hid-syz_usb_control_io$hid-syz_open_dev$usbmon-unshare
detailed listing:
executing program 0:
r0 = syz_usb_connect$hid(0x0, 0x36, &(0x7f0000000040)=ANY=[@ANYBLOB="12010000000018105e04da0700000000000109022400010000000009040000090300000009210000000122220009058103"], 0x0)
syz_usb_control_io$hid(r0, 0x0, 0x0)
syz_open_dev$usbmon(&(0x7f0000000080), 0x0, 0x0)
unshare(0x20000400)
program did not crash
testing program (duration=37.622706054s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect$hid-syz_usb_control_io$hid-syz_open_dev$usbmon-unshare
detailed listing:
executing program 0:
r0 = syz_usb_connect$hid(0x0, 0x36, &(0x7f0000000040)=ANY=[@ANYBLOB="12010000000018105e04da0700000000000109022400010000000009040000090300000009210000000122220009058103"], 0x0)
syz_usb_control_io$hid(r0, &(0x7f0000000000)={0x24, 0x0, 0x0, &(0x7f0000000080)={0x0, 0x22, 0x22, {[@global=@item_012={0x2, 0x1, 0x9, "0100"}, @global=@item_012={0x2, 0x1, 0x0, "0100"}, @main=@item_4, @local=@item_012={0x2, 0x2, 0x2, "90a0"}, @global=@item_4={0x3, 0x1, 0x2}, @main=@item_4={0x3, 0x0, 0xb, "813e2503"}, @local=@item_4={0x3, 0x2, 0x1, "dde84050"}, @local=@item_4={0x3, 0x2, 0x3, "5d8c3dda"}]}}, 0x0}, 0x0)
syz_open_dev$usbmon(&(0x7f0000000080), 0x0, 0x0)
unshare(0x20000400)
program did not crash
testing program (duration=37.622706054s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_control_io$hid-syz_usb_control_io$hid-syz_open_dev$usbmon-unshare
detailed listing:
executing program 0:
syz_usb_control_io$hid(0xffffffffffffffff, 0x0, 0x0)
syz_usb_control_io$hid(0xffffffffffffffff, &(0x7f0000000000)={0x24, 0x0, 0x0, &(0x7f0000000080)={0x0, 0x22, 0x22, {[@global=@item_012={0x2, 0x1, 0x9, "0100"}, @global=@item_012={0x2, 0x1, 0x0, "0100"}, @main=@item_4, @local=@item_012={0x2, 0x2, 0x2, "90a0"}, @global=@item_4={0x3, 0x1, 0x2}, @main=@item_4={0x3, 0x0, 0xb, "813e2503"}, @local=@item_4={0x3, 0x2, 0x1, "dde84050"}, @local=@item_4={0x3, 0x2, 0x3, "5d8c3dda"}]}}, 0x0}, 0x0)
syz_open_dev$usbmon(&(0x7f0000000080), 0x0, 0x0)
unshare(0x20000400)
program did not crash
testing program (duration=37.622706054s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect$hid-syz_usb_control_io$hid-syz_usb_control_io$hid-syz_open_dev$usbmon-unshare
detailed listing:
executing program 0:
r0 = syz_usb_connect$hid(0x0, 0x36, 0x0, 0x0)
syz_usb_control_io$hid(r0, 0x0, 0x0)
syz_usb_control_io$hid(r0, &(0x7f0000000000)={0x24, 0x0, 0x0, &(0x7f0000000080)={0x0, 0x22, 0x22, {[@global=@item_012={0x2, 0x1, 0x9, "0100"}, @global=@item_012={0x2, 0x1, 0x0, "0100"}, @main=@item_4, @local=@item_012={0x2, 0x2, 0x2, "90a0"}, @global=@item_4={0x3, 0x1, 0x2}, @main=@item_4={0x3, 0x0, 0xb, "813e2503"}, @local=@item_4={0x3, 0x2, 0x1, "dde84050"}, @local=@item_4={0x3, 0x2, 0x3, "5d8c3dda"}]}}, 0x0}, 0x0)
syz_open_dev$usbmon(&(0x7f0000000080), 0x0, 0x0)
unshare(0x20000400)
program did not crash
testing program (duration=37.622706054s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect$hid-syz_usb_control_io$hid-syz_usb_control_io$hid-syz_open_dev$usbmon-unshare
detailed listing:
executing program 0:
r0 = syz_usb_connect$hid(0x0, 0x36, &(0x7f0000000040)=ANY=[@ANYBLOB], 0x0)
syz_usb_control_io$hid(r0, 0x0, 0x0)
syz_usb_control_io$hid(r0, &(0x7f0000000000)={0x24, 0x0, 0x0, &(0x7f0000000080)={0x0, 0x22, 0x22, {[@global=@item_012={0x2, 0x1, 0x9, "0100"}, @global=@item_012={0x2, 0x1, 0x0, "0100"}, @main=@item_4, @local=@item_012={0x2, 0x2, 0x2, "90a0"}, @global=@item_4={0x3, 0x1, 0x2}, @main=@item_4={0x3, 0x0, 0xb, "813e2503"}, @local=@item_4={0x3, 0x2, 0x1, "dde84050"}, @local=@item_4={0x3, 0x2, 0x3, "5d8c3dda"}]}}, 0x0}, 0x0)
syz_open_dev$usbmon(&(0x7f0000000080), 0x0, 0x0)
unshare(0x20000400)
program did not crash
testing program (duration=37.622706054s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect$hid-syz_usb_control_io$hid-syz_usb_control_io$hid-syz_open_dev$usbmon-unshare
detailed listing:
executing program 0:
r0 = syz_usb_connect$hid(0x0, 0x36, &(0x7f0000000040)=ANY=[@ANYBLOB="12010000000018105e04da0700000000000109022400010000000009040000090300000009210000000122220009058103"], 0x0)
syz_usb_control_io$hid(r0, 0x0, 0x0)
syz_usb_control_io$hid(r0, 0x0, 0x0)
syz_open_dev$usbmon(&(0x7f0000000080), 0x0, 0x0)
unshare(0x20000400)
program did not crash
testing program (duration=37.622706054s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect$hid-syz_usb_control_io$hid-syz_usb_control_io$hid-syz_open_dev$usbmon-unshare
detailed listing:
executing program 0:
r0 = syz_usb_connect$hid(0x0, 0x36, &(0x7f0000000040)=ANY=[@ANYBLOB="12010000000018105e04da0700000000000109022400010000000009040000090300000009210000000122220009058103"], 0x0)
syz_usb_control_io$hid(r0, 0x0, 0x0)
syz_usb_control_io$hid(r0, &(0x7f0000000000)={0x24, 0x0, 0x0, 0x0, 0x0}, 0x0)
syz_open_dev$usbmon(&(0x7f0000000080), 0x0, 0x0)
unshare(0x20000400)
program did not crash
testing program (duration=37.622706054s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect$hid-syz_usb_control_io$hid-syz_usb_control_io$hid-syz_open_dev$usbmon-unshare
detailed listing:
executing program 0:
r0 = syz_usb_connect$hid(0x0, 0x36, &(0x7f0000000040)=ANY=[@ANYBLOB="12010000000018105e04da0700000000000109022400010000000009040000090300000009210000000122220009058103"], 0x0)
syz_usb_control_io$hid(r0, 0x0, 0x0)
syz_usb_control_io$hid(r0, &(0x7f0000000000)={0x24, 0x0, 0x0, &(0x7f0000000080), 0x0}, 0x0)
syz_open_dev$usbmon(&(0x7f0000000080), 0x0, 0x0)
unshare(0x20000400)
program did not crash
testing program (duration=37.622706054s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect$hid-syz_usb_control_io$hid-syz_usb_control_io$hid-syz_open_dev$usbmon-unshare
detailed listing:
executing program 0:
r0 = syz_usb_connect$hid(0x0, 0x36, &(0x7f0000000040)=ANY=[@ANYBLOB="12010000000018105e04da0700000000000109022400010000000009040000090300000009210000000122220009058103"], 0x0)
syz_usb_control_io$hid(r0, 0x0, 0x0)
syz_usb_control_io$hid(r0, &(0x7f0000000000)={0x24, 0x0, 0x0, &(0x7f0000000080)={0x0, 0x22, 0x20, {[@global=@item_012={0x2, 0x1, 0x9, "0100"}, @global=@item_012={0x2, 0x1, 0x0, "0100"}, @main=@item_4, @local=@item_012={0x0, 0x2, 0x2}, @global=@item_4={0x3, 0x1, 0x2}, @main=@item_4={0x3, 0x0, 0xb, "813e2503"}, @local=@item_4={0x3, 0x2, 0x1, "dde84050"}, @local=@item_4={0x3, 0x2, 0x3, "5d8c3dda"}]}}, 0x0}, 0x0)
syz_open_dev$usbmon(&(0x7f0000000080), 0x0, 0x0)
unshare(0x20000400)
program did not crash
testing program (duration=37.622706054s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect$hid-syz_usb_control_io$hid-syz_usb_control_io$hid-syz_open_dev$usbmon-unshare
detailed listing:
executing program 0:
r0 = syz_usb_connect$hid(0x0, 0x36, &(0x7f0000000040)=ANY=[@ANYBLOB="12010000000018105e04da0700000000000109022400010000000009040000090300000009210000000122220009058103"], 0x0)
syz_usb_control_io$hid(r0, 0x0, 0x0)
syz_usb_control_io$hid(r0, &(0x7f0000000000)={0x24, 0x0, 0x0, &(0x7f0000000080)={0x0, 0x22, 0x20, {[@global=@item_012={0x2, 0x1, 0x9, "0100"}, @global, @main=@item_4, @local=@item_012={0x2, 0x2, 0x2, "90a0"}, @global=@item_4={0x3, 0x1, 0x2}, @main=@item_4={0x3, 0x0, 0xb, "813e2503"}, @local=@item_4={0x3, 0x2, 0x1, "dde84050"}, @local=@item_4={0x3, 0x2, 0x3, "5d8c3dda"}]}}, 0x0}, 0x0)
syz_open_dev$usbmon(&(0x7f0000000080), 0x0, 0x0)
unshare(0x20000400)
program did not crash
testing program (duration=37.622706054s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect$hid-syz_usb_control_io$hid-syz_usb_control_io$hid-syz_open_dev$usbmon-unshare
detailed listing:
executing program 0:
r0 = syz_usb_connect$hid(0x0, 0x36, &(0x7f0000000040)=ANY=[@ANYBLOB="12010000000018105e04da0700000000000109022400010000000009040000090300000009210000000122220009058103"], 0x0)
syz_usb_control_io$hid(r0, 0x0, 0x0)
syz_usb_control_io$hid(r0, &(0x7f0000000000)={0x24, 0x0, 0x0, &(0x7f0000000080)={0x0, 0x22, 0x20, {[@global=@item_012={0x0, 0x1, 0x9}, @global=@item_012={0x2, 0x1, 0x0, "0100"}, @main=@item_4, @local=@item_012={0x2, 0x2, 0x2, "90a0"}, @global=@item_4={0x3, 0x1, 0x2}, @main=@item_4={0x3, 0x0, 0xb, "813e2503"}, @local=@item_4={0x3, 0x2, 0x1, "dde84050"}, @local=@item_4={0x3, 0x2, 0x3, "5d8c3dda"}]}}, 0x0}, 0x0)
syz_open_dev$usbmon(&(0x7f0000000080), 0x0, 0x0)
unshare(0x20000400)
program did not crash
testing program (duration=37.622706054s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect$hid-syz_usb_control_io$hid-syz_usb_control_io$hid-syz_open_dev$usbmon-unshare
detailed listing:
executing program 0:
r0 = syz_usb_connect$hid(0x0, 0x36, &(0x7f0000000040)=ANY=[@ANYBLOB="12010000000018105e04da0700000000000109022400010000000009040000090300000009210000000122220009058103"], 0x0)
syz_usb_control_io$hid(r0, 0x0, 0x0)
syz_usb_control_io$hid(r0, &(0x7f0000000000)={0x24, 0x0, 0x0, &(0x7f0000000080)={0x0, 0x22, 0x22, {[@global=@item_012={0x2, 0x1, 0x9, "0100"}, @global=@item_012={0x2, 0x1, 0x0, "0100"}, @main=@item_4, @local=@item_012={0x2, 0x2, 0x2, "90a0"}, @global=@item_4={0x3, 0x1, 0x2}, @main=@item_4={0x3, 0x0, 0xb, "813e2503"}, @local=@item_4={0x3, 0x2, 0x1, "dde84050"}, @local=@item_4={0x3, 0x2, 0x3, "5d8c3dda"}]}}, 0x0}, 0x0)
syz_open_dev$usbmon(0x0, 0x0, 0x0)
unshare(0x20000400)
program did not crash
extracting C reproducer
testing compiled C program (duration=37.622706054s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect$hid-syz_usb_control_io$hid-syz_usb_control_io$hid-syz_open_dev$usbmon-unshare
program crashed: KASAN: slab-out-of-bounds Read in mon_bin_event
simplifying C reproducer
testing compiled C program (duration=37.622706054s, {Threaded:false Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect$hid-syz_usb_control_io$hid-syz_usb_control_io$hid-syz_open_dev$usbmon-unshare
program did not crash
testing compiled C program (duration=37.622706054s, {Threaded:true Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:false Cgroups:false BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect$hid-syz_usb_control_io$hid-syz_usb_control_io$hid-syz_open_dev$usbmon-unshare
program did not crash
testing compiled C program (duration=37.622706054s, {Threaded:true 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$hid-syz_usb_control_io$hid-syz_usb_control_io$hid-syz_open_dev$usbmon-unshare
program did not crash
testing compiled C program (duration=37.622706054s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox: SandboxArg:0 Leak:false NetInjection:false NetDevices:false NetReset:false Cgroups:false BinfmtMisc:false CloseFDs:false KCSAN:false DevlinkPCI:false NicVF:false USB:false VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:false UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect$hid-syz_usb_control_io$hid-syz_usb_control_io$hid-syz_open_dev$usbmon-unshare
program did not crash
testing compiled C program (duration=37.622706054s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:false NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect$hid-syz_usb_control_io$hid-syz_usb_control_io$hid-syz_open_dev$usbmon-unshare
program did not crash
testing compiled C program (duration=37.622706054s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:false NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect$hid-syz_usb_control_io$hid-syz_usb_control_io$hid-syz_open_dev$usbmon-unshare
program did not crash
testing compiled C program (duration=37.622706054s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:false Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect$hid-syz_usb_control_io$hid-syz_usb_control_io$hid-syz_open_dev$usbmon-unshare
program did not crash
testing compiled C program (duration=37.622706054s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:false BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect$hid-syz_usb_control_io$hid-syz_usb_control_io$hid-syz_open_dev$usbmon-unshare
program did not crash
testing compiled C program (duration=37.622706054s, {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:false CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect$hid-syz_usb_control_io$hid-syz_usb_control_io$hid-syz_open_dev$usbmon-unshare
program did not crash
testing compiled C program (duration=37.622706054s, {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:false 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$hid-syz_usb_control_io$hid-syz_usb_control_io$hid-syz_open_dev$usbmon-unshare
program did not crash
testing compiled C program (duration=37.622706054s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:false Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect$hid-syz_usb_control_io$hid-syz_usb_control_io$hid-syz_open_dev$usbmon-unshare
program did not crash
testing compiled C program (duration=37.622706054s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:false Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect$hid-syz_usb_control_io$hid-syz_usb_control_io$hid-syz_open_dev$usbmon-unshare
program did not crash
testing compiled C program (duration=37.622706054s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:false UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect$hid-syz_usb_control_io$hid-syz_usb_control_io$hid-syz_open_dev$usbmon-unshare
program did not crash
testing program (duration=37.622706054s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect$hid-syz_usb_control_io$hid-syz_usb_control_io$hid-syz_open_dev$usbmon-unshare
detailed listing:
executing program 0:
r0 = syz_usb_connect$hid(0x0, 0x36, &(0x7f0000000040)=ANY=[@ANYBLOB="12010000000018105e04da0700000000000109022400010000000009040000090300000009210000000122220009058103"], 0x0)
syz_usb_control_io$hid(r0, 0x0, 0x0)
syz_usb_control_io$hid(r0, &(0x7f0000000000)={0x24, 0x0, 0x0, &(0x7f0000000080)={0x0, 0x22, 0x22, {[@global=@item_012={0x2, 0x1, 0x9, "0100"}, @global=@item_012={0x2, 0x1, 0x0, "0100"}, @main=@item_4, @local=@item_012={0x2, 0x2, 0x2, "90a0"}, @global=@item_4={0x3, 0x1, 0x2}, @main=@item_4={0x3, 0x0, 0xb, "813e2503"}, @local=@item_4={0x3, 0x2, 0x1, "dde84050"}, @local=@item_4={0x3, 0x2, 0x3, "5d8c3dda"}]}}, 0x0}, 0x0)
syz_open_dev$usbmon(&(0x7f0000000080), 0x0, 0x0)
unshare(0x20000400)
program crashed: KASAN: slab-out-of-bounds Read in mon_bin_event
validation run: crashed=true
testing program (duration=37.622706054s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect$hid-syz_usb_control_io$hid-syz_usb_control_io$hid-syz_open_dev$usbmon-unshare
detailed listing:
executing program 0:
r0 = syz_usb_connect$hid(0x0, 0x36, &(0x7f0000000040)=ANY=[@ANYBLOB="12010000000018105e04da0700000000000109022400010000000009040000090300000009210000000122220009058103"], 0x0)
syz_usb_control_io$hid(r0, 0x0, 0x0)
syz_usb_control_io$hid(r0, &(0x7f0000000000)={0x24, 0x0, 0x0, &(0x7f0000000080)={0x0, 0x22, 0x22, {[@global=@item_012={0x2, 0x1, 0x9, "0100"}, @global=@item_012={0x2, 0x1, 0x0, "0100"}, @main=@item_4, @local=@item_012={0x2, 0x2, 0x2, "90a0"}, @global=@item_4={0x3, 0x1, 0x2}, @main=@item_4={0x3, 0x0, 0xb, "813e2503"}, @local=@item_4={0x3, 0x2, 0x1, "dde84050"}, @local=@item_4={0x3, 0x2, 0x3, "5d8c3dda"}]}}, 0x0}, 0x0)
syz_open_dev$usbmon(&(0x7f0000000080), 0x0, 0x0)
unshare(0x20000400)
program crashed: KASAN: slab-out-of-bounds Read in mon_bin_event
validation run: crashed=true
testing program (duration=37.622706054s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect$hid-syz_usb_control_io$hid-syz_usb_control_io$hid-syz_open_dev$usbmon-unshare
detailed listing:
executing program 0:
r0 = syz_usb_connect$hid(0x0, 0x36, &(0x7f0000000040)=ANY=[@ANYBLOB="12010000000018105e04da0700000000000109022400010000000009040000090300000009210000000122220009058103"], 0x0)
syz_usb_control_io$hid(r0, 0x0, 0x0)
syz_usb_control_io$hid(r0, &(0x7f0000000000)={0x24, 0x0, 0x0, &(0x7f0000000080)={0x0, 0x22, 0x22, {[@global=@item_012={0x2, 0x1, 0x9, "0100"}, @global=@item_012={0x2, 0x1, 0x0, "0100"}, @main=@item_4, @local=@item_012={0x2, 0x2, 0x2, "90a0"}, @global=@item_4={0x3, 0x1, 0x2}, @main=@item_4={0x3, 0x0, 0xb, "813e2503"}, @local=@item_4={0x3, 0x2, 0x1, "dde84050"}, @local=@item_4={0x3, 0x2, 0x3, "5d8c3dda"}]}}, 0x0}, 0x0)
syz_open_dev$usbmon(&(0x7f0000000080), 0x0, 0x0)
unshare(0x20000400)
program crashed: KASAN: slab-out-of-bounds Read in mon_bin_event
validation run: crashed=true
reproducing took 26m24.751850312s
repro crashed as (corrupted=false):
microsoft 0003:045E:07DA.0003: unknown main item tag 0x0
microsoft 0003:045E:07DA.0003: ignoring exceeding usage max
==================================================================
BUG: KASAN: slab-out-of-bounds in mon_copy_to_buff drivers/usb/mon/mon_bin.c:252 [inline]
BUG: KASAN: slab-out-of-bounds in mon_bin_get_data drivers/usb/mon/mon_bin.c:420 [inline]
BUG: KASAN: slab-out-of-bounds in mon_bin_event+0x12c1/0x23e0 drivers/usb/mon/mon_bin.c:606
Read of size 4032 at addr ffff8881251cd301 by task kworker/1:3/382
CPU: 1 UID: 0 PID: 382 Comm: kworker/1:3 Not tainted 6.12.30-syzkaller-g668635cd345a #0 d19ba9d9380c3ec16bff3ad427c1e033f6258032
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Workqueue: usb_hub_wq hub_event
Call Trace:
__dump_stack+0x21/0x30 lib/dump_stack.c:94
dump_stack_lvl+0x10c/0x190 lib/dump_stack.c:120
print_address_description+0x71/0x220 mm/kasan/report.c:377
print_report+0x4a/0x70 mm/kasan/report.c:488
kasan_report+0x163/0x1a0 mm/kasan/report.c:601
check_region_inline mm/kasan/generic.c:-1 [inline]
kasan_check_range+0x299/0x2a0 mm/kasan/generic.c:189
__asan_memcpy+0x31/0x80 mm/kasan/shadow.c:105
mon_copy_to_buff drivers/usb/mon/mon_bin.c:252 [inline]
mon_bin_get_data drivers/usb/mon/mon_bin.c:420 [inline]
mon_bin_event+0x12c1/0x23e0 drivers/usb/mon/mon_bin.c:606
mon_bin_submit+0x2b/0x40 drivers/usb/mon/mon_bin.c:626
mon_bus_submit drivers/usb/mon/mon_main.c:89 [inline]
mon_submit+0x1b9/0x230 drivers/usb/mon/mon_main.c:100
usbmon_urb_submit include/linux/usb/hcd.h:740 [inline]
usb_hcd_submit_urb+0x12d/0x1a20 drivers/usb/core/hcd.c:1518
usb_submit_urb+0x111b/0x1800 drivers/usb/core/urb.c:581
usb_start_wait_urb+0x11b/0x2f0 drivers/usb/core/message.c:59
usb_internal_control_msg drivers/usb/core/message.c:103 [inline]
usb_control_msg+0x25a/0x490 drivers/usb/core/message.c:154
usbhid_set_raw_report drivers/hid/usbhid/hid-core.c:928 [inline]
usbhid_raw_request+0x457/0x590 drivers/hid/usbhid/hid-core.c:1296
__hid_request+0x1e8/0x410 drivers/hid/hid-core.c:1979
hidinput_change_resolution_multipliers drivers/hid/hid-input.c:1950 [inline]
hidinput_connect+0x241b/0x3340 drivers/hid/hid-input.c:2327
hid_connect+0x49a/0x1a20 drivers/hid/hid-core.c:2236
hid_hw_start+0xcb/0x160 drivers/hid/hid-core.c:2351
ms_probe+0x194/0x460 drivers/hid/hid-microsoft.c:391
__hid_device_probe drivers/hid/hid-core.c:2702 [inline]
hid_device_probe+0x2c4/0x5d0 drivers/hid/hid-core.c:2739
call_driver_probe drivers/base/dd.c:-1 [inline]
really_probe+0x2d3/0x890 drivers/base/dd.c:657
__driver_probe_device+0x198/0x280 drivers/base/dd.c:799
driver_probe_device+0x54/0x3f0 drivers/base/dd.c:829
__device_attach_driver+0x2f1/0x4b0 drivers/base/dd.c:957
bus_for_each_drv+0x260/0x2f0 drivers/base/bus.c:459
__device_attach+0x2bd/0x3a0 drivers/base/dd.c:1029
device_initial_probe+0x1e/0x30 drivers/base/dd.c:1078
bus_probe_device+0x18b/0x270 drivers/base/bus.c:534
device_add+0x80c/0xc00 drivers/base/core.c:3692
hid_add_device+0x39b/0x560 drivers/hid/hid-core.c:2885
usbhid_probe+0xde3/0x12b0 drivers/hid/usbhid/hid-core.c:1432
usb_probe_interface+0x696/0xc00 drivers/usb/core/driver.c:399
call_driver_probe drivers/base/dd.c:-1 [inline]
really_probe+0x2d3/0x890 drivers/base/dd.c:657
__driver_probe_device+0x198/0x280 drivers/base/dd.c:799
driver_probe_device+0x54/0x3f0 drivers/base/dd.c:829
__device_attach_driver+0x2f1/0x4b0 drivers/base/dd.c:957
bus_for_each_drv+0x260/0x2f0 drivers/base/bus.c:459
__device_attach+0x2bd/0x3a0 drivers/base/dd.c:1029
device_initial_probe+0x1e/0x30 drivers/base/dd.c:1078
bus_probe_device+0x18b/0x270 drivers/base/bus.c:534
device_add+0x80c/0xc00 drivers/base/core.c:3692
usb_set_configuration+0x1ad4/0x20b0 drivers/usb/core/message.c:2210
usb_generic_driver_probe+0x95/0x160 drivers/usb/core/generic.c:254
usb_probe_device+0x1d4/0x380 drivers/usb/core/driver.c:294
call_driver_probe drivers/base/dd.c:-1 [inline]
really_probe+0x2d3/0x890 drivers/base/dd.c:657
__driver_probe_device+0x198/0x280 drivers/base/dd.c:799
driver_probe_device+0x54/0x3f0 drivers/base/dd.c:829
__device_attach_driver+0x2f1/0x4b0 drivers/base/dd.c:957
bus_for_each_drv+0x260/0x2f0 drivers/base/bus.c:459
__device_attach+0x2bd/0x3a0 drivers/base/dd.c:1029
device_initial_probe+0x1e/0x30 drivers/base/dd.c:1078
bus_probe_device+0x18b/0x270 drivers/base/bus.c:534
device_add+0x80c/0xc00 drivers/base/core.c:3692
usb_new_device+0x9ed/0x1590 drivers/usb/core/hub.c:2662
hub_port_connect drivers/usb/core/hub.c:5533 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5673 [inline]
port_event drivers/usb/core/hub.c:5833 [inline]
hub_event+0x265b/0x41a0 drivers/usb/core/hub.c:5915
process_one_work kernel/workqueue.c:3238 [inline]
process_scheduled_works+0x7d2/0x1020 kernel/workqueue.c:3319
worker_thread+0xc58/0x1250 kernel/workqueue.c:3400
kthread+0x2ca/0x370 kernel/kthread.c:389
ret_from_fork+0x64/0xa0 arch/x86/kernel/process.c:153
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
Allocated by task 382:
kasan_save_stack mm/kasan/common.c:47 [inline]
kasan_save_track+0x3e/0x80 mm/kasan/common.c:68
kasan_save_alloc_info+0x40/0x50 mm/kasan/generic.c:565
poison_kmalloc_redzone mm/kasan/common.c:377 [inline]
__kasan_kmalloc+0x96/0xb0 mm/kasan/common.c:394
kasan_kmalloc include/linux/kasan.h:260 [inline]
__do_kmalloc_node mm/slub.c:4347 [inline]
__kmalloc_noprof+0x1b1/0x450 mm/slub.c:4359
kmalloc_noprof include/linux/slab.h:885 [inline]
kzalloc_noprof include/linux/slab.h:1017 [inline]
hid_alloc_report_buf drivers/hid/hid-core.c:1880 [inline]
__hid_request+0xa9/0x410 drivers/hid/hid-core.c:1970
hidinput_change_resolution_multipliers drivers/hid/hid-input.c:1950 [inline]
hidinput_connect+0x241b/0x3340 drivers/hid/hid-input.c:2327
hid_connect+0x49a/0x1a20 drivers/hid/hid-core.c:2236
hid_hw_start+0xcb/0x160 drivers/hid/hid-core.c:2351
ms_probe+0x194/0x460 drivers/hid/hid-microsoft.c:391
__hid_device_probe drivers/hid/hid-core.c:2702 [inline]
hid_device_probe+0x2c4/0x5d0 drivers/hid/hid-core.c:2739
call_driver_probe drivers/base/dd.c:-1 [inline]
really_probe+0x2d3/0x890 drivers/base/dd.c:657
__driver_probe_device+0x198/0x280 drivers/base/dd.c:799
driver_probe_device+0x54/0x3f0 drivers/base/dd.c:829
__device_attach_driver+0x2f1/0x4b0 drivers/base/dd.c:957
bus_for_each_drv+0x260/0x2f0 drivers/base/bus.c:459
__device_attach+0x2bd/0x3a0 drivers/base/dd.c:1029
device_initial_probe+0x1e/0x30 drivers/base/dd.c:1078
bus_probe_device+0x18b/0x270 drivers/base/bus.c:534
device_add+0x80c/0xc00 drivers/base/core.c:3692
hid_add_device+0x39b/0x560 drivers/hid/hid-core.c:2885
usbhid_probe+0xde3/0x12b0 drivers/hid/usbhid/hid-core.c:1432
usb_probe_interface+0x696/0xc00 drivers/usb/core/driver.c:399
call_driver_probe drivers/base/dd.c:-1 [inline]
really_probe+0x2d3/0x890 drivers/base/dd.c:657
__driver_probe_device+0x198/0x280 drivers/base/dd.c:799
driver_probe_device+0x54/0x3f0 drivers/base/dd.c:829
__device_attach_driver+0x2f1/0x4b0 drivers/base/dd.c:957
bus_for_each_drv+0x260/0x2f0 drivers/base/bus.c:459
__device_attach+0x2bd/0x3a0 drivers/base/dd.c:1029
device_initial_probe+0x1e/0x30 drivers/base/dd.c:1078
bus_probe_device+0x18b/0x270 drivers/base/bus.c:534
device_add+0x80c/0xc00 drivers/base/core.c:3692
usb_set_configuration+0x1ad4/0x20b0 drivers/usb/core/message.c:2210
usb_generic_driver_probe+0x95/0x160 drivers/usb/core/generic.c:254
usb_probe_device+0x1d4/0x380 drivers/usb/core/driver.c:294
call_driver_probe drivers/base/dd.c:-1 [inline]
really_probe+0x2d3/0x890 drivers/base/dd.c:657
__driver_probe_device+0x198/0x280 drivers/base/dd.c:799
driver_probe_device+0x54/0x3f0 drivers/base/dd.c:829
__device_attach_driver+0x2f1/0x4b0 drivers/base/dd.c:957
bus_for_each_drv+0x260/0x2f0 drivers/base/bus.c:459
__device_attach+0x2bd/0x3a0 drivers/base/dd.c:1029
device_initial_probe+0x1e/0x30 drivers/base/dd.c:1078
bus_probe_device+0x18b/0x270 drivers/base/bus.c:534
device_add+0x80c/0xc00 drivers/base/core.c:3692
usb_new_device+0x9ed/0x1590 drivers/usb/core/hub.c:2662
hub_port_connect drivers/usb/core/hub.c:5533 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5673 [inline]
port_event drivers/usb/core/hub.c:5833 [inline]
hub_event+0x265b/0x41a0 drivers/usb/core/hub.c:5915
process_one_work kernel/workqueue.c:3238 [inline]
process_scheduled_works+0x7d2/0x1020 kernel/workqueue.c:3319
worker_thread+0xc58/0x1250 kernel/workqueue.c:3400
kthread+0x2ca/0x370 kernel/kthread.c:389
ret_from_fork+0x64/0xa0 arch/x86/kernel/process.c:153
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
The buggy address belongs to the object at ffff8881251cd300
which belongs to the cache kmalloc-8 of size 8
The buggy address is located 1 bytes inside of
allocated 7-byte region [ffff8881251cd300, ffff8881251cd307)
The buggy address belongs to the physical page:
page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1251cd
flags: 0x4000000000000000(zone=1)
page_type: f5(slab)
raw: 4000000000000000 ffff888100041500 dead000000000122 0000000000000000
raw: 0000000000000000 0000000080800080 00000001f5000000 0000000000000000
page dumped because: kasan: bad access detected
page_owner tracks the page as allocated
page last allocated via order 0, migratetype Unmovable, gfp_mask 0x152cc0(GFP_USER|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP), pid 368, tgid 368 (syz-executor), ts 28823766879, free_ts 27738866019
set_page_owner include/linux/page_owner.h:35 [inline]
post_alloc_hook+0x3b9/0x3f0 mm/page_alloc.c:1795
prep_new_page+0x1c/0x120 mm/page_alloc.c:1803
get_page_from_freelist+0x46bb/0x4750 mm/page_alloc.c:3854
__alloc_pages_noprof+0x30d/0x6c0 mm/page_alloc.c:5186
alloc_slab_page+0x6b/0x1f0 mm/slub.c:-1
allocate_slab+0x69/0x440 mm/slub.c:2655
new_slab mm/slub.c:2709 [inline]
___slab_alloc+0x59a/0x8b0 mm/slub.c:3897
__slab_alloc mm/slub.c:3987 [inline]
__slab_alloc_node mm/slub.c:4040 [inline]
slab_alloc_node mm/slub.c:4201 [inline]
__do_kmalloc_node mm/slub.c:4346 [inline]
__kmalloc_node_track_caller_noprof+0x23a/0x440 mm/slub.c:4366
kvasprintf+0xdf/0x240 lib/kasprintf.c:25
kvasprintf_const+0xf6/0x250 lib/kasprintf.c:49
kobject_set_name_vargs+0x65/0x120 lib/kobject.c:274
kobject_add_varg lib/kobject.c:368 [inline]
kobject_init_and_add+0xde/0x190 lib/kobject.c:457
netdev_queue_add_kobject net/core/net-sysfs.c:1785 [inline]
netdev_queue_update_kobjects+0x1fe/0x550 net/core/net-sysfs.c:1837
register_queue_kobjects net/core/net-sysfs.c:1899 [inline]
netdev_register_kobject+0x270/0x320 net/core/net-sysfs.c:2139
register_netdevice+0xf73/0x19d0 net/core/dev.c:10573
veth_newlink+0x7ba/0xc20 drivers/net/veth.c:1861
page last free pid 338 tgid 338 stack trace:
reset_page_owner include/linux/page_owner.h:28 [inline]
free_pages_prepare mm/page_alloc.c:1321 [inline]
free_unref_page+0xae5/0xdd0 mm/page_alloc.c:2810
__free_pages+0x6b/0x3b0 mm/page_alloc.c:5273
vfree+0x3bf/0x580 mm/vmalloc.c:3388
kcov_put kernel/kcov.c:439 [inline]
kcov_close+0x2c/0x70 kernel/kcov.c:535
__fput+0x1fe/0xa00 fs/file_table.c:431
____fput+0x20/0x30 fs/file_table.c:459
task_work_run+0x1e0/0x250 kernel/task_work.c:240
exit_task_work include/linux/task_work.h:43 [inline]
do_exit+0x9b4/0x2630 kernel/exit.c:944
do_group_exit+0x22a/0x300 kernel/exit.c:1094
get_signal+0x139d/0x14f0 kernel/signal.c:2934
arch_do_signal_or_restart+0x96/0x720 arch/x86/kernel/signal.c:337
exit_to_user_mode_loop kernel/entry/common.c:111 [inline]
exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline]
__syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline]
syscall_exit_to_user_mode+0x58/0xb0 kernel/entry/common.c:218
do_syscall_64+0x64/0xf0 arch/x86/entry/common.c:89
entry_SYSCALL_64_after_hwframe+0x76/0x7e
Memory state around the buggy address:
ffff8881251cd200: 00 fc fc fc 04 fc fc fc fa fc fc fc 00 fc fc fc
ffff8881251cd280: fc fc fc fc fa fc fc fc fc fc fc fc fa fc fc fc
>ffff8881251cd300: 07 fc fc fc 04 fc fc fc fa fc fc fc fa fc fc fc
^
ffff8881251cd380: fc fc fc fc fc fc fc fc 05 fc fc fc 00 fc fc fc
ffff8881251cd400: 00 fc fc fc fc fc fc fc fa fc fc fc 05 fc fc fc
==================================================================
microsoft 0003:045E:07DA.0003: No inputs registered, leaving
microsoft 0003:045E:07DA.0003: hidraw2: USB HID v0.00 Device [HID 045e:07da] on usb-dummy_hcd.3-1/input0
microsoft 0003:045E:07DA.0003: no inputs found
microsoft 0003:045E:07DA.0003: could not initialize ff, continuing anyway
usb 4-1: USB disconnect, device number 2
usb 4-1: new high-speed USB device number 3 using dummy_hcd
usb 4-1: Using ep0 maxpacket: 16
usb 4-1: config 0 interface 0 altsetting 0 endpoint 0x81 has an invalid bInterval 0, changing to 7
usb 4-1: config 0 interface 0 altsetting 0 endpoint 0x81 has invalid wMaxPacketSize 0
usb 4-1: config 0 interface 0 altsetting 0 has 1 endpoint descriptor, different from the interface descriptor's value: 9
usb 4-1: New USB device found, idVendor=045e, idProduct=07da, bcdDevice= 0.00
usb 4-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
usb 4-1: config 0 descriptor??
microsoft 0003:045E:07DA.0008: unknown main item tag 0x0
microsoft 0003:045E:07DA.0008: ignoring exceeding usage max
microsoft 0003:045E:07DA.0008: No inputs registered, leaving
microsoft 0003:045E:07DA.0008: hidraw1: USB HID v0.00 Device [HID 045e:07da] on usb-dummy_hcd.3-1/input0
microsoft 0003:045E:07DA.0008: no inputs found
microsoft 0003:045E:07DA.0008: could not initialize ff, continuing anyway
usb 4-1: USB disconnect, device number 3
usb 4-1: new high-speed USB device number 4 using dummy_hcd
usb 4-1: Using ep0 maxpacket: 16
usb 4-1: config 0 interface 0 altsetting 0 endpoint 0x81 has an invalid bInterval 0, changing to 7
usb 4-1: config 0 interface 0 altsetting 0 endpoint 0x81 has invalid wMaxPacketSize 0
usb 4-1: config 0 interface 0 altsetting 0 has 1 endpoint descriptor, different from the interface descriptor's value: 9
usb 4-1: New USB device found, idVendor=045e, idProduct=07da, bcdDevice= 0.00
usb 4-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
usb 4-1: config 0 descriptor??
microsoft 0003:045E:07DA.000C: unknown main item tag 0x0
microsoft 0003:045E:07DA.000C: ignoring exceeding usage max
microsoft 0003:045E:07DA.000C: No inputs registered, leaving
microsoft 0003:045E:07DA.000C: hidraw1: USB HID v0.00 Device [HID 045e:07da] on usb-dummy_hcd.3-1/input0
microsoft 0003:045E:07DA.000C: no inputs found
microsoft 0003:045E:07DA.000C: could not initialize ff, continuing anyway
usb 4-1: USB disconnect, device number 4
usb 4-1: new high-speed USB device number 5 using dummy_hcd
usb 4-1: Using ep0 maxpacket: 16
usb 4-1: config 0 interface 0 altsetting 0 endpoint 0x81 has an invalid bInterval 0, changing to 7
usb 4-1: config 0 interface 0 altsetting 0 endpoint 0x81 has invalid wMaxPacketSize 0
usb 4-1: config 0 interface 0 altsetting 0 has 1 endpoint descriptor, different from the interface descriptor's value: 9
usb 4-1: New USB device found, idVendor=045e, idProduct=07da, bcdDevice= 0.00
usb 4-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
usb 4-1: config 0 descriptor??
microsoft 0003:045E:07DA.0010: unknown main item tag 0x0
microsoft 0003:045E:07DA.0010: ignoring exceeding usage max
microsoft 0003:045E:07DA.0010: No inputs registered, leaving
microsoft 0003:045E:07DA.0010: hidraw1: USB HID v0.00 Device [HID 045e:07da] on usb-dummy_hcd.3-1/input0
microsoft 0003:045E:07DA.0010: no inputs found
microsoft 0003:045E:07DA.0010: could not initialize ff, continuing anyway
usb 4-1: USB disconnect, device number 5
usb 4-1: new high-speed USB device number 6 using dummy_hcd
usb 4-1: Using ep0 maxpacket: 16
usb 4-1: config 0 interface 0 altsetting 0 endpoint 0x81 has an invalid bInterval 0, changing to 7
usb 4-1: config 0 interface 0 altsetting 0 endpoint 0x81 has invalid wMaxPacketSize 0
usb 4-1: config 0 interface 0 altsetting 0 has 1 endpoint descriptor, different from the interface descriptor's value: 9
usb 4-1: New USB device found, idVendor=045e, idProduct=07da, bcdDevice= 0.00
usb 4-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
usb 4-1: config 0 descriptor??
microsoft 0003:045E:07DA.0014: unknown main item tag 0x0
microsoft 0003:045E:07DA.0014: ignoring exceeding usage max
microsoft 0003:045E:07DA.0014: No inputs registered, leaving
microsoft 0003:045E:07DA.0014: hidraw1: USB HID v0.00 Device [HID 045e:07da] on usb-dummy_hcd.3-1/input0
microsoft 0003:045E:07DA.0014: no inputs found
microsoft 0003:045E:07DA.0014: could not initialize ff, continuing anyway
usb 4-1: USB disconnect, device number 6
usb 4-1: new high-speed USB device number 7 using dummy_hcd
usb 4-1: Using ep0 maxpacket: 16
usb 4-1: config 0 interface 0 altsetting 0 endpoint 0x81 has an invalid bInterval 0, changing to 7
usb 4-1: config 0 interface 0 altsetting 0 endpoint 0x81 has invalid wMaxPacketSize 0
usb 4-1: config 0 interface 0 altsetting 0 has 1 endpoint descriptor, different from the interface descriptor's value: 9
usb 4-1: New USB device found, idVendor=045e, idProduct=07da, bcdDevice= 0.00
usb 4-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
usb 4-1: config 0 descriptor??
final repro crashed as (corrupted=false):
microsoft 0003:045E:07DA.0003: unknown main item tag 0x0
microsoft 0003:045E:07DA.0003: ignoring exceeding usage max
==================================================================
BUG: KASAN: slab-out-of-bounds in mon_copy_to_buff drivers/usb/mon/mon_bin.c:252 [inline]
BUG: KASAN: slab-out-of-bounds in mon_bin_get_data drivers/usb/mon/mon_bin.c:420 [inline]
BUG: KASAN: slab-out-of-bounds in mon_bin_event+0x12c1/0x23e0 drivers/usb/mon/mon_bin.c:606
Read of size 4032 at addr ffff8881251cd301 by task kworker/1:3/382
CPU: 1 UID: 0 PID: 382 Comm: kworker/1:3 Not tainted 6.12.30-syzkaller-g668635cd345a #0 d19ba9d9380c3ec16bff3ad427c1e033f6258032
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
Workqueue: usb_hub_wq hub_event
Call Trace:
__dump_stack+0x21/0x30 lib/dump_stack.c:94
dump_stack_lvl+0x10c/0x190 lib/dump_stack.c:120
print_address_description+0x71/0x220 mm/kasan/report.c:377
print_report+0x4a/0x70 mm/kasan/report.c:488
kasan_report+0x163/0x1a0 mm/kasan/report.c:601
check_region_inline mm/kasan/generic.c:-1 [inline]
kasan_check_range+0x299/0x2a0 mm/kasan/generic.c:189
__asan_memcpy+0x31/0x80 mm/kasan/shadow.c:105
mon_copy_to_buff drivers/usb/mon/mon_bin.c:252 [inline]
mon_bin_get_data drivers/usb/mon/mon_bin.c:420 [inline]
mon_bin_event+0x12c1/0x23e0 drivers/usb/mon/mon_bin.c:606
mon_bin_submit+0x2b/0x40 drivers/usb/mon/mon_bin.c:626
mon_bus_submit drivers/usb/mon/mon_main.c:89 [inline]
mon_submit+0x1b9/0x230 drivers/usb/mon/mon_main.c:100
usbmon_urb_submit include/linux/usb/hcd.h:740 [inline]
usb_hcd_submit_urb+0x12d/0x1a20 drivers/usb/core/hcd.c:1518
usb_submit_urb+0x111b/0x1800 drivers/usb/core/urb.c:581
usb_start_wait_urb+0x11b/0x2f0 drivers/usb/core/message.c:59
usb_internal_control_msg drivers/usb/core/message.c:103 [inline]
usb_control_msg+0x25a/0x490 drivers/usb/core/message.c:154
usbhid_set_raw_report drivers/hid/usbhid/hid-core.c:928 [inline]
usbhid_raw_request+0x457/0x590 drivers/hid/usbhid/hid-core.c:1296
__hid_request+0x1e8/0x410 drivers/hid/hid-core.c:1979
hidinput_change_resolution_multipliers drivers/hid/hid-input.c:1950 [inline]
hidinput_connect+0x241b/0x3340 drivers/hid/hid-input.c:2327
hid_connect+0x49a/0x1a20 drivers/hid/hid-core.c:2236
hid_hw_start+0xcb/0x160 drivers/hid/hid-core.c:2351
ms_probe+0x194/0x460 drivers/hid/hid-microsoft.c:391
__hid_device_probe drivers/hid/hid-core.c:2702 [inline]
hid_device_probe+0x2c4/0x5d0 drivers/hid/hid-core.c:2739
call_driver_probe drivers/base/dd.c:-1 [inline]
really_probe+0x2d3/0x890 drivers/base/dd.c:657
__driver_probe_device+0x198/0x280 drivers/base/dd.c:799
driver_probe_device+0x54/0x3f0 drivers/base/dd.c:829
__device_attach_driver+0x2f1/0x4b0 drivers/base/dd.c:957
bus_for_each_drv+0x260/0x2f0 drivers/base/bus.c:459
__device_attach+0x2bd/0x3a0 drivers/base/dd.c:1029
device_initial_probe+0x1e/0x30 drivers/base/dd.c:1078
bus_probe_device+0x18b/0x270 drivers/base/bus.c:534
device_add+0x80c/0xc00 drivers/base/core.c:3692
hid_add_device+0x39b/0x560 drivers/hid/hid-core.c:2885
usbhid_probe+0xde3/0x12b0 drivers/hid/usbhid/hid-core.c:1432
usb_probe_interface+0x696/0xc00 drivers/usb/core/driver.c:399
call_driver_probe drivers/base/dd.c:-1 [inline]
really_probe+0x2d3/0x890 drivers/base/dd.c:657
__driver_probe_device+0x198/0x280 drivers/base/dd.c:799
driver_probe_device+0x54/0x3f0 drivers/base/dd.c:829
__device_attach_driver+0x2f1/0x4b0 drivers/base/dd.c:957
bus_for_each_drv+0x260/0x2f0 drivers/base/bus.c:459
__device_attach+0x2bd/0x3a0 drivers/base/dd.c:1029
device_initial_probe+0x1e/0x30 drivers/base/dd.c:1078
bus_probe_device+0x18b/0x270 drivers/base/bus.c:534
device_add+0x80c/0xc00 drivers/base/core.c:3692
usb_set_configuration+0x1ad4/0x20b0 drivers/usb/core/message.c:2210
usb_generic_driver_probe+0x95/0x160 drivers/usb/core/generic.c:254
usb_probe_device+0x1d4/0x380 drivers/usb/core/driver.c:294
call_driver_probe drivers/base/dd.c:-1 [inline]
really_probe+0x2d3/0x890 drivers/base/dd.c:657
__driver_probe_device+0x198/0x280 drivers/base/dd.c:799
driver_probe_device+0x54/0x3f0 drivers/base/dd.c:829
__device_attach_driver+0x2f1/0x4b0 drivers/base/dd.c:957
bus_for_each_drv+0x260/0x2f0 drivers/base/bus.c:459
__device_attach+0x2bd/0x3a0 drivers/base/dd.c:1029
device_initial_probe+0x1e/0x30 drivers/base/dd.c:1078
bus_probe_device+0x18b/0x270 drivers/base/bus.c:534
device_add+0x80c/0xc00 drivers/base/core.c:3692
usb_new_device+0x9ed/0x1590 drivers/usb/core/hub.c:2662
hub_port_connect drivers/usb/core/hub.c:5533 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5673 [inline]
port_event drivers/usb/core/hub.c:5833 [inline]
hub_event+0x265b/0x41a0 drivers/usb/core/hub.c:5915
process_one_work kernel/workqueue.c:3238 [inline]
process_scheduled_works+0x7d2/0x1020 kernel/workqueue.c:3319
worker_thread+0xc58/0x1250 kernel/workqueue.c:3400
kthread+0x2ca/0x370 kernel/kthread.c:389
ret_from_fork+0x64/0xa0 arch/x86/kernel/process.c:153
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
Allocated by task 382:
kasan_save_stack mm/kasan/common.c:47 [inline]
kasan_save_track+0x3e/0x80 mm/kasan/common.c:68
kasan_save_alloc_info+0x40/0x50 mm/kasan/generic.c:565
poison_kmalloc_redzone mm/kasan/common.c:377 [inline]
__kasan_kmalloc+0x96/0xb0 mm/kasan/common.c:394
kasan_kmalloc include/linux/kasan.h:260 [inline]
__do_kmalloc_node mm/slub.c:4347 [inline]
__kmalloc_noprof+0x1b1/0x450 mm/slub.c:4359
kmalloc_noprof include/linux/slab.h:885 [inline]
kzalloc_noprof include/linux/slab.h:1017 [inline]
hid_alloc_report_buf drivers/hid/hid-core.c:1880 [inline]
__hid_request+0xa9/0x410 drivers/hid/hid-core.c:1970
hidinput_change_resolution_multipliers drivers/hid/hid-input.c:1950 [inline]
hidinput_connect+0x241b/0x3340 drivers/hid/hid-input.c:2327
hid_connect+0x49a/0x1a20 drivers/hid/hid-core.c:2236
hid_hw_start+0xcb/0x160 drivers/hid/hid-core.c:2351
ms_probe+0x194/0x460 drivers/hid/hid-microsoft.c:391
__hid_device_probe drivers/hid/hid-core.c:2702 [inline]
hid_device_probe+0x2c4/0x5d0 drivers/hid/hid-core.c:2739
call_driver_probe drivers/base/dd.c:-1 [inline]
really_probe+0x2d3/0x890 drivers/base/dd.c:657
__driver_probe_device+0x198/0x280 drivers/base/dd.c:799
driver_probe_device+0x54/0x3f0 drivers/base/dd.c:829
__device_attach_driver+0x2f1/0x4b0 drivers/base/dd.c:957
bus_for_each_drv+0x260/0x2f0 drivers/base/bus.c:459
__device_attach+0x2bd/0x3a0 drivers/base/dd.c:1029
device_initial_probe+0x1e/0x30 drivers/base/dd.c:1078
bus_probe_device+0x18b/0x270 drivers/base/bus.c:534
device_add+0x80c/0xc00 drivers/base/core.c:3692
hid_add_device+0x39b/0x560 drivers/hid/hid-core.c:2885
usbhid_probe+0xde3/0x12b0 drivers/hid/usbhid/hid-core.c:1432
usb_probe_interface+0x696/0xc00 drivers/usb/core/driver.c:399
call_driver_probe drivers/base/dd.c:-1 [inline]
really_probe+0x2d3/0x890 drivers/base/dd.c:657
__driver_probe_device+0x198/0x280 drivers/base/dd.c:799
driver_probe_device+0x54/0x3f0 drivers/base/dd.c:829
__device_attach_driver+0x2f1/0x4b0 drivers/base/dd.c:957
bus_for_each_drv+0x260/0x2f0 drivers/base/bus.c:459
__device_attach+0x2bd/0x3a0 drivers/base/dd.c:1029
device_initial_probe+0x1e/0x30 drivers/base/dd.c:1078
bus_probe_device+0x18b/0x270 drivers/base/bus.c:534
device_add+0x80c/0xc00 drivers/base/core.c:3692
usb_set_configuration+0x1ad4/0x20b0 drivers/usb/core/message.c:2210
usb_generic_driver_probe+0x95/0x160 drivers/usb/core/generic.c:254
usb_probe_device+0x1d4/0x380 drivers/usb/core/driver.c:294
call_driver_probe drivers/base/dd.c:-1 [inline]
really_probe+0x2d3/0x890 drivers/base/dd.c:657
__driver_probe_device+0x198/0x280 drivers/base/dd.c:799
driver_probe_device+0x54/0x3f0 drivers/base/dd.c:829
__device_attach_driver+0x2f1/0x4b0 drivers/base/dd.c:957
bus_for_each_drv+0x260/0x2f0 drivers/base/bus.c:459
__device_attach+0x2bd/0x3a0 drivers/base/dd.c:1029
device_initial_probe+0x1e/0x30 drivers/base/dd.c:1078
bus_probe_device+0x18b/0x270 drivers/base/bus.c:534
device_add+0x80c/0xc00 drivers/base/core.c:3692
usb_new_device+0x9ed/0x1590 drivers/usb/core/hub.c:2662
hub_port_connect drivers/usb/core/hub.c:5533 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5673 [inline]
port_event drivers/usb/core/hub.c:5833 [inline]
hub_event+0x265b/0x41a0 drivers/usb/core/hub.c:5915
process_one_work kernel/workqueue.c:3238 [inline]
process_scheduled_works+0x7d2/0x1020 kernel/workqueue.c:3319
worker_thread+0xc58/0x1250 kernel/workqueue.c:3400
kthread+0x2ca/0x370 kernel/kthread.c:389
ret_from_fork+0x64/0xa0 arch/x86/kernel/process.c:153
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
The buggy address belongs to the object at ffff8881251cd300
which belongs to the cache kmalloc-8 of size 8
The buggy address is located 1 bytes inside of
allocated 7-byte region [ffff8881251cd300, ffff8881251cd307)
The buggy address belongs to the physical page:
page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1251cd
flags: 0x4000000000000000(zone=1)
page_type: f5(slab)
raw: 4000000000000000 ffff888100041500 dead000000000122 0000000000000000
raw: 0000000000000000 0000000080800080 00000001f5000000 0000000000000000
page dumped because: kasan: bad access detected
page_owner tracks the page as allocated
page last allocated via order 0, migratetype Unmovable, gfp_mask 0x152cc0(GFP_USER|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP), pid 368, tgid 368 (syz-executor), ts 28823766879, free_ts 27738866019
set_page_owner include/linux/page_owner.h:35 [inline]
post_alloc_hook+0x3b9/0x3f0 mm/page_alloc.c:1795
prep_new_page+0x1c/0x120 mm/page_alloc.c:1803
get_page_from_freelist+0x46bb/0x4750 mm/page_alloc.c:3854
__alloc_pages_noprof+0x30d/0x6c0 mm/page_alloc.c:5186
alloc_slab_page+0x6b/0x1f0 mm/slub.c:-1
allocate_slab+0x69/0x440 mm/slub.c:2655
new_slab mm/slub.c:2709 [inline]
___slab_alloc+0x59a/0x8b0 mm/slub.c:3897
__slab_alloc mm/slub.c:3987 [inline]
__slab_alloc_node mm/slub.c:4040 [inline]
slab_alloc_node mm/slub.c:4201 [inline]
__do_kmalloc_node mm/slub.c:4346 [inline]
__kmalloc_node_track_caller_noprof+0x23a/0x440 mm/slub.c:4366
kvasprintf+0xdf/0x240 lib/kasprintf.c:25
kvasprintf_const+0xf6/0x250 lib/kasprintf.c:49
kobject_set_name_vargs+0x65/0x120 lib/kobject.c:274
kobject_add_varg lib/kobject.c:368 [inline]
kobject_init_and_add+0xde/0x190 lib/kobject.c:457
netdev_queue_add_kobject net/core/net-sysfs.c:1785 [inline]
netdev_queue_update_kobjects+0x1fe/0x550 net/core/net-sysfs.c:1837
register_queue_kobjects net/core/net-sysfs.c:1899 [inline]
netdev_register_kobject+0x270/0x320 net/core/net-sysfs.c:2139
register_netdevice+0xf73/0x19d0 net/core/dev.c:10573
veth_newlink+0x7ba/0xc20 drivers/net/veth.c:1861
page last free pid 338 tgid 338 stack trace:
reset_page_owner include/linux/page_owner.h:28 [inline]
free_pages_prepare mm/page_alloc.c:1321 [inline]
free_unref_page+0xae5/0xdd0 mm/page_alloc.c:2810
__free_pages+0x6b/0x3b0 mm/page_alloc.c:5273
vfree+0x3bf/0x580 mm/vmalloc.c:3388
kcov_put kernel/kcov.c:439 [inline]
kcov_close+0x2c/0x70 kernel/kcov.c:535
__fput+0x1fe/0xa00 fs/file_table.c:431
____fput+0x20/0x30 fs/file_table.c:459
task_work_run+0x1e0/0x250 kernel/task_work.c:240
exit_task_work include/linux/task_work.h:43 [inline]
do_exit+0x9b4/0x2630 kernel/exit.c:944
do_group_exit+0x22a/0x300 kernel/exit.c:1094
get_signal+0x139d/0x14f0 kernel/signal.c:2934
arch_do_signal_or_restart+0x96/0x720 arch/x86/kernel/signal.c:337
exit_to_user_mode_loop kernel/entry/common.c:111 [inline]
exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline]
__syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline]
syscall_exit_to_user_mode+0x58/0xb0 kernel/entry/common.c:218
do_syscall_64+0x64/0xf0 arch/x86/entry/common.c:89
entry_SYSCALL_64_after_hwframe+0x76/0x7e
Memory state around the buggy address:
ffff8881251cd200: 00 fc fc fc 04 fc fc fc fa fc fc fc 00 fc fc fc
ffff8881251cd280: fc fc fc fc fa fc fc fc fc fc fc fc fa fc fc fc
>ffff8881251cd300: 07 fc fc fc 04 fc fc fc fa fc fc fc fa fc fc fc
^
ffff8881251cd380: fc fc fc fc fc fc fc fc 05 fc fc fc 00 fc fc fc
ffff8881251cd400: 00 fc fc fc fc fc fc fc fa fc fc fc 05 fc fc fc
==================================================================
microsoft 0003:045E:07DA.0003: No inputs registered, leaving
microsoft 0003:045E:07DA.0003: hidraw2: USB HID v0.00 Device [HID 045e:07da] on usb-dummy_hcd.3-1/input0
microsoft 0003:045E:07DA.0003: no inputs found
microsoft 0003:045E:07DA.0003: could not initialize ff, continuing anyway
usb 4-1: USB disconnect, device number 2
usb 4-1: new high-speed USB device number 3 using dummy_hcd
usb 4-1: Using ep0 maxpacket: 16
usb 4-1: config 0 interface 0 altsetting 0 endpoint 0x81 has an invalid bInterval 0, changing to 7
usb 4-1: config 0 interface 0 altsetting 0 endpoint 0x81 has invalid wMaxPacketSize 0
usb 4-1: config 0 interface 0 altsetting 0 has 1 endpoint descriptor, different from the interface descriptor's value: 9
usb 4-1: New USB device found, idVendor=045e, idProduct=07da, bcdDevice= 0.00
usb 4-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
usb 4-1: config 0 descriptor??
microsoft 0003:045E:07DA.0008: unknown main item tag 0x0
microsoft 0003:045E:07DA.0008: ignoring exceeding usage max
microsoft 0003:045E:07DA.0008: No inputs registered, leaving
microsoft 0003:045E:07DA.0008: hidraw1: USB HID v0.00 Device [HID 045e:07da] on usb-dummy_hcd.3-1/input0
microsoft 0003:045E:07DA.0008: no inputs found
microsoft 0003:045E:07DA.0008: could not initialize ff, continuing anyway
usb 4-1: USB disconnect, device number 3
usb 4-1: new high-speed USB device number 4 using dummy_hcd
usb 4-1: Using ep0 maxpacket: 16
usb 4-1: config 0 interface 0 altsetting 0 endpoint 0x81 has an invalid bInterval 0, changing to 7
usb 4-1: config 0 interface 0 altsetting 0 endpoint 0x81 has invalid wMaxPacketSize 0
usb 4-1: config 0 interface 0 altsetting 0 has 1 endpoint descriptor, different from the interface descriptor's value: 9
usb 4-1: New USB device found, idVendor=045e, idProduct=07da, bcdDevice= 0.00
usb 4-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
usb 4-1: config 0 descriptor??
microsoft 0003:045E:07DA.000C: unknown main item tag 0x0
microsoft 0003:045E:07DA.000C: ignoring exceeding usage max
microsoft 0003:045E:07DA.000C: No inputs registered, leaving
microsoft 0003:045E:07DA.000C: hidraw1: USB HID v0.00 Device [HID 045e:07da] on usb-dummy_hcd.3-1/input0
microsoft 0003:045E:07DA.000C: no inputs found
microsoft 0003:045E:07DA.000C: could not initialize ff, continuing anyway
usb 4-1: USB disconnect, device number 4
usb 4-1: new high-speed USB device number 5 using dummy_hcd
usb 4-1: Using ep0 maxpacket: 16
usb 4-1: config 0 interface 0 altsetting 0 endpoint 0x81 has an invalid bInterval 0, changing to 7
usb 4-1: config 0 interface 0 altsetting 0 endpoint 0x81 has invalid wMaxPacketSize 0
usb 4-1: config 0 interface 0 altsetting 0 has 1 endpoint descriptor, different from the interface descriptor's value: 9
usb 4-1: New USB device found, idVendor=045e, idProduct=07da, bcdDevice= 0.00
usb 4-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
usb 4-1: config 0 descriptor??
microsoft 0003:045E:07DA.0010: unknown main item tag 0x0
microsoft 0003:045E:07DA.0010: ignoring exceeding usage max
microsoft 0003:045E:07DA.0010: No inputs registered, leaving
microsoft 0003:045E:07DA.0010: hidraw1: USB HID v0.00 Device [HID 045e:07da] on usb-dummy_hcd.3-1/input0
microsoft 0003:045E:07DA.0010: no inputs found
microsoft 0003:045E:07DA.0010: could not initialize ff, continuing anyway
usb 4-1: USB disconnect, device number 5
usb 4-1: new high-speed USB device number 6 using dummy_hcd
usb 4-1: Using ep0 maxpacket: 16
usb 4-1: config 0 interface 0 altsetting 0 endpoint 0x81 has an invalid bInterval 0, changing to 7
usb 4-1: config 0 interface 0 altsetting 0 endpoint 0x81 has invalid wMaxPacketSize 0
usb 4-1: config 0 interface 0 altsetting 0 has 1 endpoint descriptor, different from the interface descriptor's value: 9
usb 4-1: New USB device found, idVendor=045e, idProduct=07da, bcdDevice= 0.00
usb 4-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
usb 4-1: config 0 descriptor??
microsoft 0003:045E:07DA.0014: unknown main item tag 0x0
microsoft 0003:045E:07DA.0014: ignoring exceeding usage max
microsoft 0003:045E:07DA.0014: No inputs registered, leaving
microsoft 0003:045E:07DA.0014: hidraw1: USB HID v0.00 Device [HID 045e:07da] on usb-dummy_hcd.3-1/input0
microsoft 0003:045E:07DA.0014: no inputs found
microsoft 0003:045E:07DA.0014: could not initialize ff, continuing anyway
usb 4-1: USB disconnect, device number 6
usb 4-1: new high-speed USB device number 7 using dummy_hcd
usb 4-1: Using ep0 maxpacket: 16
usb 4-1: config 0 interface 0 altsetting 0 endpoint 0x81 has an invalid bInterval 0, changing to 7
usb 4-1: config 0 interface 0 altsetting 0 endpoint 0x81 has invalid wMaxPacketSize 0
usb 4-1: config 0 interface 0 altsetting 0 has 1 endpoint descriptor, different from the interface descriptor's value: 9
usb 4-1: New USB device found, idVendor=045e, idProduct=07da, bcdDevice= 0.00
usb 4-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
usb 4-1: config 0 descriptor??