Extracting prog: 1m11.973544088s Minimizing prog: 8m41.129059675s Simplifying prog options: 0s Extracting C: 28.454440595s Simplifying C: 5m20.127174572s 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-syz_usb_connect-syz_usb_control_io-syz_usb_control_io-syz_usb_control_io-syz_open_dev$hidraw detailed listing: executing program 0: r0 = syz_usb_connect$hid(0x2, 0x36, &(0x7f0000000000)={{0x12, 0x1, 0x0, 0x0, 0x0, 0x0, 0x40, 0x28de, 0x1102, 0x0, 0x0, 0x0, 0x0, 0x1, [{{0x9, 0x2, 0x24, 0x1, 0x0, 0x0, 0xd0, 0x0, [{{0x9, 0x4, 0x0, 0x4, 0x1, 0x3, 0x0, 0x0, 0x0, {0x9, 0x21, 0x1, 0xf9, 0x1, {0x22, 0x5}}, {{{0x9, 0x5, 0x81, 0x3, 0x0, 0x0, 0x0, 0x50}}}}}]}}]}}, 0x0) r1 = syz_usb_connect(0x2, 0x0, 0x0, 0x0) syz_usb_control_io(r1, 0x0, 0x0) syz_usb_control_io(r0, 0x0, 0x0) syz_usb_control_io(r0, &(0x7f0000000040)={0x2c, &(0x7f0000000200)=ANY=[@ANYBLOB="200b4000000028b1"], 0x0, 0x0, 0x0, 0x0}, 0x0) syz_open_dev$hidraw(&(0x7f0000000100), 0x0, 0x0) program crashed: KASAN: use-after-free Write in steam_input_open single: successfully extracted reproducer found reproducer with 6 syscalls minimizing guilty program testing program (duration=38.395730919s, {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_connect-syz_usb_control_io-syz_usb_control_io-syz_usb_control_io detailed listing: executing program 0: r0 = syz_usb_connect$hid(0x2, 0x36, &(0x7f0000000000)={{0x12, 0x1, 0x0, 0x0, 0x0, 0x0, 0x40, 0x28de, 0x1102, 0x0, 0x0, 0x0, 0x0, 0x1, [{{0x9, 0x2, 0x24, 0x1, 0x0, 0x0, 0xd0, 0x0, [{{0x9, 0x4, 0x0, 0x4, 0x1, 0x3, 0x0, 0x0, 0x0, {0x9, 0x21, 0x1, 0xf9, 0x1, {0x22, 0x5}}, {{{0x9, 0x5, 0x81, 0x3, 0x0, 0x0, 0x0, 0x50}}}}}]}}]}}, 0x0) r1 = syz_usb_connect(0x2, 0x0, 0x0, 0x0) syz_usb_control_io(r1, 0x0, 0x0) syz_usb_control_io(r0, 0x0, 0x0) syz_usb_control_io(r0, &(0x7f0000000040)={0x2c, &(0x7f0000000200)=ANY=[@ANYBLOB="200b4000000028b1"], 0x0, 0x0, 0x0, 0x0}, 0x0) program did not crash testing program (duration=38.395730919s, {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_connect-syz_usb_control_io-syz_usb_control_io-syz_open_dev$hidraw detailed listing: executing program 0: r0 = syz_usb_connect$hid(0x2, 0x36, &(0x7f0000000000)={{0x12, 0x1, 0x0, 0x0, 0x0, 0x0, 0x40, 0x28de, 0x1102, 0x0, 0x0, 0x0, 0x0, 0x1, [{{0x9, 0x2, 0x24, 0x1, 0x0, 0x0, 0xd0, 0x0, [{{0x9, 0x4, 0x0, 0x4, 0x1, 0x3, 0x0, 0x0, 0x0, {0x9, 0x21, 0x1, 0xf9, 0x1, {0x22, 0x5}}, {{{0x9, 0x5, 0x81, 0x3, 0x0, 0x0, 0x0, 0x50}}}}}]}}]}}, 0x0) r1 = syz_usb_connect(0x2, 0x0, 0x0, 0x0) syz_usb_control_io(r1, 0x0, 0x0) syz_usb_control_io(r0, 0x0, 0x0) syz_open_dev$hidraw(&(0x7f0000000100), 0x0, 0x0) program did not crash testing program (duration=38.395730919s, {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_connect-syz_usb_control_io-syz_usb_control_io-syz_open_dev$hidraw detailed listing: executing program 0: r0 = syz_usb_connect$hid(0x2, 0x36, &(0x7f0000000000)={{0x12, 0x1, 0x0, 0x0, 0x0, 0x0, 0x40, 0x28de, 0x1102, 0x0, 0x0, 0x0, 0x0, 0x1, [{{0x9, 0x2, 0x24, 0x1, 0x0, 0x0, 0xd0, 0x0, [{{0x9, 0x4, 0x0, 0x4, 0x1, 0x3, 0x0, 0x0, 0x0, {0x9, 0x21, 0x1, 0xf9, 0x1, {0x22, 0x5}}, {{{0x9, 0x5, 0x81, 0x3, 0x0, 0x0, 0x0, 0x50}}}}}]}}]}}, 0x0) r1 = syz_usb_connect(0x2, 0x0, 0x0, 0x0) syz_usb_control_io(r1, 0x0, 0x0) syz_usb_control_io(r0, &(0x7f0000000040)={0x2c, &(0x7f0000000200)=ANY=[@ANYBLOB="200b4000000028b1"], 0x0, 0x0, 0x0, 0x0}, 0x0) syz_open_dev$hidraw(&(0x7f0000000100), 0x0, 0x0) program did not crash testing program (duration=38.395730919s, {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_connect-syz_usb_control_io-syz_usb_control_io-syz_open_dev$hidraw detailed listing: executing program 0: r0 = syz_usb_connect$hid(0x2, 0x36, &(0x7f0000000000)={{0x12, 0x1, 0x0, 0x0, 0x0, 0x0, 0x40, 0x28de, 0x1102, 0x0, 0x0, 0x0, 0x0, 0x1, [{{0x9, 0x2, 0x24, 0x1, 0x0, 0x0, 0xd0, 0x0, [{{0x9, 0x4, 0x0, 0x4, 0x1, 0x3, 0x0, 0x0, 0x0, {0x9, 0x21, 0x1, 0xf9, 0x1, {0x22, 0x5}}, {{{0x9, 0x5, 0x81, 0x3, 0x0, 0x0, 0x0, 0x50}}}}}]}}]}}, 0x0) syz_usb_connect(0x2, 0x0, 0x0, 0x0) syz_usb_control_io(r0, 0x0, 0x0) syz_usb_control_io(r0, &(0x7f0000000040)={0x2c, &(0x7f0000000200)=ANY=[@ANYBLOB="200b4000000028b1"], 0x0, 0x0, 0x0, 0x0}, 0x0) syz_open_dev$hidraw(&(0x7f0000000100), 0x0, 0x0) program crashed: KASAN: use-after-free Write in steam_input_open testing program (duration=38.395730919s, {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-syz_usb_control_io-syz_open_dev$hidraw detailed listing: executing program 0: r0 = syz_usb_connect$hid(0x2, 0x36, &(0x7f0000000000)={{0x12, 0x1, 0x0, 0x0, 0x0, 0x0, 0x40, 0x28de, 0x1102, 0x0, 0x0, 0x0, 0x0, 0x1, [{{0x9, 0x2, 0x24, 0x1, 0x0, 0x0, 0xd0, 0x0, [{{0x9, 0x4, 0x0, 0x4, 0x1, 0x3, 0x0, 0x0, 0x0, {0x9, 0x21, 0x1, 0xf9, 0x1, {0x22, 0x5}}, {{{0x9, 0x5, 0x81, 0x3, 0x0, 0x0, 0x0, 0x50}}}}}]}}]}}, 0x0) syz_usb_control_io(r0, 0x0, 0x0) syz_usb_control_io(r0, &(0x7f0000000040)={0x2c, &(0x7f0000000200)=ANY=[@ANYBLOB="200b4000000028b1"], 0x0, 0x0, 0x0, 0x0}, 0x0) syz_open_dev$hidraw(&(0x7f0000000100), 0x0, 0x0) program crashed: KASAN: use-after-free Write in steam_input_open testing program (duration=38.395730919s, {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-syz_usb_control_io-syz_open_dev$hidraw detailed listing: executing program 0: syz_usb_control_io(0xffffffffffffffff, 0x0, 0x0) syz_usb_control_io(0xffffffffffffffff, &(0x7f0000000040)={0x2c, &(0x7f0000000200)=ANY=[@ANYBLOB="200b4000000028b1"], 0x0, 0x0, 0x0, 0x0}, 0x0) syz_open_dev$hidraw(&(0x7f0000000100), 0x0, 0x0) program did not crash testing program (duration=38.395730919s, {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-syz_usb_control_io-syz_open_dev$hidraw detailed listing: executing program 0: r0 = syz_usb_connect$hid(0x2, 0x0, 0x0, 0x0) syz_usb_control_io(r0, 0x0, 0x0) syz_usb_control_io(r0, &(0x7f0000000040)={0x2c, &(0x7f0000000200)=ANY=[@ANYBLOB="200b4000000028b1"], 0x0, 0x0, 0x0, 0x0}, 0x0) syz_open_dev$hidraw(&(0x7f0000000100), 0x0, 0x0) program did not crash testing program (duration=38.395730919s, {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-syz_usb_control_io-syz_open_dev$hidraw detailed listing: executing program 0: r0 = syz_usb_connect$hid(0x2, 0x36, &(0x7f0000000000)={{0x12, 0x1, 0x0, 0x0, 0x0, 0x0, 0x40, 0x28de, 0x1102, 0x0, 0x0, 0x0, 0x0, 0x1, [{{0x9, 0x2, 0x24, 0x1, 0x0, 0x0, 0xd0, 0x0, [{{0x9, 0x4, 0x0, 0x4, 0x1, 0x3, 0x0, 0x0, 0x0, {0x9, 0x21, 0x1, 0xf9, 0x1, {0x22, 0x5}}, {{{0x9, 0x5, 0x81, 0x3, 0x0, 0x0, 0x0, 0x50}}}}}]}}]}}, 0x0) syz_usb_control_io(r0, 0x0, 0x0) syz_usb_control_io(r0, 0x0, 0x0) syz_open_dev$hidraw(&(0x7f0000000100), 0x0, 0x0) program did not crash testing program (duration=38.395730919s, {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-syz_usb_control_io-syz_open_dev$hidraw detailed listing: executing program 0: r0 = syz_usb_connect$hid(0x2, 0x36, &(0x7f0000000000)={{0x12, 0x1, 0x0, 0x0, 0x0, 0x0, 0x40, 0x28de, 0x1102, 0x0, 0x0, 0x0, 0x0, 0x1, [{{0x9, 0x2, 0x24, 0x1, 0x0, 0x0, 0xd0, 0x0, [{{0x9, 0x4, 0x0, 0x4, 0x1, 0x3, 0x0, 0x0, 0x0, {0x9, 0x21, 0x1, 0xf9, 0x1, {0x22, 0x5}}, {{{0x9, 0x5, 0x81, 0x3, 0x0, 0x0, 0x0, 0x50}}}}}]}}]}}, 0x0) syz_usb_control_io(r0, 0x0, 0x0) syz_usb_control_io(r0, &(0x7f0000000040)={0x2c, 0x0, 0x0, 0x0, 0x0, 0x0}, 0x0) syz_open_dev$hidraw(&(0x7f0000000100), 0x0, 0x0) program did not crash testing program (duration=38.395730919s, {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-syz_usb_control_io-syz_open_dev$hidraw detailed listing: executing program 0: r0 = syz_usb_connect$hid(0x2, 0x36, &(0x7f0000000000)={{0x12, 0x1, 0x0, 0x0, 0x0, 0x0, 0x40, 0x28de, 0x1102, 0x0, 0x0, 0x0, 0x0, 0x1, [{{0x9, 0x2, 0x24, 0x1, 0x0, 0x0, 0xd0, 0x0, [{{0x9, 0x4, 0x0, 0x4, 0x1, 0x3, 0x0, 0x0, 0x0, {0x9, 0x21, 0x1, 0xf9, 0x1, {0x22, 0x5}}, {{{0x9, 0x5, 0x81, 0x3, 0x0, 0x0, 0x0, 0x50}}}}}]}}]}}, 0x0) syz_usb_control_io(r0, 0x0, 0x0) syz_usb_control_io(r0, &(0x7f0000000040)={0x2c, &(0x7f0000000200)=ANY=[@ANYBLOB], 0x0, 0x0, 0x0, 0x0}, 0x0) syz_open_dev$hidraw(&(0x7f0000000100), 0x0, 0x0) program did not crash testing program (duration=38.395730919s, {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-syz_usb_control_io-syz_open_dev$hidraw detailed listing: executing program 0: r0 = syz_usb_connect$hid(0x2, 0x36, &(0x7f0000000000)={{0x12, 0x1, 0x0, 0x0, 0x0, 0x0, 0x40, 0x28de, 0x1102, 0x0, 0x0, 0x0, 0x0, 0x1, [{{0x9, 0x2, 0x24, 0x1, 0x0, 0x0, 0xd0, 0x0, [{{0x9, 0x4, 0x0, 0x4, 0x1, 0x3, 0x0, 0x0, 0x0, {0x9, 0x21, 0x1, 0xf9, 0x1, {0x22, 0x5}}, {{{0x9, 0x5, 0x81, 0x3, 0x0, 0x0, 0x0, 0x50}}}}}]}}]}}, 0x0) syz_usb_control_io(r0, 0x0, 0x0) syz_usb_control_io(r0, &(0x7f0000000040)={0x2c, &(0x7f0000000200)=ANY=[@ANYBLOB="200b4000000028b1"], 0x0, 0x0, 0x0, 0x0}, 0x0) syz_open_dev$hidraw(0x0, 0x0, 0x0) program did not crash extracting C reproducer testing compiled C program (duration=38.395730919s, {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-syz_usb_control_io-syz_open_dev$hidraw program crashed: KASAN: use-after-free Write in steam_input_open simplifying C reproducer testing compiled C program (duration=38.395730919s, {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-syz_usb_control_io-syz_open_dev$hidraw program crashed: KASAN: use-after-free Write in steam_input_open testing compiled C program (duration=38.395730919s, {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-syz_usb_control_io-syz_open_dev$hidraw program did not crash testing compiled C program (duration=38.395730919s, {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-syz_usb_control_io-syz_open_dev$hidraw program did not crash testing compiled C program (duration=38.395730919s, {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-syz_usb_control_io-syz_open_dev$hidraw program crashed: KASAN: use-after-free Write in steam_input_open testing compiled C program (duration=38.395730919s, {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-syz_usb_control_io-syz_open_dev$hidraw program crashed: KASAN: use-after-free Write in steam_input_open testing compiled C program (duration=38.395730919s, {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-syz_usb_control_io-syz_open_dev$hidraw program crashed: KASAN: use-after-free Write in steam_input_open testing compiled C program (duration=38.395730919s, {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-syz_usb_control_io-syz_open_dev$hidraw program crashed: KASAN: use-after-free Write in steam_input_open reproducing took 15m41.684233929s repro crashed as (corrupted=false): ================================================================== BUG: KASAN: use-after-free in instrument_atomic_read_write include/linux/instrumented.h:101 [inline] BUG: KASAN: use-after-free in atomic64_try_cmpxchg_acquire include/asm-generic/atomic-instrumented.h:1515 [inline] BUG: KASAN: use-after-free in atomic_long_try_cmpxchg_acquire include/asm-generic/atomic-long.h:443 [inline] BUG: KASAN: use-after-free in __mutex_trylock_fast kernel/locking/mutex.c:173 [inline] BUG: KASAN: use-after-free in mutex_lock+0x7f/0xe0 kernel/locking/mutex.c:298 Write of size 8 at addr ffff88810a919440 by task udevd/279 CPU: 0 PID: 279 Comm: udevd Not tainted 5.10.236-syzkaller-00012-gab07aeb2c93d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Call Trace: __dump_stack+0x21/0x24 lib/dump_stack.c:77 dump_stack_lvl+0x169/0x1d8 lib/dump_stack.c:118 print_address_description+0x7f/0x2c0 mm/kasan/report.c:248 __kasan_report mm/kasan/report.c:435 [inline] kasan_report+0xe2/0x130 mm/kasan/report.c:452 check_region_inline mm/kasan/generic.c:-1 [inline] kasan_check_range+0x280/0x290 mm/kasan/generic.c:189 __kasan_check_write+0x14/0x20 mm/kasan/shadow.c:37 instrument_atomic_read_write include/linux/instrumented.h:101 [inline] atomic64_try_cmpxchg_acquire include/asm-generic/atomic-instrumented.h:1515 [inline] atomic_long_try_cmpxchg_acquire include/asm-generic/atomic-long.h:443 [inline] __mutex_trylock_fast kernel/locking/mutex.c:173 [inline] mutex_lock+0x7f/0xe0 kernel/locking/mutex.c:298 steam_input_open+0x91/0x160 drivers/hid/hid-steam.c:297 input_open_device+0x14c/0x2a0 drivers/input/input.c:635 evdev_open_device drivers/input/evdev.c:400 [inline] evdev_open+0x4d2/0x5e0 drivers/input/evdev.c:487 chrdev_open+0x597/0x670 fs/char_dev.c:414 do_dentry_open+0x793/0x1090 fs/open.c:819 vfs_open+0x73/0x80 fs/open.c:942 do_open fs/namei.c:3391 [inline] path_openat+0x27ad/0x3160 fs/namei.c:3509 do_filp_open+0x1b3/0x3e0 fs/namei.c:3536 do_sys_openat2+0x14c/0x6d0 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_openat fs/open.c:1249 [inline] __se_sys_openat fs/open.c:1244 [inline] __x64_sys_openat+0x136/0x160 fs/open.c:1244 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f10997e79a4 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:00007ffecf63fba0 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f10997e79a4 RDX: 0000000000080000 RSI: 0000560fed3f0ff0 RDI: 00000000ffffff9c RBP: 0000560fed3f0ff0 R08: 0000560fed3efdd8 R09: fffffffffffffe98 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000080000 R13: 00007ffecf63fd68 R14: 0000000000000000 R15: 0000560fc2460ed5 Allocated by task 1: kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track mm/kasan/common.c:45 [inline] set_alloc_info mm/kasan/common.c:430 [inline] ____kasan_kmalloc mm/kasan/common.c:509 [inline] __kasan_kmalloc+0xda/0x110 mm/kasan/common.c:518 kasan_kmalloc include/linux/kasan.h:254 [inline] kmem_cache_alloc_trace+0x184/0x2e0 mm/slub.c:2974 kmem_cache_alloc_node_trace include/linux/slab.h:440 [inline] kmalloc_node include/linux/slab.h:570 [inline] kzalloc_node include/linux/slab.h:675 [inline] blkg_alloc+0x6f/0x560 block/blk-cgroup.c:158 blkcg_init_queue+0x2d/0x330 block/blk-cgroup.c:1167 blk_alloc_queue+0x463/0x610 block/blk-core.c:575 blk_mq_init_queue_data block/blk-mq.c:3155 [inline] blk_mq_init_queue+0x37/0xd0 block/blk-mq.c:3174 scsi_mq_alloc_queue+0x42/0x140 drivers/scsi/scsi_lib.c:1900 scsi_alloc_sdev+0x60d/0x920 drivers/scsi/scsi_scan.c:284 scsi_probe_and_add_lun+0x196/0x33e0 drivers/scsi/scsi_scan.c:1098 __scsi_scan_target+0x1d6/0xbc0 drivers/scsi/scsi_scan.c:1581 scsi_scan_channel drivers/scsi/scsi_scan.c:1669 [inline] scsi_scan_host_selected+0x343/0x5f0 drivers/scsi/scsi_scan.c:1698 do_scsi_scan_host drivers/scsi/scsi_scan.c:1837 [inline] scsi_scan_host+0x39e/0x660 drivers/scsi/scsi_scan.c:1867 virtscsi_probe+0x817/0x990 drivers/scsi/virtio_scsi.c:915 virtio_dev_probe+0x8c0/0xb10 drivers/virtio/virtio.c:274 really_probe+0x386/0xa90 drivers/base/dd.c:558 driver_probe_device+0xe7/0x190 drivers/base/dd.c:752 device_driver_attach+0x181/0x280 drivers/base/dd.c:1035 __driver_attach+0x15a/0x3a0 drivers/base/dd.c:1124 bus_for_each_dev+0x174/0x1e0 drivers/base/bus.c:307 driver_attach+0x42/0x50 drivers/base/dd.c:1140 bus_add_driver+0x335/0x580 drivers/base/bus.c:624 driver_register+0x33a/0x440 drivers/base/driver.c:240 register_virtio_driver+0x9a/0xd0 drivers/virtio/virtio.c:325 init+0x66/0xde drivers/scsi/virtio_scsi.c:1009 do_one_initcall+0x187/0x510 init/main.c:1197 do_initcall_level+0x16f/0x2cf init/main.c:1270 do_initcalls+0x50/0x92 init/main.c:1286 do_basic_setup+0x88/0x8f init/main.c:1306 kernel_init_freeable+0x287/0x3be init/main.c:1510 kernel_init+0x11/0x1a0 init/main.c:1397 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 Freed by task 15: kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track+0x4a/0x70 mm/kasan/common.c:45 kasan_set_free_info+0x23/0x40 mm/kasan/generic.c:370 ____kasan_slab_free+0x125/0x160 mm/kasan/common.c:362 __kasan_slab_free+0x11/0x20 mm/kasan/common.c:370 kasan_slab_free include/linux/kasan.h:220 [inline] slab_free_hook mm/slub.c:1595 [inline] slab_free_freelist_hook+0xc5/0x190 mm/slub.c:1621 slab_free mm/slub.c:3203 [inline] kfree+0xc0/0x270 mm/slub.c:4191 release_nodes+0x753/0x7d0 drivers/base/devres.c:524 devres_release_all+0x7c/0xa0 drivers/base/devres.c:545 __device_release_driver drivers/base/dd.c:1190 [inline] device_release_driver_internal+0x4cb/0x750 drivers/base/dd.c:1221 device_release_driver+0x19/0x20 drivers/base/dd.c:1244 bus_remove_device+0x2dd/0x340 drivers/base/bus.c:535 device_del+0x696/0xed0 drivers/base/core.c:3452 hid_remove_device drivers/hid/hid-core.c:2503 [inline] hid_destroy_device+0x6a/0x110 drivers/hid/hid-core.c:2522 usbhid_disconnect+0x9f/0xc0 drivers/hid/usbhid/hid-core.c:1445 usb_unbind_interface+0x212/0x8c0 drivers/usb/core/driver.c:459 __device_release_driver drivers/base/dd.c:-1 [inline] device_release_driver_internal+0x4bc/0x750 drivers/base/dd.c:1221 device_release_driver+0x19/0x20 drivers/base/dd.c:1244 bus_remove_device+0x2dd/0x340 drivers/base/bus.c:535 device_del+0x696/0xed0 drivers/base/core.c:3452 usb_disable_device+0x3a8/0x750 drivers/usb/core/message.c:1411 usb_disconnect+0x31e/0x850 drivers/usb/core/hub.c:2282 hub_port_connect drivers/usb/core/hub.c:5308 [inline] hub_port_connect_change drivers/usb/core/hub.c:5609 [inline] port_event drivers/usb/core/hub.c:5759 [inline] hub_event+0x1912/0x4120 drivers/usb/core/hub.c:5841 process_one_work+0x6e1/0xba0 kernel/workqueue.c:2301 worker_thread+0xa6a/0x13b0 kernel/workqueue.c:2447 kthread+0x346/0x3d0 kernel/kthread.c:313 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 Last potentially related work creation: kasan_save_stack+0x3a/0x60 mm/kasan/common.c:38 __kasan_record_aux_stack+0xd2/0x100 mm/kasan/generic.c:348 kasan_record_aux_stack_noalloc+0xb/0x10 mm/kasan/generic.c:358 __call_rcu kernel/rcu/tree.c:2976 [inline] call_rcu+0x105/0x1040 kernel/rcu/tree.c:3050 blkg_release+0x23/0x30 block/blk-cgroup.c:114 percpu_ref_put_many include/linux/percpu-refcount.h:322 [inline] percpu_ref_put include/linux/percpu-refcount.h:338 [inline] percpu_ref_call_confirm_rcu lib/percpu-refcount.c:163 [inline] percpu_ref_switch_to_atomic_rcu+0x5a9/0x5b0 lib/percpu-refcount.c:200 rcu_do_batch+0x4df/0xa80 kernel/rcu/tree.c:2494 rcu_core+0x55f/0xd60 kernel/rcu/tree.c:2735 rcu_core_si+0x9/0x10 kernel/rcu/tree.c:2748 __do_softirq+0x255/0x563 kernel/softirq.c:309 The buggy address belongs to the object at ffff88810a919400 which belongs to the cache kmalloc-512 of size 512 The buggy address is located 64 bytes inside of 512-byte region [ffff88810a919400, ffff88810a919600) The buggy address belongs to the page: page:ffffea00042a4600 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10a918 head:ffffea00042a4600 order:2 compound_mapcount:0 compound_pincount:0 flags: 0x4000000000010200(slab|head) raw: 4000000000010200 dead000000000100 dead000000000122 ffff888100043080 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, ts 2157370503, free_ts 0 set_page_owner include/linux/page_owner.h:35 [inline] post_alloc_hook mm/page_alloc.c:2456 [inline] prep_new_page+0x179/0x180 mm/page_alloc.c:2462 get_page_from_freelist+0x2235/0x23d0 mm/page_alloc.c:4254 __alloc_pages_nodemask+0x268/0x5f0 mm/page_alloc.c:5349 alloc_slab_page mm/slub.c:-1 [inline] allocate_slab mm/slub.c:1808 [inline] new_slab+0x84/0x3f0 mm/slub.c:1869 new_slab_objects mm/slub.c:2627 [inline] ___slab_alloc+0x2a6/0x450 mm/slub.c:2791 __slab_alloc+0x63/0xa0 mm/slub.c:2831 slab_alloc_node mm/slub.c:2913 [inline] slab_alloc mm/slub.c:2955 [inline] kmem_cache_alloc_trace+0x1b3/0x2e0 mm/slub.c:2972 kmem_cache_alloc_node_trace include/linux/slab.h:440 [inline] kmalloc_node include/linux/slab.h:570 [inline] kzalloc_node include/linux/slab.h:675 [inline] blkg_alloc+0x6f/0x560 block/blk-cgroup.c:158 blkcg_init_queue+0x2d/0x330 block/blk-cgroup.c:1167 blk_alloc_queue+0x463/0x610 block/blk-core.c:575 blk_mq_init_queue_data block/blk-mq.c:3155 [inline] blk_mq_init_queue+0x37/0xd0 block/blk-mq.c:3174 scsi_mq_alloc_queue+0x42/0x140 drivers/scsi/scsi_lib.c:1900 scsi_alloc_sdev+0x60d/0x920 drivers/scsi/scsi_scan.c:284 scsi_probe_and_add_lun+0x196/0x33e0 drivers/scsi/scsi_scan.c:1098 __scsi_scan_target+0x1d6/0xbc0 drivers/scsi/scsi_scan.c:1581 scsi_scan_channel drivers/scsi/scsi_scan.c:1669 [inline] scsi_scan_host_selected+0x343/0x5f0 drivers/scsi/scsi_scan.c:1698 page_owner free stack trace missing Memory state around the buggy address: ffff88810a919300: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff88810a919380: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff88810a919400: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff88810a919480: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff88810a919500: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ================================================================== hid 0003:28DE:1102.0001: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.0001: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.0001: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.0001: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.0001: No HID_FEATURE_REPORT submitted - nothing to read ================================================================== BUG: KFENCE: use-after-free write in arch_atomic64_try_cmpxchg arch/x86/include/asm/atomic64_64.h:190 [inline] BUG: KFENCE: use-after-free write in atomic64_try_cmpxchg_acquire include/asm-generic/atomic-instrumented.h:1517 [inline] BUG: KFENCE: use-after-free write in atomic_long_try_cmpxchg_acquire include/asm-generic/atomic-long.h:443 [inline] BUG: KFENCE: use-after-free write in __mutex_trylock_fast kernel/locking/mutex.c:173 [inline] BUG: KFENCE: use-after-free write in mutex_lock+0x91/0xe0 kernel/locking/mutex.c:298 Use-after-free write at 0xffff8881f739ce40 (in kfence-#38): arch_atomic64_try_cmpxchg arch/x86/include/asm/atomic64_64.h:190 [inline] atomic64_try_cmpxchg_acquire include/asm-generic/atomic-instrumented.h:1517 [inline] atomic_long_try_cmpxchg_acquire include/asm-generic/atomic-long.h:443 [inline] __mutex_trylock_fast kernel/locking/mutex.c:173 [inline] mutex_lock+0x91/0xe0 kernel/locking/mutex.c:298 steam_input_open+0x91/0x160 drivers/hid/hid-steam.c:297 input_open_device+0x14c/0x2a0 drivers/input/input.c:635 evdev_open_device drivers/input/evdev.c:400 [inline] evdev_open+0x4d2/0x5e0 drivers/input/evdev.c:487 chrdev_open+0x597/0x670 fs/char_dev.c:414 do_dentry_open+0x793/0x1090 fs/open.c:819 vfs_open+0x73/0x80 fs/open.c:942 do_open fs/namei.c:3391 [inline] path_openat+0x27ad/0x3160 fs/namei.c:3509 do_filp_open+0x1b3/0x3e0 fs/namei.c:3536 do_sys_openat2+0x14c/0x6d0 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_openat fs/open.c:1249 [inline] __se_sys_openat fs/open.c:1244 [inline] __x64_sys_openat+0x136/0x160 fs/open.c:1244 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xcb kfence-#38 [0xffff8881f739ce00-0xffff8881f739cf3f, size=320, cache=kmalloc-512] allocated by task 283: alloc_dr drivers/base/devres.c:111 [inline] devm_kmalloc+0x51/0x200 drivers/base/devres.c:835 devm_kzalloc include/linux/device.h:218 [inline] steam_probe+0x129/0xb10 drivers/hid/hid-steam.c:741 hid_device_probe+0x287/0x380 drivers/hid/hid-core.c:2303 really_probe+0x386/0xa90 drivers/base/dd.c:558 driver_probe_device+0xe7/0x190 drivers/base/dd.c:752 __device_attach_driver+0x282/0x3f0 drivers/base/dd.c:863 bus_for_each_drv+0x175/0x200 drivers/base/bus.c:433 __device_attach+0x29a/0x400 drivers/base/dd.c:932 device_initial_probe+0x1a/0x20 drivers/base/dd.c:981 bus_probe_device+0xc0/0x1e0 drivers/base/bus.c:493 device_add+0x8b4/0xbf0 drivers/base/core.c:3273 hid_add_device+0x356/0x4b0 drivers/hid/hid-core.c:2455 usbhid_probe+0xb2e/0xee0 drivers/hid/usbhid/hid-core.c:1418 usb_probe_interface+0x5ff/0xae0 drivers/usb/core/driver.c:397 really_probe+0x3d8/0xa90 drivers/base/dd.c:562 driver_probe_device+0xe7/0x190 drivers/base/dd.c:752 __device_attach_driver+0x282/0x3f0 drivers/base/dd.c:863 bus_for_each_drv+0x175/0x200 drivers/base/bus.c:433 __device_attach+0x29a/0x400 drivers/base/dd.c:932 device_initial_probe+0x1a/0x20 drivers/base/dd.c:981 bus_probe_device+0xc0/0x1e0 drivers/base/bus.c:493 device_add+0x8b4/0xbf0 drivers/base/core.c:3273 usb_set_configuration+0x1a47/0x1f80 drivers/usb/core/message.c:2160 usb_generic_driver_probe+0x91/0x150 drivers/usb/core/generic.c:238 usb_probe_device+0x148/0x260 drivers/usb/core/driver.c:294 really_probe+0x3d8/0xa90 drivers/base/dd.c:562 driver_probe_device+0xe7/0x190 drivers/base/dd.c:752 __device_attach_driver+0x282/0x3f0 drivers/base/dd.c:863 bus_for_each_drv+0x175/0x200 drivers/base/bus.c:433 __device_attach+0x29a/0x400 drivers/base/dd.c:932 device_initial_probe+0x1a/0x20 drivers/base/dd.c:981 bus_probe_device+0xc0/0x1e0 drivers/base/bus.c:493 device_add+0x8b4/0xbf0 drivers/base/core.c:3273 usb_new_device+0xcd1/0x1450 drivers/usb/core/hub.c:2626 hub_port_connect drivers/usb/core/hub.c:5469 [inline] hub_port_connect_change drivers/usb/core/hub.c:5609 [inline] port_event drivers/usb/core/hub.c:5759 [inline] hub_event+0x2679/0x4120 drivers/usb/core/hub.c:5841 process_one_work+0x6e1/0xba0 kernel/workqueue.c:2301 worker_thread+0xa6a/0x13b0 kernel/workqueue.c:2447 kthread+0x346/0x3d0 kernel/kthread.c:313 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 freed by task 283: release_nodes+0x753/0x7d0 drivers/base/devres.c:524 devres_release_all+0x7c/0xa0 drivers/base/devres.c:545 __device_release_driver drivers/base/dd.c:1190 [inline] device_release_driver_internal+0x4cb/0x750 drivers/base/dd.c:1221 device_release_driver+0x19/0x20 drivers/base/dd.c:1244 bus_remove_device+0x2dd/0x340 drivers/base/bus.c:535 device_del+0x696/0xed0 drivers/base/core.c:3452 hid_remove_device drivers/hid/hid-core.c:2503 [inline] hid_destroy_device+0x6a/0x110 drivers/hid/hid-core.c:2522 usbhid_disconnect+0x9f/0xc0 drivers/hid/usbhid/hid-core.c:1445 usb_unbind_interface+0x212/0x8c0 drivers/usb/core/driver.c:459 __device_release_driver drivers/base/dd.c:-1 [inline] device_release_driver_internal+0x4bc/0x750 drivers/base/dd.c:1221 device_release_driver+0x19/0x20 drivers/base/dd.c:1244 bus_remove_device+0x2dd/0x340 drivers/base/bus.c:535 device_del+0x696/0xed0 drivers/base/core.c:3452 usb_disable_device+0x3a8/0x750 drivers/usb/core/message.c:1411 usb_disconnect+0x31e/0x850 drivers/usb/core/hub.c:2282 hub_port_connect drivers/usb/core/hub.c:5308 [inline] hub_port_connect_change drivers/usb/core/hub.c:5609 [inline] port_event drivers/usb/core/hub.c:5759 [inline] hub_event+0x1912/0x4120 drivers/usb/core/hub.c:5841 process_one_work+0x6e1/0xba0 kernel/workqueue.c:2301 worker_thread+0xa6a/0x13b0 kernel/workqueue.c:2447 kthread+0x346/0x3d0 kernel/kthread.c:313 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 CPU: 0 PID: 279 Comm: udevd Tainted: G B 5.10.236-syzkaller-00012-gab07aeb2c93d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:arch_atomic64_try_cmpxchg arch/x86/include/asm/atomic64_64.h:190 [inline] RIP: 0010:atomic64_try_cmpxchg_acquire include/asm-generic/atomic-instrumented.h:1517 [inline] RIP: 0010:atomic_long_try_cmpxchg_acquire include/asm-generic/atomic-long.h:443 [inline] RIP: 0010:__mutex_trylock_fast kernel/locking/mutex.c:173 [inline] RIP: 0010:mutex_lock+0x91/0xe0 kernel/locking/mutex.c:298 Code: 2d 24 cf 8e 7b 48 c7 44 24 20 00 00 00 00 be 08 00 00 00 e8 e1 d6 29 fd 4c 89 f7 be 08 00 00 00 e8 d4 d6 29 fd 48 8b 44 24 20 4c 0f b1 2b 75 2f 48 c7 04 24 0e 36 e0 45 4b c7 04 27 00 00 00 RSP: 0018:ffffc90000c47620 EFLAGS: 00010256 RAX: 0000000000000000 RBX: ffff8881f739ce40 RCX: ffffffff84739e7c RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffffc90000c47640 RBP: ffffc90000c476b0 R08: dffffc0000000000 R09: fffff52000188ec9 R10: fffff52000188ec9 R11: 1ffff92000188ec8 R12: dffffc0000000000 R13: ffff88810cba2780 R14: ffffc90000c47640 R15: 1ffff92000188ec4 FS: 00007f10996bcc80(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffff8881f739ce40 CR3: 000000011d3e1000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: steam_input_open+0x91/0x160 drivers/hid/hid-steam.c:297 input_open_device+0x14c/0x2a0 drivers/input/input.c:635 evdev_open_device drivers/input/evdev.c:400 [inline] evdev_open+0x4d2/0x5e0 drivers/input/evdev.c:487 chrdev_open+0x597/0x670 fs/char_dev.c:414 do_dentry_open+0x793/0x1090 fs/open.c:819 vfs_open+0x73/0x80 fs/open.c:942 do_open fs/namei.c:3391 [inline] path_openat+0x27ad/0x3160 fs/namei.c:3509 do_filp_open+0x1b3/0x3e0 fs/namei.c:3536 do_sys_openat2+0x14c/0x6d0 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_openat fs/open.c:1249 [inline] __se_sys_openat fs/open.c:1244 [inline] __x64_sys_openat+0x136/0x160 fs/open.c:1244 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f10997e79a4 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:00007ffecf63fba0 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f10997e79a4 RDX: 0000000000080000 RSI: 0000560fed3ed110 RDI: 00000000ffffff9c RBP: 0000560fed3ed110 R08: 0000560fed3ebc58 R09: fffffffffffffe98 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000080000 R13: 00007ffecf63fd68 R14: 0000000000000000 R15: 0000560fc2460ed5 ================================================================== hid 0003:28DE:1102.000B: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.000B: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.000B: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.000B: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.000B: No HID_FEATURE_REPORT submitted - nothing to read ---------------- Code disassembly (best guess): 0: 2d 24 cf 8e 7b sub $0x7b8ecf24,%eax 5: 48 c7 44 24 20 00 00 movq $0x0,0x20(%rsp) c: 00 00 e: be 08 00 00 00 mov $0x8,%esi 13: e8 e1 d6 29 fd call 0xfd29d6f9 18: 4c 89 f7 mov %r14,%rdi 1b: be 08 00 00 00 mov $0x8,%esi 20: e8 d4 d6 29 fd call 0xfd29d6f9 25: 48 8b 44 24 20 mov 0x20(%rsp),%rax * 2a: f0 4c 0f b1 2b lock cmpxchg %r13,(%rbx) <-- trapping instruction 2f: 75 2f jne 0x60 31: 48 c7 04 24 0e 36 e0 movq $0x45e0360e,(%rsp) 38: 45 39: 4b rex.WXB 3a: c7 .byte 0xc7 3b: 04 27 add $0x27,%al 3d: 00 00 add %al,(%rax) final repro crashed as (corrupted=false): ================================================================== BUG: KASAN: use-after-free in instrument_atomic_read_write include/linux/instrumented.h:101 [inline] BUG: KASAN: use-after-free in atomic64_try_cmpxchg_acquire include/asm-generic/atomic-instrumented.h:1515 [inline] BUG: KASAN: use-after-free in atomic_long_try_cmpxchg_acquire include/asm-generic/atomic-long.h:443 [inline] BUG: KASAN: use-after-free in __mutex_trylock_fast kernel/locking/mutex.c:173 [inline] BUG: KASAN: use-after-free in mutex_lock+0x7f/0xe0 kernel/locking/mutex.c:298 Write of size 8 at addr ffff88810a919440 by task udevd/279 CPU: 0 PID: 279 Comm: udevd Not tainted 5.10.236-syzkaller-00012-gab07aeb2c93d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 Call Trace: __dump_stack+0x21/0x24 lib/dump_stack.c:77 dump_stack_lvl+0x169/0x1d8 lib/dump_stack.c:118 print_address_description+0x7f/0x2c0 mm/kasan/report.c:248 __kasan_report mm/kasan/report.c:435 [inline] kasan_report+0xe2/0x130 mm/kasan/report.c:452 check_region_inline mm/kasan/generic.c:-1 [inline] kasan_check_range+0x280/0x290 mm/kasan/generic.c:189 __kasan_check_write+0x14/0x20 mm/kasan/shadow.c:37 instrument_atomic_read_write include/linux/instrumented.h:101 [inline] atomic64_try_cmpxchg_acquire include/asm-generic/atomic-instrumented.h:1515 [inline] atomic_long_try_cmpxchg_acquire include/asm-generic/atomic-long.h:443 [inline] __mutex_trylock_fast kernel/locking/mutex.c:173 [inline] mutex_lock+0x7f/0xe0 kernel/locking/mutex.c:298 steam_input_open+0x91/0x160 drivers/hid/hid-steam.c:297 input_open_device+0x14c/0x2a0 drivers/input/input.c:635 evdev_open_device drivers/input/evdev.c:400 [inline] evdev_open+0x4d2/0x5e0 drivers/input/evdev.c:487 chrdev_open+0x597/0x670 fs/char_dev.c:414 do_dentry_open+0x793/0x1090 fs/open.c:819 vfs_open+0x73/0x80 fs/open.c:942 do_open fs/namei.c:3391 [inline] path_openat+0x27ad/0x3160 fs/namei.c:3509 do_filp_open+0x1b3/0x3e0 fs/namei.c:3536 do_sys_openat2+0x14c/0x6d0 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_openat fs/open.c:1249 [inline] __se_sys_openat fs/open.c:1244 [inline] __x64_sys_openat+0x136/0x160 fs/open.c:1244 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f10997e79a4 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:00007ffecf63fba0 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f10997e79a4 RDX: 0000000000080000 RSI: 0000560fed3f0ff0 RDI: 00000000ffffff9c RBP: 0000560fed3f0ff0 R08: 0000560fed3efdd8 R09: fffffffffffffe98 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000080000 R13: 00007ffecf63fd68 R14: 0000000000000000 R15: 0000560fc2460ed5 Allocated by task 1: kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track mm/kasan/common.c:45 [inline] set_alloc_info mm/kasan/common.c:430 [inline] ____kasan_kmalloc mm/kasan/common.c:509 [inline] __kasan_kmalloc+0xda/0x110 mm/kasan/common.c:518 kasan_kmalloc include/linux/kasan.h:254 [inline] kmem_cache_alloc_trace+0x184/0x2e0 mm/slub.c:2974 kmem_cache_alloc_node_trace include/linux/slab.h:440 [inline] kmalloc_node include/linux/slab.h:570 [inline] kzalloc_node include/linux/slab.h:675 [inline] blkg_alloc+0x6f/0x560 block/blk-cgroup.c:158 blkcg_init_queue+0x2d/0x330 block/blk-cgroup.c:1167 blk_alloc_queue+0x463/0x610 block/blk-core.c:575 blk_mq_init_queue_data block/blk-mq.c:3155 [inline] blk_mq_init_queue+0x37/0xd0 block/blk-mq.c:3174 scsi_mq_alloc_queue+0x42/0x140 drivers/scsi/scsi_lib.c:1900 scsi_alloc_sdev+0x60d/0x920 drivers/scsi/scsi_scan.c:284 scsi_probe_and_add_lun+0x196/0x33e0 drivers/scsi/scsi_scan.c:1098 __scsi_scan_target+0x1d6/0xbc0 drivers/scsi/scsi_scan.c:1581 scsi_scan_channel drivers/scsi/scsi_scan.c:1669 [inline] scsi_scan_host_selected+0x343/0x5f0 drivers/scsi/scsi_scan.c:1698 do_scsi_scan_host drivers/scsi/scsi_scan.c:1837 [inline] scsi_scan_host+0x39e/0x660 drivers/scsi/scsi_scan.c:1867 virtscsi_probe+0x817/0x990 drivers/scsi/virtio_scsi.c:915 virtio_dev_probe+0x8c0/0xb10 drivers/virtio/virtio.c:274 really_probe+0x386/0xa90 drivers/base/dd.c:558 driver_probe_device+0xe7/0x190 drivers/base/dd.c:752 device_driver_attach+0x181/0x280 drivers/base/dd.c:1035 __driver_attach+0x15a/0x3a0 drivers/base/dd.c:1124 bus_for_each_dev+0x174/0x1e0 drivers/base/bus.c:307 driver_attach+0x42/0x50 drivers/base/dd.c:1140 bus_add_driver+0x335/0x580 drivers/base/bus.c:624 driver_register+0x33a/0x440 drivers/base/driver.c:240 register_virtio_driver+0x9a/0xd0 drivers/virtio/virtio.c:325 init+0x66/0xde drivers/scsi/virtio_scsi.c:1009 do_one_initcall+0x187/0x510 init/main.c:1197 do_initcall_level+0x16f/0x2cf init/main.c:1270 do_initcalls+0x50/0x92 init/main.c:1286 do_basic_setup+0x88/0x8f init/main.c:1306 kernel_init_freeable+0x287/0x3be init/main.c:1510 kernel_init+0x11/0x1a0 init/main.c:1397 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 Freed by task 15: kasan_save_stack mm/kasan/common.c:38 [inline] kasan_set_track+0x4a/0x70 mm/kasan/common.c:45 kasan_set_free_info+0x23/0x40 mm/kasan/generic.c:370 ____kasan_slab_free+0x125/0x160 mm/kasan/common.c:362 __kasan_slab_free+0x11/0x20 mm/kasan/common.c:370 kasan_slab_free include/linux/kasan.h:220 [inline] slab_free_hook mm/slub.c:1595 [inline] slab_free_freelist_hook+0xc5/0x190 mm/slub.c:1621 slab_free mm/slub.c:3203 [inline] kfree+0xc0/0x270 mm/slub.c:4191 release_nodes+0x753/0x7d0 drivers/base/devres.c:524 devres_release_all+0x7c/0xa0 drivers/base/devres.c:545 __device_release_driver drivers/base/dd.c:1190 [inline] device_release_driver_internal+0x4cb/0x750 drivers/base/dd.c:1221 device_release_driver+0x19/0x20 drivers/base/dd.c:1244 bus_remove_device+0x2dd/0x340 drivers/base/bus.c:535 device_del+0x696/0xed0 drivers/base/core.c:3452 hid_remove_device drivers/hid/hid-core.c:2503 [inline] hid_destroy_device+0x6a/0x110 drivers/hid/hid-core.c:2522 usbhid_disconnect+0x9f/0xc0 drivers/hid/usbhid/hid-core.c:1445 usb_unbind_interface+0x212/0x8c0 drivers/usb/core/driver.c:459 __device_release_driver drivers/base/dd.c:-1 [inline] device_release_driver_internal+0x4bc/0x750 drivers/base/dd.c:1221 device_release_driver+0x19/0x20 drivers/base/dd.c:1244 bus_remove_device+0x2dd/0x340 drivers/base/bus.c:535 device_del+0x696/0xed0 drivers/base/core.c:3452 usb_disable_device+0x3a8/0x750 drivers/usb/core/message.c:1411 usb_disconnect+0x31e/0x850 drivers/usb/core/hub.c:2282 hub_port_connect drivers/usb/core/hub.c:5308 [inline] hub_port_connect_change drivers/usb/core/hub.c:5609 [inline] port_event drivers/usb/core/hub.c:5759 [inline] hub_event+0x1912/0x4120 drivers/usb/core/hub.c:5841 process_one_work+0x6e1/0xba0 kernel/workqueue.c:2301 worker_thread+0xa6a/0x13b0 kernel/workqueue.c:2447 kthread+0x346/0x3d0 kernel/kthread.c:313 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 Last potentially related work creation: kasan_save_stack+0x3a/0x60 mm/kasan/common.c:38 __kasan_record_aux_stack+0xd2/0x100 mm/kasan/generic.c:348 kasan_record_aux_stack_noalloc+0xb/0x10 mm/kasan/generic.c:358 __call_rcu kernel/rcu/tree.c:2976 [inline] call_rcu+0x105/0x1040 kernel/rcu/tree.c:3050 blkg_release+0x23/0x30 block/blk-cgroup.c:114 percpu_ref_put_many include/linux/percpu-refcount.h:322 [inline] percpu_ref_put include/linux/percpu-refcount.h:338 [inline] percpu_ref_call_confirm_rcu lib/percpu-refcount.c:163 [inline] percpu_ref_switch_to_atomic_rcu+0x5a9/0x5b0 lib/percpu-refcount.c:200 rcu_do_batch+0x4df/0xa80 kernel/rcu/tree.c:2494 rcu_core+0x55f/0xd60 kernel/rcu/tree.c:2735 rcu_core_si+0x9/0x10 kernel/rcu/tree.c:2748 __do_softirq+0x255/0x563 kernel/softirq.c:309 The buggy address belongs to the object at ffff88810a919400 which belongs to the cache kmalloc-512 of size 512 The buggy address is located 64 bytes inside of 512-byte region [ffff88810a919400, ffff88810a919600) The buggy address belongs to the page: page:ffffea00042a4600 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x10a918 head:ffffea00042a4600 order:2 compound_mapcount:0 compound_pincount:0 flags: 0x4000000000010200(slab|head) raw: 4000000000010200 dead000000000100 dead000000000122 ffff888100043080 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, ts 2157370503, free_ts 0 set_page_owner include/linux/page_owner.h:35 [inline] post_alloc_hook mm/page_alloc.c:2456 [inline] prep_new_page+0x179/0x180 mm/page_alloc.c:2462 get_page_from_freelist+0x2235/0x23d0 mm/page_alloc.c:4254 __alloc_pages_nodemask+0x268/0x5f0 mm/page_alloc.c:5349 alloc_slab_page mm/slub.c:-1 [inline] allocate_slab mm/slub.c:1808 [inline] new_slab+0x84/0x3f0 mm/slub.c:1869 new_slab_objects mm/slub.c:2627 [inline] ___slab_alloc+0x2a6/0x450 mm/slub.c:2791 __slab_alloc+0x63/0xa0 mm/slub.c:2831 slab_alloc_node mm/slub.c:2913 [inline] slab_alloc mm/slub.c:2955 [inline] kmem_cache_alloc_trace+0x1b3/0x2e0 mm/slub.c:2972 kmem_cache_alloc_node_trace include/linux/slab.h:440 [inline] kmalloc_node include/linux/slab.h:570 [inline] kzalloc_node include/linux/slab.h:675 [inline] blkg_alloc+0x6f/0x560 block/blk-cgroup.c:158 blkcg_init_queue+0x2d/0x330 block/blk-cgroup.c:1167 blk_alloc_queue+0x463/0x610 block/blk-core.c:575 blk_mq_init_queue_data block/blk-mq.c:3155 [inline] blk_mq_init_queue+0x37/0xd0 block/blk-mq.c:3174 scsi_mq_alloc_queue+0x42/0x140 drivers/scsi/scsi_lib.c:1900 scsi_alloc_sdev+0x60d/0x920 drivers/scsi/scsi_scan.c:284 scsi_probe_and_add_lun+0x196/0x33e0 drivers/scsi/scsi_scan.c:1098 __scsi_scan_target+0x1d6/0xbc0 drivers/scsi/scsi_scan.c:1581 scsi_scan_channel drivers/scsi/scsi_scan.c:1669 [inline] scsi_scan_host_selected+0x343/0x5f0 drivers/scsi/scsi_scan.c:1698 page_owner free stack trace missing Memory state around the buggy address: ffff88810a919300: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff88810a919380: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc >ffff88810a919400: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff88810a919480: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff88810a919500: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ================================================================== hid 0003:28DE:1102.0001: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.0001: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.0001: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.0001: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.0001: No HID_FEATURE_REPORT submitted - nothing to read ================================================================== BUG: KFENCE: use-after-free write in arch_atomic64_try_cmpxchg arch/x86/include/asm/atomic64_64.h:190 [inline] BUG: KFENCE: use-after-free write in atomic64_try_cmpxchg_acquire include/asm-generic/atomic-instrumented.h:1517 [inline] BUG: KFENCE: use-after-free write in atomic_long_try_cmpxchg_acquire include/asm-generic/atomic-long.h:443 [inline] BUG: KFENCE: use-after-free write in __mutex_trylock_fast kernel/locking/mutex.c:173 [inline] BUG: KFENCE: use-after-free write in mutex_lock+0x91/0xe0 kernel/locking/mutex.c:298 Use-after-free write at 0xffff8881f739ce40 (in kfence-#38): arch_atomic64_try_cmpxchg arch/x86/include/asm/atomic64_64.h:190 [inline] atomic64_try_cmpxchg_acquire include/asm-generic/atomic-instrumented.h:1517 [inline] atomic_long_try_cmpxchg_acquire include/asm-generic/atomic-long.h:443 [inline] __mutex_trylock_fast kernel/locking/mutex.c:173 [inline] mutex_lock+0x91/0xe0 kernel/locking/mutex.c:298 steam_input_open+0x91/0x160 drivers/hid/hid-steam.c:297 input_open_device+0x14c/0x2a0 drivers/input/input.c:635 evdev_open_device drivers/input/evdev.c:400 [inline] evdev_open+0x4d2/0x5e0 drivers/input/evdev.c:487 chrdev_open+0x597/0x670 fs/char_dev.c:414 do_dentry_open+0x793/0x1090 fs/open.c:819 vfs_open+0x73/0x80 fs/open.c:942 do_open fs/namei.c:3391 [inline] path_openat+0x27ad/0x3160 fs/namei.c:3509 do_filp_open+0x1b3/0x3e0 fs/namei.c:3536 do_sys_openat2+0x14c/0x6d0 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_openat fs/open.c:1249 [inline] __se_sys_openat fs/open.c:1244 [inline] __x64_sys_openat+0x136/0x160 fs/open.c:1244 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xcb kfence-#38 [0xffff8881f739ce00-0xffff8881f739cf3f, size=320, cache=kmalloc-512] allocated by task 283: alloc_dr drivers/base/devres.c:111 [inline] devm_kmalloc+0x51/0x200 drivers/base/devres.c:835 devm_kzalloc include/linux/device.h:218 [inline] steam_probe+0x129/0xb10 drivers/hid/hid-steam.c:741 hid_device_probe+0x287/0x380 drivers/hid/hid-core.c:2303 really_probe+0x386/0xa90 drivers/base/dd.c:558 driver_probe_device+0xe7/0x190 drivers/base/dd.c:752 __device_attach_driver+0x282/0x3f0 drivers/base/dd.c:863 bus_for_each_drv+0x175/0x200 drivers/base/bus.c:433 __device_attach+0x29a/0x400 drivers/base/dd.c:932 device_initial_probe+0x1a/0x20 drivers/base/dd.c:981 bus_probe_device+0xc0/0x1e0 drivers/base/bus.c:493 device_add+0x8b4/0xbf0 drivers/base/core.c:3273 hid_add_device+0x356/0x4b0 drivers/hid/hid-core.c:2455 usbhid_probe+0xb2e/0xee0 drivers/hid/usbhid/hid-core.c:1418 usb_probe_interface+0x5ff/0xae0 drivers/usb/core/driver.c:397 really_probe+0x3d8/0xa90 drivers/base/dd.c:562 driver_probe_device+0xe7/0x190 drivers/base/dd.c:752 __device_attach_driver+0x282/0x3f0 drivers/base/dd.c:863 bus_for_each_drv+0x175/0x200 drivers/base/bus.c:433 __device_attach+0x29a/0x400 drivers/base/dd.c:932 device_initial_probe+0x1a/0x20 drivers/base/dd.c:981 bus_probe_device+0xc0/0x1e0 drivers/base/bus.c:493 device_add+0x8b4/0xbf0 drivers/base/core.c:3273 usb_set_configuration+0x1a47/0x1f80 drivers/usb/core/message.c:2160 usb_generic_driver_probe+0x91/0x150 drivers/usb/core/generic.c:238 usb_probe_device+0x148/0x260 drivers/usb/core/driver.c:294 really_probe+0x3d8/0xa90 drivers/base/dd.c:562 driver_probe_device+0xe7/0x190 drivers/base/dd.c:752 __device_attach_driver+0x282/0x3f0 drivers/base/dd.c:863 bus_for_each_drv+0x175/0x200 drivers/base/bus.c:433 __device_attach+0x29a/0x400 drivers/base/dd.c:932 device_initial_probe+0x1a/0x20 drivers/base/dd.c:981 bus_probe_device+0xc0/0x1e0 drivers/base/bus.c:493 device_add+0x8b4/0xbf0 drivers/base/core.c:3273 usb_new_device+0xcd1/0x1450 drivers/usb/core/hub.c:2626 hub_port_connect drivers/usb/core/hub.c:5469 [inline] hub_port_connect_change drivers/usb/core/hub.c:5609 [inline] port_event drivers/usb/core/hub.c:5759 [inline] hub_event+0x2679/0x4120 drivers/usb/core/hub.c:5841 process_one_work+0x6e1/0xba0 kernel/workqueue.c:2301 worker_thread+0xa6a/0x13b0 kernel/workqueue.c:2447 kthread+0x346/0x3d0 kernel/kthread.c:313 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 freed by task 283: release_nodes+0x753/0x7d0 drivers/base/devres.c:524 devres_release_all+0x7c/0xa0 drivers/base/devres.c:545 __device_release_driver drivers/base/dd.c:1190 [inline] device_release_driver_internal+0x4cb/0x750 drivers/base/dd.c:1221 device_release_driver+0x19/0x20 drivers/base/dd.c:1244 bus_remove_device+0x2dd/0x340 drivers/base/bus.c:535 device_del+0x696/0xed0 drivers/base/core.c:3452 hid_remove_device drivers/hid/hid-core.c:2503 [inline] hid_destroy_device+0x6a/0x110 drivers/hid/hid-core.c:2522 usbhid_disconnect+0x9f/0xc0 drivers/hid/usbhid/hid-core.c:1445 usb_unbind_interface+0x212/0x8c0 drivers/usb/core/driver.c:459 __device_release_driver drivers/base/dd.c:-1 [inline] device_release_driver_internal+0x4bc/0x750 drivers/base/dd.c:1221 device_release_driver+0x19/0x20 drivers/base/dd.c:1244 bus_remove_device+0x2dd/0x340 drivers/base/bus.c:535 device_del+0x696/0xed0 drivers/base/core.c:3452 usb_disable_device+0x3a8/0x750 drivers/usb/core/message.c:1411 usb_disconnect+0x31e/0x850 drivers/usb/core/hub.c:2282 hub_port_connect drivers/usb/core/hub.c:5308 [inline] hub_port_connect_change drivers/usb/core/hub.c:5609 [inline] port_event drivers/usb/core/hub.c:5759 [inline] hub_event+0x1912/0x4120 drivers/usb/core/hub.c:5841 process_one_work+0x6e1/0xba0 kernel/workqueue.c:2301 worker_thread+0xa6a/0x13b0 kernel/workqueue.c:2447 kthread+0x346/0x3d0 kernel/kthread.c:313 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298 CPU: 0 PID: 279 Comm: udevd Tainted: G B 5.10.236-syzkaller-00012-gab07aeb2c93d #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:arch_atomic64_try_cmpxchg arch/x86/include/asm/atomic64_64.h:190 [inline] RIP: 0010:atomic64_try_cmpxchg_acquire include/asm-generic/atomic-instrumented.h:1517 [inline] RIP: 0010:atomic_long_try_cmpxchg_acquire include/asm-generic/atomic-long.h:443 [inline] RIP: 0010:__mutex_trylock_fast kernel/locking/mutex.c:173 [inline] RIP: 0010:mutex_lock+0x91/0xe0 kernel/locking/mutex.c:298 Code: 2d 24 cf 8e 7b 48 c7 44 24 20 00 00 00 00 be 08 00 00 00 e8 e1 d6 29 fd 4c 89 f7 be 08 00 00 00 e8 d4 d6 29 fd 48 8b 44 24 20 4c 0f b1 2b 75 2f 48 c7 04 24 0e 36 e0 45 4b c7 04 27 00 00 00 RSP: 0018:ffffc90000c47620 EFLAGS: 00010256 RAX: 0000000000000000 RBX: ffff8881f739ce40 RCX: ffffffff84739e7c RDX: 0000000000000001 RSI: 0000000000000008 RDI: ffffc90000c47640 RBP: ffffc90000c476b0 R08: dffffc0000000000 R09: fffff52000188ec9 R10: fffff52000188ec9 R11: 1ffff92000188ec8 R12: dffffc0000000000 R13: ffff88810cba2780 R14: ffffc90000c47640 R15: 1ffff92000188ec4 FS: 00007f10996bcc80(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: ffff8881f739ce40 CR3: 000000011d3e1000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: steam_input_open+0x91/0x160 drivers/hid/hid-steam.c:297 input_open_device+0x14c/0x2a0 drivers/input/input.c:635 evdev_open_device drivers/input/evdev.c:400 [inline] evdev_open+0x4d2/0x5e0 drivers/input/evdev.c:487 chrdev_open+0x597/0x670 fs/char_dev.c:414 do_dentry_open+0x793/0x1090 fs/open.c:819 vfs_open+0x73/0x80 fs/open.c:942 do_open fs/namei.c:3391 [inline] path_openat+0x27ad/0x3160 fs/namei.c:3509 do_filp_open+0x1b3/0x3e0 fs/namei.c:3536 do_sys_openat2+0x14c/0x6d0 fs/open.c:1217 do_sys_open fs/open.c:1233 [inline] __do_sys_openat fs/open.c:1249 [inline] __se_sys_openat fs/open.c:1244 [inline] __x64_sys_openat+0x136/0x160 fs/open.c:1244 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7f10997e79a4 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:00007ffecf63fba0 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f10997e79a4 RDX: 0000000000080000 RSI: 0000560fed3ed110 RDI: 00000000ffffff9c RBP: 0000560fed3ed110 R08: 0000560fed3ebc58 R09: fffffffffffffe98 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000080000 R13: 00007ffecf63fd68 R14: 0000000000000000 R15: 0000560fc2460ed5 ================================================================== hid 0003:28DE:1102.000B: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.000B: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.000B: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.000B: No HID_FEATURE_REPORT submitted - nothing to read hid 0003:28DE:1102.000B: No HID_FEATURE_REPORT submitted - nothing to read ---------------- Code disassembly (best guess): 0: 2d 24 cf 8e 7b sub $0x7b8ecf24,%eax 5: 48 c7 44 24 20 00 00 movq $0x0,0x20(%rsp) c: 00 00 e: be 08 00 00 00 mov $0x8,%esi 13: e8 e1 d6 29 fd call 0xfd29d6f9 18: 4c 89 f7 mov %r14,%rdi 1b: be 08 00 00 00 mov $0x8,%esi 20: e8 d4 d6 29 fd call 0xfd29d6f9 25: 48 8b 44 24 20 mov 0x20(%rsp),%rax * 2a: f0 4c 0f b1 2b lock cmpxchg %r13,(%rbx) <-- trapping instruction 2f: 75 2f jne 0x60 31: 48 c7 04 24 0e 36 e0 movq $0x45e0360e,(%rsp) 38: 45 39: 4b rex.WXB 3a: c7 .byte 0xc7 3b: 04 27 add $0x27,%al 3d: 00 00 add %al,(%rax)