Extracting prog: 1m26.717067025s
Minimizing prog: 12m34.354656669s
Simplifying prog options: 0s
Extracting C: 30.63382355s
Simplifying C: 6m8.472231057s
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$hid-ioctl$BINDER_WRITE_READ-syz_usb_control_io$hid-syz_usb_control_io$hid-ioctl$VHOST_SET_VRING_KICK-syz_open_dev$hidraw-ioctl$HIDIOCGFEATURE
detailed listing:
executing program 0:
r0 = syz_usb_connect$hid(0x0, 0x36, &(0x7f0000000040)={{0x12, 0x1, 0x0, 0x0, 0x0, 0x0, 0x8, 0x28de, 0x1102, 0x0, 0x0, 0x0, 0x0, 0x1, [{{0x9, 0x2, 0x24, 0x1, 0x0, 0x0, 0x0, 0x0, [{{0x9, 0x4, 0x0, 0x0, 0x2, 0x3, 0x0, 0x0, 0x0, {0x9, 0x21, 0x0, 0x0, 0x1, {0x22, 0x7}}}}]}}]}}, 0x0)
ioctl$BINDER_WRITE_READ(0xffffffffffffffff, 0x400c620e, 0x0)
syz_usb_control_io$hid(r0, 0x0, 0x0)
syz_usb_control_io$hid(r0, &(0x7f00000002c0)={0x24, 0x0, 0x0, &(0x7f0000000000)={0x0, 0x22, 0x7, {[@main=@item_4={0x3, 0x0, 0x0, "6e3565c0"}, @main=@item_012={0x1, 0x0, 0xb, 'i'}]}}, 0x0}, 0x0)
ioctl$VHOST_SET_VRING_KICK(0xffffffffffffffff, 0x4008af20, 0x0)
r1 = syz_open_dev$hidraw(&(0x7f0000000080), 0x0, 0x0)
ioctl$HIDIOCGFEATURE(r1, 0xc0404807, 0x0)
program crashed: KASAN: use-after-free Write in steam_input_open
single: successfully extracted reproducer
found reproducer with 7 syscalls
minimizing guilty program
testing program (duration=57.877356672s, {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$hid-ioctl$BINDER_WRITE_READ-syz_usb_control_io$hid-syz_usb_control_io$hid-ioctl$VHOST_SET_VRING_KICK-syz_open_dev$hidraw
detailed listing:
executing program 0:
r0 = syz_usb_connect$hid(0x0, 0x36, &(0x7f0000000040)={{0x12, 0x1, 0x0, 0x0, 0x0, 0x0, 0x8, 0x28de, 0x1102, 0x0, 0x0, 0x0, 0x0, 0x1, [{{0x9, 0x2, 0x24, 0x1, 0x0, 0x0, 0x0, 0x0, [{{0x9, 0x4, 0x0, 0x0, 0x2, 0x3, 0x0, 0x0, 0x0, {0x9, 0x21, 0x0, 0x0, 0x1, {0x22, 0x7}}}}]}}]}}, 0x0)
ioctl$BINDER_WRITE_READ(0xffffffffffffffff, 0x400c620e, 0x0)
syz_usb_control_io$hid(r0, 0x0, 0x0)
syz_usb_control_io$hid(r0, &(0x7f00000002c0)={0x24, 0x0, 0x0, &(0x7f0000000000)={0x0, 0x22, 0x7, {[@main=@item_4={0x3, 0x0, 0x0, "6e3565c0"}, @main=@item_012={0x1, 0x0, 0xb, 'i'}]}}, 0x0}, 0x0)
ioctl$VHOST_SET_VRING_KICK(0xffffffffffffffff, 0x4008af20, 0x0)
syz_open_dev$hidraw(&(0x7f0000000080), 0x0, 0x0)
program crashed: KASAN: use-after-free Write in steam_input_open
testing program (duration=57.877356672s, {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$hid-ioctl$BINDER_WRITE_READ-syz_usb_control_io$hid-syz_usb_control_io$hid-ioctl$VHOST_SET_VRING_KICK
detailed listing:
executing program 0:
r0 = syz_usb_connect$hid(0x0, 0x36, &(0x7f0000000040)={{0x12, 0x1, 0x0, 0x0, 0x0, 0x0, 0x8, 0x28de, 0x1102, 0x0, 0x0, 0x0, 0x0, 0x1, [{{0x9, 0x2, 0x24, 0x1, 0x0, 0x0, 0x0, 0x0, [{{0x9, 0x4, 0x0, 0x0, 0x2, 0x3, 0x0, 0x0, 0x0, {0x9, 0x21, 0x0, 0x0, 0x1, {0x22, 0x7}}}}]}}]}}, 0x0)
ioctl$BINDER_WRITE_READ(0xffffffffffffffff, 0x400c620e, 0x0)
syz_usb_control_io$hid(r0, 0x0, 0x0)
syz_usb_control_io$hid(r0, &(0x7f00000002c0)={0x24, 0x0, 0x0, &(0x7f0000000000)={0x0, 0x22, 0x7, {[@main=@item_4={0x3, 0x0, 0x0, "6e3565c0"}, @main=@item_012={0x1, 0x0, 0xb, 'i'}]}}, 0x0}, 0x0)
ioctl$VHOST_SET_VRING_KICK(0xffffffffffffffff, 0x4008af20, 0x0)
program did not crash
testing program (duration=57.877356672s, {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$hid-ioctl$BINDER_WRITE_READ-syz_usb_control_io$hid-syz_usb_control_io$hid-syz_open_dev$hidraw
detailed listing:
executing program 0:
r0 = syz_usb_connect$hid(0x0, 0x36, &(0x7f0000000040)={{0x12, 0x1, 0x0, 0x0, 0x0, 0x0, 0x8, 0x28de, 0x1102, 0x0, 0x0, 0x0, 0x0, 0x1, [{{0x9, 0x2, 0x24, 0x1, 0x0, 0x0, 0x0, 0x0, [{{0x9, 0x4, 0x0, 0x0, 0x2, 0x3, 0x0, 0x0, 0x0, {0x9, 0x21, 0x0, 0x0, 0x1, {0x22, 0x7}}}}]}}]}}, 0x0)
ioctl$BINDER_WRITE_READ(0xffffffffffffffff, 0x400c620e, 0x0)
syz_usb_control_io$hid(r0, 0x0, 0x0)
syz_usb_control_io$hid(r0, &(0x7f00000002c0)={0x24, 0x0, 0x0, &(0x7f0000000000)={0x0, 0x22, 0x7, {[@main=@item_4={0x3, 0x0, 0x0, "6e3565c0"}, @main=@item_012={0x1, 0x0, 0xb, 'i'}]}}, 0x0}, 0x0)
syz_open_dev$hidraw(&(0x7f0000000080), 0x0, 0x0)
program crashed: KASAN: use-after-free Write in steam_input_open
testing program (duration=57.877356672s, {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$hid-ioctl$BINDER_WRITE_READ-syz_usb_control_io$hid-syz_open_dev$hidraw
detailed listing:
executing program 0:
r0 = syz_usb_connect$hid(0x0, 0x36, &(0x7f0000000040)={{0x12, 0x1, 0x0, 0x0, 0x0, 0x0, 0x8, 0x28de, 0x1102, 0x0, 0x0, 0x0, 0x0, 0x1, [{{0x9, 0x2, 0x24, 0x1, 0x0, 0x0, 0x0, 0x0, [{{0x9, 0x4, 0x0, 0x0, 0x2, 0x3, 0x0, 0x0, 0x0, {0x9, 0x21, 0x0, 0x0, 0x1, {0x22, 0x7}}}}]}}]}}, 0x0)
ioctl$BINDER_WRITE_READ(0xffffffffffffffff, 0x400c620e, 0x0)
syz_usb_control_io$hid(r0, 0x0, 0x0)
syz_open_dev$hidraw(&(0x7f0000000080), 0x0, 0x0)
program did not crash
testing program (duration=57.877356672s, {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$hid-ioctl$BINDER_WRITE_READ-syz_usb_control_io$hid-syz_open_dev$hidraw
detailed listing:
executing program 0:
r0 = syz_usb_connect$hid(0x0, 0x36, &(0x7f0000000040)={{0x12, 0x1, 0x0, 0x0, 0x0, 0x0, 0x8, 0x28de, 0x1102, 0x0, 0x0, 0x0, 0x0, 0x1, [{{0x9, 0x2, 0x24, 0x1, 0x0, 0x0, 0x0, 0x0, [{{0x9, 0x4, 0x0, 0x0, 0x2, 0x3, 0x0, 0x0, 0x0, {0x9, 0x21, 0x0, 0x0, 0x1, {0x22, 0x7}}}}]}}]}}, 0x0)
ioctl$BINDER_WRITE_READ(0xffffffffffffffff, 0x400c620e, 0x0)
syz_usb_control_io$hid(r0, &(0x7f00000002c0)={0x24, 0x0, 0x0, &(0x7f0000000000)={0x0, 0x22, 0x7, {[@main=@item_4={0x3, 0x0, 0x0, "6e3565c0"}, @main=@item_012={0x1, 0x0, 0xb, 'i'}]}}, 0x0}, 0x0)
syz_open_dev$hidraw(&(0x7f0000000080), 0x0, 0x0)
program did not crash
testing program (duration=57.877356672s, {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$hid-syz_usb_control_io$hid-syz_usb_control_io$hid-syz_open_dev$hidraw
detailed listing:
executing program 0:
r0 = syz_usb_connect$hid(0x0, 0x36, &(0x7f0000000040)={{0x12, 0x1, 0x0, 0x0, 0x0, 0x0, 0x8, 0x28de, 0x1102, 0x0, 0x0, 0x0, 0x0, 0x1, [{{0x9, 0x2, 0x24, 0x1, 0x0, 0x0, 0x0, 0x0, [{{0x9, 0x4, 0x0, 0x0, 0x2, 0x3, 0x0, 0x0, 0x0, {0x9, 0x21, 0x0, 0x0, 0x1, {0x22, 0x7}}}}]}}]}}, 0x0)
syz_usb_control_io$hid(r0, 0x0, 0x0)
syz_usb_control_io$hid(r0, &(0x7f00000002c0)={0x24, 0x0, 0x0, &(0x7f0000000000)={0x0, 0x22, 0x7, {[@main=@item_4={0x3, 0x0, 0x0, "6e3565c0"}, @main=@item_012={0x1, 0x0, 0xb, 'i'}]}}, 0x0}, 0x0)
syz_open_dev$hidraw(&(0x7f0000000080), 0x0, 0x0)
program crashed: KASAN: use-after-free Write in steam_input_open
testing program (duration=57.877356672s, {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$hid-syz_usb_control_io$hid-syz_open_dev$hidraw
detailed listing:
executing program 0:
syz_usb_control_io$hid(0xffffffffffffffff, 0x0, 0x0)
syz_usb_control_io$hid(0xffffffffffffffff, &(0x7f00000002c0)={0x24, 0x0, 0x0, &(0x7f0000000000)={0x0, 0x22, 0x7, {[@main=@item_4={0x3, 0x0, 0x0, "6e3565c0"}, @main=@item_012={0x1, 0x0, 0xb, 'i'}]}}, 0x0}, 0x0)
syz_open_dev$hidraw(&(0x7f0000000080), 0x0, 0x0)
program did not crash
testing program (duration=57.877356672s, {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$hid-syz_usb_control_io$hid-syz_usb_control_io$hid-syz_open_dev$hidraw
detailed listing:
executing program 0:
r0 = syz_usb_connect$hid(0x0, 0x0, 0x0, 0x0)
syz_usb_control_io$hid(r0, 0x0, 0x0)
syz_usb_control_io$hid(r0, &(0x7f00000002c0)={0x24, 0x0, 0x0, &(0x7f0000000000)={0x0, 0x22, 0x7, {[@main=@item_4={0x3, 0x0, 0x0, "6e3565c0"}, @main=@item_012={0x1, 0x0, 0xb, 'i'}]}}, 0x0}, 0x0)
syz_open_dev$hidraw(&(0x7f0000000080), 0x0, 0x0)
program did not crash
testing program (duration=57.877356672s, {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$hid-syz_usb_control_io$hid-syz_usb_control_io$hid-syz_open_dev$hidraw
detailed listing:
executing program 0:
r0 = syz_usb_connect$hid(0x0, 0x36, &(0x7f0000000040)={{0x12, 0x1, 0x0, 0x0, 0x0, 0x0, 0x8, 0x28de, 0x1102, 0x0, 0x0, 0x0, 0x0, 0x1, [{{0x9, 0x2, 0x24, 0x1, 0x0, 0x0, 0x0, 0x0, [{{0x9, 0x4, 0x0, 0x0, 0x2, 0x3, 0x0, 0x0, 0x0, {0x9, 0x21, 0x0, 0x0, 0x1, {0x22, 0x7}}}}]}}]}}, 0x0)
syz_usb_control_io$hid(r0, 0x0, 0x0)
syz_usb_control_io$hid(r0, 0x0, 0x0)
syz_open_dev$hidraw(&(0x7f0000000080), 0x0, 0x0)
program did not crash
testing program (duration=57.877356672s, {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$hid-syz_usb_control_io$hid-syz_usb_control_io$hid-syz_open_dev$hidraw
detailed listing:
executing program 0:
r0 = syz_usb_connect$hid(0x0, 0x36, &(0x7f0000000040)={{0x12, 0x1, 0x0, 0x0, 0x0, 0x0, 0x8, 0x28de, 0x1102, 0x0, 0x0, 0x0, 0x0, 0x1, [{{0x9, 0x2, 0x24, 0x1, 0x0, 0x0, 0x0, 0x0, [{{0x9, 0x4, 0x0, 0x0, 0x2, 0x3, 0x0, 0x0, 0x0, {0x9, 0x21, 0x0, 0x0, 0x1, {0x22, 0x7}}}}]}}]}}, 0x0)
syz_usb_control_io$hid(r0, 0x0, 0x0)
syz_usb_control_io$hid(r0, &(0x7f00000002c0)={0x24, 0x0, 0x0, 0x0, 0x0}, 0x0)
syz_open_dev$hidraw(&(0x7f0000000080), 0x0, 0x0)
program did not crash
testing program (duration=57.877356672s, {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$hid-syz_usb_control_io$hid-syz_usb_control_io$hid-syz_open_dev$hidraw
detailed listing:
executing program 0:
r0 = syz_usb_connect$hid(0x0, 0x36, &(0x7f0000000040)={{0x12, 0x1, 0x0, 0x0, 0x0, 0x0, 0x8, 0x28de, 0x1102, 0x0, 0x0, 0x0, 0x0, 0x1, [{{0x9, 0x2, 0x24, 0x1, 0x0, 0x0, 0x0, 0x0, [{{0x9, 0x4, 0x0, 0x0, 0x2, 0x3, 0x0, 0x0, 0x0, {0x9, 0x21, 0x0, 0x0, 0x1, {0x22, 0x7}}}}]}}]}}, 0x0)
syz_usb_control_io$hid(r0, 0x0, 0x0)
syz_usb_control_io$hid(r0, &(0x7f00000002c0)={0x24, 0x0, 0x0, &(0x7f0000000000)={0x0, 0x22, 0x6, {[@main=@item_4={0x3, 0x0, 0x0, "6e3565c0"}, @main=@item_012={0x0, 0x0, 0xb}]}}, 0x0}, 0x0)
syz_open_dev$hidraw(&(0x7f0000000080), 0x0, 0x0)
program did not crash
testing program (duration=57.877356672s, {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$hid-syz_usb_control_io$hid-syz_usb_control_io$hid-syz_open_dev$hidraw
detailed listing:
executing program 0:
r0 = syz_usb_connect$hid(0x0, 0x36, &(0x7f0000000040)={{0x12, 0x1, 0x0, 0x0, 0x0, 0x0, 0x8, 0x28de, 0x1102, 0x0, 0x0, 0x0, 0x0, 0x1, [{{0x9, 0x2, 0x24, 0x1, 0x0, 0x0, 0x0, 0x0, [{{0x9, 0x4, 0x0, 0x0, 0x2, 0x3, 0x0, 0x0, 0x0, {0x9, 0x21, 0x0, 0x0, 0x1, {0x22, 0x7}}}}]}}]}}, 0x0)
syz_usb_control_io$hid(r0, 0x0, 0x0)
syz_usb_control_io$hid(r0, &(0x7f00000002c0)={0x24, 0x0, 0x0, &(0x7f0000000000)={0x0, 0x22, 0x7, {[@main=@item_4={0x3, 0x0, 0x0, "6e3565c0"}, @main=@item_012={0x1, 0x0, 0xb, 'i'}]}}, 0x0}, 0x0)
syz_open_dev$hidraw(0x0, 0x0, 0x0)
program did not crash
extracting C reproducer
testing compiled C program (duration=57.877356672s, {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$hid-syz_usb_control_io$hid-syz_usb_control_io$hid-syz_open_dev$hidraw
program crashed: KASAN: use-after-free Write in steam_input_open
simplifying C reproducer
testing compiled C program (duration=57.877356672s, {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$hid-syz_usb_control_io$hid-syz_usb_control_io$hid-syz_open_dev$hidraw
program crashed: KASAN: use-after-free Write in steam_input_open
testing compiled C program (duration=57.877356672s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:false Cgroups:false BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false 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$hidraw
program did not crash
testing compiled C program (duration=57.877356672s, {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$hid-syz_usb_control_io$hid-syz_usb_control_io$hid-syz_open_dev$hidraw
program did not crash
testing compiled C program (duration=57.877356672s, {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$hid-syz_usb_control_io$hid-syz_usb_control_io$hid-syz_open_dev$hidraw
program crashed: KASAN: use-after-free Write in steam_input_open
testing compiled C program (duration=57.877356672s, {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$hid-syz_usb_control_io$hid-syz_usb_control_io$hid-syz_open_dev$hidraw
program crashed: KASAN: use-after-free Write in steam_input_open
testing compiled C program (duration=57.877356672s, {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$hid-syz_usb_control_io$hid-syz_usb_control_io$hid-syz_open_dev$hidraw
program crashed: KASAN: use-after-free Write in steam_input_open
testing compiled C program (duration=57.877356672s, {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: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$hidraw
program crashed: KASAN: use-after-free Write in steam_input_open
reproducing took 20m40.17780524s
repro crashed as (corrupted=false):
==================================================================
BUG: KASAN: use-after-free in instrument_atomic_read_write include/linux/instrumented.h:102 [inline]
BUG: KASAN: use-after-free in atomic_long_try_cmpxchg_acquire include/linux/atomic/atomic-instrumented.h:1779 [inline]
BUG: KASAN: use-after-free in __mutex_trylock_fast kernel/locking/mutex.c:176 [inline]
BUG: KASAN: use-after-free in mutex_lock+0xa4/0x1e0 kernel/locking/mutex.c:295
Write of size 8 at addr ffff88810d866850 by task acpid/88
CPU: 0 PID: 88 Comm: acpid Not tainted 6.1.128-syzkaller-00026-gcf7683f71956 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x151/0x1b7 lib/dump_stack.c:106
print_address_description mm/kasan/report.c:316 [inline]
print_report+0x158/0x4e0 mm/kasan/report.c:427
kasan_report+0x13c/0x170 mm/kasan/report.c:531
kasan_check_range+0x294/0x2a0 mm/kasan/generic.c:189
__kasan_check_write+0x14/0x20 mm/kasan/shadow.c:37
instrument_atomic_read_write include/linux/instrumented.h:102 [inline]
atomic_long_try_cmpxchg_acquire include/linux/atomic/atomic-instrumented.h:1779 [inline]
__mutex_trylock_fast kernel/locking/mutex.c:176 [inline]
mutex_lock+0xa4/0x1e0 kernel/locking/mutex.c:295
steam_input_open+0x91/0x1a0 drivers/hid/hid-steam.c:297
input_open_device+0x1a5/0x310 drivers/input/input.c:650
evdev_open_device drivers/input/evdev.c:400 [inline]
evdev_open+0x3df/0x620 drivers/input/evdev.c:487
chrdev_open+0x4f7/0x620 fs/char_dev.c:414
do_dentry_open+0x891/0x1250 fs/open.c:884
vfs_open+0x73/0x80 fs/open.c:1015
do_open fs/namei.c:3625 [inline]
path_openat+0x2532/0x2d60 fs/namei.c:3782
do_filp_open+0x230/0x480 fs/namei.c:3809
do_sys_openat2+0x151/0x870 fs/open.c:1341
do_sys_open fs/open.c:1357 [inline]
__do_sys_openat fs/open.c:1373 [inline]
__se_sys_openat fs/open.c:1368 [inline]
__x64_sys_openat+0x243/0x290 fs/open.c:1368
x64_sys_call+0x6bf/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:258
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f2d61df49a4
Code: 24 20 48 8d 44 24 30 48 89 44 24 28 64 8b 04 25 18 00 00 00 85 c0 75 2c 44 89 e2 48 89 ee bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 76 60 48 8b 15 55 a4 0d 00 f7 d8 64 89 02 48 83
RSP: 002b:00007fffc84eadf0 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007fffc84eb0d8 RCX: 00007f2d61df49a4
RDX: 0000000000080800 RSI: 00007fffc84eafd8 RDI: 00000000ffffff9c
RBP: 00007fffc84eafd8 R08: 00000000ffffffff R09: 00007fffc84eafd8
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000080800
R13: 0000000000000060 R14: 00007fffc84eb0d8 R15: 00007fffc84eafd8
Allocated by task 305:
kasan_save_stack mm/kasan/common.c:45 [inline]
kasan_set_track+0x4b/0x70 mm/kasan/common.c:52
kasan_save_alloc_info+0x1f/0x30 mm/kasan/generic.c:505
____kasan_kmalloc mm/kasan/common.c:379 [inline]
__kasan_kmalloc+0x9c/0xb0 mm/kasan/common.c:388
kasan_kmalloc include/linux/kasan.h:212 [inline]
__do_kmalloc_node mm/slab_common.c:938 [inline]
__kmalloc_node_track_caller+0xb3/0x1e0 mm/slab_common.c:958
alloc_dr drivers/base/devres.c:116 [inline]
devm_kmalloc+0x55/0x180 drivers/base/devres.c:826
devm_kzalloc include/linux/device.h:211 [inline]
steam_probe+0x12e/0xbe0 drivers/hid/hid-steam.c:741
hid_device_probe+0x292/0x3a0 drivers/hid/hid-core.c:2624
really_probe+0x2b8/0x920 drivers/base/dd.c:639
__driver_probe_device+0x1a0/0x310 drivers/base/dd.c:808
driver_probe_device+0x54/0x3d0 drivers/base/dd.c:838
__device_attach_driver+0x2e3/0x490 drivers/base/dd.c:966
bus_for_each_drv+0x183/0x200 drivers/base/bus.c:429
__device_attach+0x312/0x510 drivers/base/dd.c:1038
device_initial_probe+0x1a/0x20 drivers/base/dd.c:1087
bus_probe_device+0xbe/0x1e0 drivers/base/bus.c:489
device_add+0xb60/0xf10 drivers/base/core.c:3697
hid_add_device+0x3ad/0x510 drivers/hid/hid-core.c:2776
usbhid_probe+0xc1f/0xff0 drivers/hid/usbhid/hid-core.c:1424
usb_probe_interface+0x5b6/0xa90 drivers/usb/core/driver.c:397
really_probe+0x2b8/0x920 drivers/base/dd.c:639
__driver_probe_device+0x1a0/0x310 drivers/base/dd.c:808
driver_probe_device+0x54/0x3d0 drivers/base/dd.c:838
__device_attach_driver+0x2e3/0x490 drivers/base/dd.c:966
bus_for_each_drv+0x183/0x200 drivers/base/bus.c:429
__device_attach+0x312/0x510 drivers/base/dd.c:1038
device_initial_probe+0x1a/0x20 drivers/base/dd.c:1087
bus_probe_device+0xbe/0x1e0 drivers/base/bus.c:489
device_add+0xb60/0xf10 drivers/base/core.c:3697
usb_set_configuration+0x190f/0x1e80 drivers/usb/core/message.c:2165
usb_generic_driver_probe+0x8b/0x150 drivers/usb/core/generic.c:238
usb_probe_device+0x144/0x260 drivers/usb/core/driver.c:294
really_probe+0x2b8/0x920 drivers/base/dd.c:639
__driver_probe_device+0x1a0/0x310 drivers/base/dd.c:808
driver_probe_device+0x54/0x3d0 drivers/base/dd.c:838
__device_attach_driver+0x2e3/0x490 drivers/base/dd.c:966
bus_for_each_drv+0x183/0x200 drivers/base/bus.c:429
__device_attach+0x312/0x510 drivers/base/dd.c:1038
device_initial_probe+0x1a/0x20 drivers/base/dd.c:1087
bus_probe_device+0xbe/0x1e0 drivers/base/bus.c:489
device_add+0xb60/0xf10 drivers/base/core.c:3697
usb_new_device+0xf2f/0x1820 drivers/usb/core/hub.c:2645
hub_port_connect drivers/usb/core/hub.c:5556 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5696 [inline]
port_event drivers/usb/core/hub.c:5856 [inline]
hub_event+0x2db1/0x4830 drivers/usb/core/hub.c:5938
process_one_work+0x73d/0xcb0 kernel/workqueue.c:2299
worker_thread+0xa60/0x1260 kernel/workqueue.c:2446
kthread+0x26d/0x300 kernel/kthread.c:386
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
Freed by task 305:
kasan_save_stack mm/kasan/common.c:45 [inline]
kasan_set_track+0x4b/0x70 mm/kasan/common.c:52
kasan_save_free_info+0x2b/0x40 mm/kasan/generic.c:516
____kasan_slab_free+0x131/0x180 mm/kasan/common.c:241
__kasan_slab_free+0x11/0x20 mm/kasan/common.c:249
kasan_slab_free include/linux/kasan.h:178 [inline]
slab_free_hook mm/slub.c:1745 [inline]
slab_free_freelist_hook mm/slub.c:1771 [inline]
slab_free mm/slub.c:3686 [inline]
__kmem_cache_free+0x21d/0x410 mm/slub.c:3702
kfree+0x7a/0xf0 mm/slab_common.c:990
release_nodes+0xf1/0x230 drivers/base/devres.c:503
devres_release_all+0x148/0x1a0 drivers/base/devres.c:532
device_unbind_cleanup drivers/base/dd.c:530 [inline]
__device_release_driver drivers/base/dd.c:1288 [inline]
device_release_driver_internal+0x5bb/0x870 drivers/base/dd.c:1309
device_release_driver+0x19/0x20 drivers/base/dd.c:1332
bus_remove_device+0x2fa/0x360 drivers/base/bus.c:531
device_del+0x663/0xe90 drivers/base/core.c:3885
hid_remove_device drivers/hid/hid-core.c:2824 [inline]
hid_destroy_device+0x68/0x110 drivers/hid/hid-core.c:2843
usbhid_disconnect+0x9e/0xc0 drivers/hid/usbhid/hid-core.c:1451
usb_unbind_interface+0x1fa/0x8c0 drivers/usb/core/driver.c:459
device_remove drivers/base/dd.c:550 [inline]
__device_release_driver drivers/base/dd.c:1283 [inline]
device_release_driver_internal+0x53e/0x870 drivers/base/dd.c:1309
device_release_driver+0x19/0x20 drivers/base/dd.c:1332
bus_remove_device+0x2fa/0x360 drivers/base/bus.c:531
device_del+0x663/0xe90 drivers/base/core.c:3885
usb_disable_device+0x380/0x720 drivers/usb/core/message.c:1414
usb_disconnect+0x32a/0x890 drivers/usb/core/hub.c:2300
hub_port_connect drivers/usb/core/hub.c:5395 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5696 [inline]
port_event drivers/usb/core/hub.c:5856 [inline]
hub_event+0x1ed8/0x4830 drivers/usb/core/hub.c:5938
process_one_work+0x73d/0xcb0 kernel/workqueue.c:2299
worker_thread+0xa60/0x1260 kernel/workqueue.c:2446
kthread+0x26d/0x300 kernel/kthread.c:386
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
The buggy address belongs to the object at ffff88810d866800
which belongs to the cache kmalloc-512 of size 512
The buggy address is located 80 bytes inside of
512-byte region [ffff88810d866800, ffff88810d866a00)
The buggy address belongs to the physical page:
page:ffffea0004361900 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10d864
head:ffffea0004361900 order:2 compound_mapcount:0 compound_pincount:0
flags: 0x4000000000010200(slab|head|zone=1)
raw: 4000000000010200 dead000000000100 dead000000000122 ffff888100042f00
raw: 0000000000000000 0000000000100010 00000001ffffffff 0000000000000000
page dumped because: kasan: bad access detected
page_owner tracks the page as allocated
page last allocated via order 2, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 1, tgid 1 (swapper/0), ts 3128038895, free_ts 3108502256
set_page_owner include/linux/page_owner.h:33 [inline]
post_alloc_hook+0x213/0x220 mm/page_alloc.c:2637
prep_new_page+0x1b/0x110 mm/page_alloc.c:2644
get_page_from_freelist+0x3a98/0x3b10 mm/page_alloc.c:4539
__alloc_pages+0x234/0x610 mm/page_alloc.c:5837
alloc_slab_page+0x6c/0xf0
allocate_slab mm/slub.c:1962 [inline]
new_slab+0x90/0x3e0 mm/slub.c:2015
___slab_alloc+0x6f9/0xb80 mm/slub.c:3203
__slab_alloc+0x5d/0xa0 mm/slub.c:3302
slab_alloc_node mm/slub.c:3387 [inline]
__kmem_cache_alloc_node+0x207/0x2a0 mm/slub.c:3462
kmalloc_trace+0x2a/0xa0 mm/slab_common.c:1028
kmalloc include/linux/slab.h:563 [inline]
kzalloc include/linux/slab.h:699 [inline]
simd_skcipher_create_compat+0x60/0x660 crypto/simd.c:148
simd_register_skciphers_compat+0x11d/0x260 crypto/simd.c:227
aesni_init+0x195/0x2d5 arch/x86/crypto/aesni-intel_glue.c:1266
do_one_initcall+0x18d/0x630 init/main.c:1296
do_initcall_level+0x186/0x306 init/main.c:1369
do_initcalls+0x4e/0x8e init/main.c:1385
page last free stack trace:
reset_page_owner include/linux/page_owner.h:26 [inline]
free_pages_prepare mm/page_alloc.c:1545 [inline]
free_pcp_prepare mm/page_alloc.c:1619 [inline]
free_unref_page_prepare+0x9f1/0xa00 mm/page_alloc.c:3581
free_unref_page+0xb2/0x5c0 mm/page_alloc.c:3677
free_the_page mm/page_alloc.c:830 [inline]
__free_pages+0x61/0xf0 mm/page_alloc.c:5926
free_pages+0x7c/0x90 mm/page_alloc.c:5937
__stack_depot_save+0x42c/0x480 lib/stackdepot.c:506
kasan_save_stack mm/kasan/common.c:46 [inline]
kasan_set_track+0x60/0x70 mm/kasan/common.c:52
kasan_save_free_info+0x2b/0x40 mm/kasan/generic.c:516
____kasan_slab_free+0x131/0x180 mm/kasan/common.c:241
__kasan_slab_free+0x11/0x20 mm/kasan/common.c:249
kasan_slab_free include/linux/kasan.h:178 [inline]
slab_free_hook mm/slub.c:1745 [inline]
slab_free_freelist_hook mm/slub.c:1771 [inline]
slab_free mm/slub.c:3686 [inline]
__kmem_cache_free+0x21d/0x410 mm/slub.c:3702
kfree+0x7a/0xf0 mm/slab_common.c:990
free_modprobe_argv+0x5c/0x80 kernel/kmod.c:65
call_usermodehelper_freeinfo kernel/umh.c:46 [inline]
call_usermodehelper_exec+0x157/0x490 kernel/umh.c:466
call_modprobe kernel/kmod.c:98 [inline]
__request_module+0x39e/0x8d0 kernel/kmod.c:170
lowpan_module_init+0x67/0xa3 net/6lowpan/core.c:165
do_one_initcall+0x18d/0x630 init/main.c:1296
Memory state around the buggy address:
ffff88810d866700: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
ffff88810d866780: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
>ffff88810d866800: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
^
ffff88810d866880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
ffff88810d866900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
==================================================================
hid 0003:28DE:1102.0007: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0007: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0007: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0007: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0007: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0007: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0007: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0007: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0007: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0007: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0017: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0017: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0017: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0017: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0017: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0017: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0017: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0017: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0017: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0017: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0011: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0011: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0011: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0011: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0011: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0011: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0011: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0011: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0011: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0011: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0017: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0017: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0017: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0017: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0017: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0011: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0011: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0011: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0011: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0011: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0011: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0011: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0011: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0011: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0011: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0017: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0017: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0017: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0017: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0017: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0021: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0021: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0021: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0021: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0021: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0021: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0021: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0021: No HID_FEATURE_REPORT submitted - nothing to read
final repro crashed as (corrupted=false):
==================================================================
BUG: KASAN: use-after-free in instrument_atomic_read_write include/linux/instrumented.h:102 [inline]
BUG: KASAN: use-after-free in atomic_long_try_cmpxchg_acquire include/linux/atomic/atomic-instrumented.h:1779 [inline]
BUG: KASAN: use-after-free in __mutex_trylock_fast kernel/locking/mutex.c:176 [inline]
BUG: KASAN: use-after-free in mutex_lock+0xa4/0x1e0 kernel/locking/mutex.c:295
Write of size 8 at addr ffff88810d866850 by task acpid/88
CPU: 0 PID: 88 Comm: acpid Not tainted 6.1.128-syzkaller-00026-gcf7683f71956 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
Call Trace:
__dump_stack lib/dump_stack.c:88 [inline]
dump_stack_lvl+0x151/0x1b7 lib/dump_stack.c:106
print_address_description mm/kasan/report.c:316 [inline]
print_report+0x158/0x4e0 mm/kasan/report.c:427
kasan_report+0x13c/0x170 mm/kasan/report.c:531
kasan_check_range+0x294/0x2a0 mm/kasan/generic.c:189
__kasan_check_write+0x14/0x20 mm/kasan/shadow.c:37
instrument_atomic_read_write include/linux/instrumented.h:102 [inline]
atomic_long_try_cmpxchg_acquire include/linux/atomic/atomic-instrumented.h:1779 [inline]
__mutex_trylock_fast kernel/locking/mutex.c:176 [inline]
mutex_lock+0xa4/0x1e0 kernel/locking/mutex.c:295
steam_input_open+0x91/0x1a0 drivers/hid/hid-steam.c:297
input_open_device+0x1a5/0x310 drivers/input/input.c:650
evdev_open_device drivers/input/evdev.c:400 [inline]
evdev_open+0x3df/0x620 drivers/input/evdev.c:487
chrdev_open+0x4f7/0x620 fs/char_dev.c:414
do_dentry_open+0x891/0x1250 fs/open.c:884
vfs_open+0x73/0x80 fs/open.c:1015
do_open fs/namei.c:3625 [inline]
path_openat+0x2532/0x2d60 fs/namei.c:3782
do_filp_open+0x230/0x480 fs/namei.c:3809
do_sys_openat2+0x151/0x870 fs/open.c:1341
do_sys_open fs/open.c:1357 [inline]
__do_sys_openat fs/open.c:1373 [inline]
__se_sys_openat fs/open.c:1368 [inline]
__x64_sys_openat+0x243/0x290 fs/open.c:1368
x64_sys_call+0x6bf/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:258
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f2d61df49a4
Code: 24 20 48 8d 44 24 30 48 89 44 24 28 64 8b 04 25 18 00 00 00 85 c0 75 2c 44 89 e2 48 89 ee bf 9c ff ff ff b8 01 01 00 00 0f 05 <48> 3d 00 f0 ff ff 76 60 48 8b 15 55 a4 0d 00 f7 d8 64 89 02 48 83
RSP: 002b:00007fffc84eadf0 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007fffc84eb0d8 RCX: 00007f2d61df49a4
RDX: 0000000000080800 RSI: 00007fffc84eafd8 RDI: 00000000ffffff9c
RBP: 00007fffc84eafd8 R08: 00000000ffffffff R09: 00007fffc84eafd8
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000080800
R13: 0000000000000060 R14: 00007fffc84eb0d8 R15: 00007fffc84eafd8
Allocated by task 305:
kasan_save_stack mm/kasan/common.c:45 [inline]
kasan_set_track+0x4b/0x70 mm/kasan/common.c:52
kasan_save_alloc_info+0x1f/0x30 mm/kasan/generic.c:505
____kasan_kmalloc mm/kasan/common.c:379 [inline]
__kasan_kmalloc+0x9c/0xb0 mm/kasan/common.c:388
kasan_kmalloc include/linux/kasan.h:212 [inline]
__do_kmalloc_node mm/slab_common.c:938 [inline]
__kmalloc_node_track_caller+0xb3/0x1e0 mm/slab_common.c:958
alloc_dr drivers/base/devres.c:116 [inline]
devm_kmalloc+0x55/0x180 drivers/base/devres.c:826
devm_kzalloc include/linux/device.h:211 [inline]
steam_probe+0x12e/0xbe0 drivers/hid/hid-steam.c:741
hid_device_probe+0x292/0x3a0 drivers/hid/hid-core.c:2624
really_probe+0x2b8/0x920 drivers/base/dd.c:639
__driver_probe_device+0x1a0/0x310 drivers/base/dd.c:808
driver_probe_device+0x54/0x3d0 drivers/base/dd.c:838
__device_attach_driver+0x2e3/0x490 drivers/base/dd.c:966
bus_for_each_drv+0x183/0x200 drivers/base/bus.c:429
__device_attach+0x312/0x510 drivers/base/dd.c:1038
device_initial_probe+0x1a/0x20 drivers/base/dd.c:1087
bus_probe_device+0xbe/0x1e0 drivers/base/bus.c:489
device_add+0xb60/0xf10 drivers/base/core.c:3697
hid_add_device+0x3ad/0x510 drivers/hid/hid-core.c:2776
usbhid_probe+0xc1f/0xff0 drivers/hid/usbhid/hid-core.c:1424
usb_probe_interface+0x5b6/0xa90 drivers/usb/core/driver.c:397
really_probe+0x2b8/0x920 drivers/base/dd.c:639
__driver_probe_device+0x1a0/0x310 drivers/base/dd.c:808
driver_probe_device+0x54/0x3d0 drivers/base/dd.c:838
__device_attach_driver+0x2e3/0x490 drivers/base/dd.c:966
bus_for_each_drv+0x183/0x200 drivers/base/bus.c:429
__device_attach+0x312/0x510 drivers/base/dd.c:1038
device_initial_probe+0x1a/0x20 drivers/base/dd.c:1087
bus_probe_device+0xbe/0x1e0 drivers/base/bus.c:489
device_add+0xb60/0xf10 drivers/base/core.c:3697
usb_set_configuration+0x190f/0x1e80 drivers/usb/core/message.c:2165
usb_generic_driver_probe+0x8b/0x150 drivers/usb/core/generic.c:238
usb_probe_device+0x144/0x260 drivers/usb/core/driver.c:294
really_probe+0x2b8/0x920 drivers/base/dd.c:639
__driver_probe_device+0x1a0/0x310 drivers/base/dd.c:808
driver_probe_device+0x54/0x3d0 drivers/base/dd.c:838
__device_attach_driver+0x2e3/0x490 drivers/base/dd.c:966
bus_for_each_drv+0x183/0x200 drivers/base/bus.c:429
__device_attach+0x312/0x510 drivers/base/dd.c:1038
device_initial_probe+0x1a/0x20 drivers/base/dd.c:1087
bus_probe_device+0xbe/0x1e0 drivers/base/bus.c:489
device_add+0xb60/0xf10 drivers/base/core.c:3697
usb_new_device+0xf2f/0x1820 drivers/usb/core/hub.c:2645
hub_port_connect drivers/usb/core/hub.c:5556 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5696 [inline]
port_event drivers/usb/core/hub.c:5856 [inline]
hub_event+0x2db1/0x4830 drivers/usb/core/hub.c:5938
process_one_work+0x73d/0xcb0 kernel/workqueue.c:2299
worker_thread+0xa60/0x1260 kernel/workqueue.c:2446
kthread+0x26d/0x300 kernel/kthread.c:386
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
Freed by task 305:
kasan_save_stack mm/kasan/common.c:45 [inline]
kasan_set_track+0x4b/0x70 mm/kasan/common.c:52
kasan_save_free_info+0x2b/0x40 mm/kasan/generic.c:516
____kasan_slab_free+0x131/0x180 mm/kasan/common.c:241
__kasan_slab_free+0x11/0x20 mm/kasan/common.c:249
kasan_slab_free include/linux/kasan.h:178 [inline]
slab_free_hook mm/slub.c:1745 [inline]
slab_free_freelist_hook mm/slub.c:1771 [inline]
slab_free mm/slub.c:3686 [inline]
__kmem_cache_free+0x21d/0x410 mm/slub.c:3702
kfree+0x7a/0xf0 mm/slab_common.c:990
release_nodes+0xf1/0x230 drivers/base/devres.c:503
devres_release_all+0x148/0x1a0 drivers/base/devres.c:532
device_unbind_cleanup drivers/base/dd.c:530 [inline]
__device_release_driver drivers/base/dd.c:1288 [inline]
device_release_driver_internal+0x5bb/0x870 drivers/base/dd.c:1309
device_release_driver+0x19/0x20 drivers/base/dd.c:1332
bus_remove_device+0x2fa/0x360 drivers/base/bus.c:531
device_del+0x663/0xe90 drivers/base/core.c:3885
hid_remove_device drivers/hid/hid-core.c:2824 [inline]
hid_destroy_device+0x68/0x110 drivers/hid/hid-core.c:2843
usbhid_disconnect+0x9e/0xc0 drivers/hid/usbhid/hid-core.c:1451
usb_unbind_interface+0x1fa/0x8c0 drivers/usb/core/driver.c:459
device_remove drivers/base/dd.c:550 [inline]
__device_release_driver drivers/base/dd.c:1283 [inline]
device_release_driver_internal+0x53e/0x870 drivers/base/dd.c:1309
device_release_driver+0x19/0x20 drivers/base/dd.c:1332
bus_remove_device+0x2fa/0x360 drivers/base/bus.c:531
device_del+0x663/0xe90 drivers/base/core.c:3885
usb_disable_device+0x380/0x720 drivers/usb/core/message.c:1414
usb_disconnect+0x32a/0x890 drivers/usb/core/hub.c:2300
hub_port_connect drivers/usb/core/hub.c:5395 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5696 [inline]
port_event drivers/usb/core/hub.c:5856 [inline]
hub_event+0x1ed8/0x4830 drivers/usb/core/hub.c:5938
process_one_work+0x73d/0xcb0 kernel/workqueue.c:2299
worker_thread+0xa60/0x1260 kernel/workqueue.c:2446
kthread+0x26d/0x300 kernel/kthread.c:386
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
The buggy address belongs to the object at ffff88810d866800
which belongs to the cache kmalloc-512 of size 512
The buggy address is located 80 bytes inside of
512-byte region [ffff88810d866800, ffff88810d866a00)
The buggy address belongs to the physical page:
page:ffffea0004361900 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10d864
head:ffffea0004361900 order:2 compound_mapcount:0 compound_pincount:0
flags: 0x4000000000010200(slab|head|zone=1)
raw: 4000000000010200 dead000000000100 dead000000000122 ffff888100042f00
raw: 0000000000000000 0000000000100010 00000001ffffffff 0000000000000000
page dumped because: kasan: bad access detected
page_owner tracks the page as allocated
page last allocated via order 2, migratetype Unmovable, gfp_mask 0xd20c0(__GFP_IO|__GFP_FS|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 1, tgid 1 (swapper/0), ts 3128038895, free_ts 3108502256
set_page_owner include/linux/page_owner.h:33 [inline]
post_alloc_hook+0x213/0x220 mm/page_alloc.c:2637
prep_new_page+0x1b/0x110 mm/page_alloc.c:2644
get_page_from_freelist+0x3a98/0x3b10 mm/page_alloc.c:4539
__alloc_pages+0x234/0x610 mm/page_alloc.c:5837
alloc_slab_page+0x6c/0xf0
allocate_slab mm/slub.c:1962 [inline]
new_slab+0x90/0x3e0 mm/slub.c:2015
___slab_alloc+0x6f9/0xb80 mm/slub.c:3203
__slab_alloc+0x5d/0xa0 mm/slub.c:3302
slab_alloc_node mm/slub.c:3387 [inline]
__kmem_cache_alloc_node+0x207/0x2a0 mm/slub.c:3462
kmalloc_trace+0x2a/0xa0 mm/slab_common.c:1028
kmalloc include/linux/slab.h:563 [inline]
kzalloc include/linux/slab.h:699 [inline]
simd_skcipher_create_compat+0x60/0x660 crypto/simd.c:148
simd_register_skciphers_compat+0x11d/0x260 crypto/simd.c:227
aesni_init+0x195/0x2d5 arch/x86/crypto/aesni-intel_glue.c:1266
do_one_initcall+0x18d/0x630 init/main.c:1296
do_initcall_level+0x186/0x306 init/main.c:1369
do_initcalls+0x4e/0x8e init/main.c:1385
page last free stack trace:
reset_page_owner include/linux/page_owner.h:26 [inline]
free_pages_prepare mm/page_alloc.c:1545 [inline]
free_pcp_prepare mm/page_alloc.c:1619 [inline]
free_unref_page_prepare+0x9f1/0xa00 mm/page_alloc.c:3581
free_unref_page+0xb2/0x5c0 mm/page_alloc.c:3677
free_the_page mm/page_alloc.c:830 [inline]
__free_pages+0x61/0xf0 mm/page_alloc.c:5926
free_pages+0x7c/0x90 mm/page_alloc.c:5937
__stack_depot_save+0x42c/0x480 lib/stackdepot.c:506
kasan_save_stack mm/kasan/common.c:46 [inline]
kasan_set_track+0x60/0x70 mm/kasan/common.c:52
kasan_save_free_info+0x2b/0x40 mm/kasan/generic.c:516
____kasan_slab_free+0x131/0x180 mm/kasan/common.c:241
__kasan_slab_free+0x11/0x20 mm/kasan/common.c:249
kasan_slab_free include/linux/kasan.h:178 [inline]
slab_free_hook mm/slub.c:1745 [inline]
slab_free_freelist_hook mm/slub.c:1771 [inline]
slab_free mm/slub.c:3686 [inline]
__kmem_cache_free+0x21d/0x410 mm/slub.c:3702
kfree+0x7a/0xf0 mm/slab_common.c:990
free_modprobe_argv+0x5c/0x80 kernel/kmod.c:65
call_usermodehelper_freeinfo kernel/umh.c:46 [inline]
call_usermodehelper_exec+0x157/0x490 kernel/umh.c:466
call_modprobe kernel/kmod.c:98 [inline]
__request_module+0x39e/0x8d0 kernel/kmod.c:170
lowpan_module_init+0x67/0xa3 net/6lowpan/core.c:165
do_one_initcall+0x18d/0x630 init/main.c:1296
Memory state around the buggy address:
ffff88810d866700: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
ffff88810d866780: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
>ffff88810d866800: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
^
ffff88810d866880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
ffff88810d866900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
==================================================================
hid 0003:28DE:1102.0007: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0007: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0007: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0007: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0007: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0007: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0007: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0007: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0007: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0007: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0017: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0017: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0017: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0017: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0017: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0017: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0017: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0017: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0017: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0017: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0011: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0011: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0011: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0011: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0011: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0011: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0011: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0011: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0011: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0011: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0017: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0017: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0017: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0017: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0017: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0011: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0011: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0011: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0011: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0011: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0011: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0011: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0011: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0011: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0011: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0017: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0017: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0017: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0017: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0017: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0021: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0021: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0021: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0021: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0021: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0021: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0021: No HID_FEATURE_REPORT submitted - nothing to read
hid 0003:28DE:1102.0021: No HID_FEATURE_REPORT submitted - nothing to read