Extracting prog: 1m14.393637227s
Minimizing prog: 7m15.266681922s
Simplifying prog options: 2m21.211590807s
Extracting C: 39.174225081s
Simplifying C: 0s
extracting reproducer from 1 programs
testing a last program of every proc
single: executing 1 programs separately with timeout 30s
testing program (duration=30s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true 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)=ANY=[@ANYBLOB="12010002000000406a053b0300000000000109022200010100803209040000010300000009211101000122170007058103"], 0x0)
syz_usb_control_io$hid(r0, 0x0, 0x0)
syz_usb_control_io$hid(r0, &(0x7f00000001c0)={0x24, 0x0, 0x0, &(0x7f0000000000)=ANY=[@ANYBLOB="0022170000000600ff0905a10185020941150026ff00750895098102c0"], 0x0}, 0x0)
syz_open_dev$hidraw(&(0x7f00000004c0), 0x0, 0xbb42)
program crashed: KASAN: slab-use-after-free Read in usbhid_power
single: successfully extracted reproducer
found reproducer with 4 syscalls
minimizing guilty program
testing program (duration=30s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect$hid-syz_usb_control_io$hid-syz_usb_control_io$hid
detailed listing:
executing program 0:
r0 = syz_usb_connect$hid(0x0, 0x36, &(0x7f0000000040)=ANY=[@ANYBLOB="12010002000000406a053b0300000000000109022200010100803209040000010300000009211101000122170007058103"], 0x0)
syz_usb_control_io$hid(r0, 0x0, 0x0)
syz_usb_control_io$hid(r0, &(0x7f00000001c0)={0x24, 0x0, 0x0, &(0x7f0000000000)=ANY=[@ANYBLOB="0022170000000600ff0905a10185020941150026ff00750895098102c0"], 0x0}, 0x0)
program did not crash
testing program (duration=30s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect$hid-syz_usb_control_io$hid-syz_open_dev$hidraw
detailed listing:
executing program 0:
r0 = syz_usb_connect$hid(0x0, 0x36, &(0x7f0000000040)=ANY=[@ANYBLOB="12010002000000406a053b0300000000000109022200010100803209040000010300000009211101000122170007058103"], 0x0)
syz_usb_control_io$hid(r0, 0x0, 0x0)
syz_open_dev$hidraw(&(0x7f00000004c0), 0x0, 0xbb42)
program did not crash
testing program (duration=30s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): syz_usb_connect$hid-syz_usb_control_io$hid-syz_open_dev$hidraw
detailed listing:
executing program 0:
r0 = syz_usb_connect$hid(0x0, 0x36, &(0x7f0000000040)=ANY=[@ANYBLOB="12010002000000406a053b0300000000000109022200010100803209040000010300000009211101000122170007058103"], 0x0)
syz_usb_control_io$hid(r0, &(0x7f00000001c0)={0x24, 0x0, 0x0, &(0x7f0000000000)=ANY=[@ANYBLOB="0022170000000600ff0905a10185020941150026ff00750895098102c0"], 0x0}, 0x0)
syz_open_dev$hidraw(&(0x7f00000004c0), 0x0, 0xbb42)
program did not crash
testing program (duration=30s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true 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, &(0x7f00000001c0)={0x24, 0x0, 0x0, &(0x7f0000000000)=ANY=[@ANYBLOB="0022170000000600ff0905a10185020941150026ff00750895098102c0"], 0x0}, 0x0)
syz_open_dev$hidraw(&(0x7f00000004c0), 0x0, 0xbb42)
program did not crash
testing program (duration=30s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true 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, 0x0, 0x0)
syz_usb_control_io$hid(r0, 0x0, 0x0)
syz_usb_control_io$hid(r0, &(0x7f00000001c0)={0x24, 0x0, 0x0, &(0x7f0000000000)=ANY=[@ANYBLOB="0022170000000600ff0905a10185020941150026ff00750895098102c0"], 0x0}, 0x0)
syz_open_dev$hidraw(&(0x7f00000004c0), 0x0, 0xbb42)
program did not crash
testing program (duration=30s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true 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)=ANY=[@ANYBLOB], 0x0)
syz_usb_control_io$hid(r0, 0x0, 0x0)
syz_usb_control_io$hid(r0, &(0x7f00000001c0)={0x24, 0x0, 0x0, &(0x7f0000000000)=ANY=[@ANYBLOB="0022170000000600ff0905a10185020941150026ff00750895098102c0"], 0x0}, 0x0)
syz_open_dev$hidraw(&(0x7f00000004c0), 0x0, 0xbb42)
program did not crash
testing program (duration=30s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true 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)=ANY=[@ANYBLOB="12010002000000406a053b0300000000000109022200010100803209040000010300000009211101000122170007058103"], 0x0)
syz_usb_control_io$hid(r0, 0x0, 0x0)
syz_usb_control_io$hid(r0, 0x0, 0x0)
syz_open_dev$hidraw(&(0x7f00000004c0), 0x0, 0xbb42)
program did not crash
testing program (duration=30s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true 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)=ANY=[@ANYBLOB="12010002000000406a053b0300000000000109022200010100803209040000010300000009211101000122170007058103"], 0x0)
syz_usb_control_io$hid(r0, 0x0, 0x0)
syz_usb_control_io$hid(r0, &(0x7f00000001c0)={0x24, 0x0, 0x0, 0x0, 0x0}, 0x0)
syz_open_dev$hidraw(&(0x7f00000004c0), 0x0, 0xbb42)
program did not crash
testing program (duration=30s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true 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)=ANY=[@ANYBLOB="12010002000000406a053b0300000000000109022200010100803209040000010300000009211101000122170007058103"], 0x0)
syz_usb_control_io$hid(r0, 0x0, 0x0)
syz_usb_control_io$hid(r0, &(0x7f00000001c0)={0x24, 0x0, 0x0, &(0x7f0000000000)=ANY=[@ANYBLOB], 0x0}, 0x0)
syz_open_dev$hidraw(&(0x7f00000004c0), 0x0, 0xbb42)
program did not crash
testing program (duration=30s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true 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)=ANY=[@ANYBLOB="12010002000000406a053b0300000000000109022200010100803209040000010300000009211101000122170007058103"], 0x0)
syz_usb_control_io$hid(r0, 0x0, 0x0)
syz_usb_control_io$hid(r0, &(0x7f00000001c0)={0x24, 0x0, 0x0, &(0x7f0000000000)=ANY=[@ANYBLOB="0022170000000600ff0905a10185020941150026ff00750895098102c0"], 0x0}, 0x0)
syz_open_dev$hidraw(0x0, 0x0, 0xbb42)
program did not crash
extracting C reproducer
testing compiled C program (duration=30s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true 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 Read in usbhid_power
a never seen crash title: KASAN: use-after-free Read in usbhid_power, ignore
simplifying guilty program options
testing program (duration=30s, {Threaded:false Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true 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)=ANY=[@ANYBLOB="12010002000000406a053b0300000000000109022200010100803209040000010300000009211101000122170007058103"], 0x0)
syz_usb_control_io$hid(r0, 0x0, 0x0)
syz_usb_control_io$hid(r0, &(0x7f00000001c0)={0x24, 0x0, 0x0, &(0x7f0000000000)=ANY=[@ANYBLOB="0022170000000600ff0905a10185020941150026ff00750895098102c0"], 0x0}, 0x0)
syz_open_dev$hidraw(&(0x7f00000004c0), 0x0, 0xbb42)
program crashed: KASAN: use-after-free Read in usbhid_power
a never seen crash title: KASAN: use-after-free Read in usbhid_power, ignore
testing program (duration=30s, {Threaded:true Repeat:false RepeatTimes:0 Procs:1 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:false Cgroups:false BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true 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)=ANY=[@ANYBLOB="12010002000000406a053b0300000000000109022200010100803209040000010300000009211101000122170007058103"], 0x0)
syz_usb_control_io$hid(r0, 0x0, 0x0)
syz_usb_control_io$hid(r0, &(0x7f00000001c0)={0x24, 0x0, 0x0, &(0x7f0000000000)=ANY=[@ANYBLOB="0022170000000600ff0905a10185020941150026ff00750895098102c0"], 0x0}, 0x0)
syz_open_dev$hidraw(&(0x7f00000004c0), 0x0, 0xbb42)
program did not crash
testing program (duration=30s, {Threaded:true Repeat:true RepeatTimes:0 Procs:1 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true 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)=ANY=[@ANYBLOB="12010002000000406a053b0300000000000109022200010100803209040000010300000009211101000122170007058103"], 0x0)
syz_usb_control_io$hid(r0, 0x0, 0x0)
syz_usb_control_io$hid(r0, &(0x7f00000001c0)={0x24, 0x0, 0x0, &(0x7f0000000000)=ANY=[@ANYBLOB="0022170000000600ff0905a10185020941150026ff00750895098102c0"], 0x0}, 0x0)
syz_open_dev$hidraw(&(0x7f00000004c0), 0x0, 0xbb42)
program crashed: KASAN: slab-out-of-bounds Read in usbhid_power
a never seen crash title: KASAN: slab-out-of-bounds Read in usbhid_power, ignore
testing program (duration=30s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true 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)=ANY=[@ANYBLOB="12010002000000406a053b0300000000000109022200010100803209040000010300000009211101000122170007058103"], 0x0)
syz_usb_control_io$hid(r0, 0x0, 0x0)
syz_usb_control_io$hid(r0, &(0x7f00000001c0)={0x24, 0x0, 0x0, &(0x7f0000000000)=ANY=[@ANYBLOB="0022170000000600ff0905a10185020941150026ff00750895098102c0"], 0x0}, 0x0)
syz_open_dev$hidraw(&(0x7f00000004c0), 0x0, 0xbb42)
program crashed: KASAN: use-after-free Read in usbhid_power
validation run: crashed=true
testing program (duration=30s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true 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)=ANY=[@ANYBLOB="12010002000000406a053b0300000000000109022200010100803209040000010300000009211101000122170007058103"], 0x0)
syz_usb_control_io$hid(r0, 0x0, 0x0)
syz_usb_control_io$hid(r0, &(0x7f00000001c0)={0x24, 0x0, 0x0, &(0x7f0000000000)=ANY=[@ANYBLOB="0022170000000600ff0905a10185020941150026ff00750895098102c0"], 0x0}, 0x0)
syz_open_dev$hidraw(&(0x7f00000004c0), 0x0, 0xbb42)
program crashed: KASAN: use-after-free Read in usbhid_power
validation run: crashed=true
testing program (duration=30s, {Threaded:true Repeat:true RepeatTimes:0 Procs:4 Slowdown:1 Sandbox:none SandboxArg:0 Leak:false NetInjection:true NetDevices:true NetReset:true Cgroups:true BinfmtMisc:true CloseFDs:true KCSAN:false DevlinkPCI:false NicVF:false USB:true VhciInjection:false Wifi:false IEEE802154:false Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true 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)=ANY=[@ANYBLOB="12010002000000406a053b0300000000000109022200010100803209040000010300000009211101000122170007058103"], 0x0)
syz_usb_control_io$hid(r0, 0x0, 0x0)
syz_usb_control_io$hid(r0, &(0x7f00000001c0)={0x24, 0x0, 0x0, &(0x7f0000000000)=ANY=[@ANYBLOB="0022170000000600ff0905a10185020941150026ff00750895098102c0"], 0x0}, 0x0)
syz_open_dev$hidraw(&(0x7f00000004c0), 0x0, 0xbb42)
program crashed: KASAN: slab-use-after-free Read in usbhid_power
validation run: crashed=true
reproducing took 13m44.689340311s
repro crashed as (corrupted=false):
==================================================================
BUG: KASAN: slab-use-after-free in usbhid_power+0x7c/0xd0 drivers/hid/usbhid/hid-core.c:1284
Read of size 8 at addr ffff888113a94008 by task syz.3.20/411
CPU: 1 UID: 0 PID: 411 Comm: syz.3.20 Not tainted syzkaller #0 1f46b48b3a0ef7537d643c2c4b1d5e30032b8167
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
Call Trace:
__dump_stack+0x21/0x30 lib/dump_stack.c:94
dump_stack_lvl+0x140/0x1c0 lib/dump_stack.c:120
print_address_description+0x71/0x210 mm/kasan/report.c:377
print_report+0x4a/0x70 mm/kasan/report.c:481
kasan_report+0x162/0x1a0 mm/kasan/report.c:594
__asan_report_load8_noabort+0x18/0x20 mm/kasan/report_generic.c:381
usbhid_power+0x7c/0xd0 drivers/hid/usbhid/hid-core.c:1284
hid_hw_power include/linux/hid.h:1174 [inline]
hidraw_open+0x254/0x960 drivers/hid/hidraw.c:302
chrdev_open+0x4eb/0x610 fs/char_dev.c:414
do_dentry_open+0x97c/0x1510 fs/open.c:954
vfs_open+0x86/0x240 fs/open.c:1086
do_open fs/namei.c:3782 [inline]
path_openat+0x2c49/0x35a0 fs/namei.c:3941
do_filp_open+0x1f2/0x440 fs/namei.c:3968
do_sys_openat2+0x134/0x1d0 fs/open.c:1434
do_sys_open fs/open.c:1449 [inline]
__do_sys_openat fs/open.c:1465 [inline]
__se_sys_openat fs/open.c:1460 [inline]
__x64_sys_openat+0x13a/0x170 fs/open.c:1460
x64_sys_call+0xe69/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:258
do_syscall_x64 arch/x86/entry/common.c:47 [inline]
do_syscall_64+0x57/0xf0 arch/x86/entry/common.c:78
entry_SYSCALL_64_after_hwframe+0x76/0x7e
RIP: 0033:0x7fe66d75e98e
Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08
RSP: 002b:00007fe66e6d7b28 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007fe66e6d86c0 RCX: 00007fe66d75e98e
RDX: 000000000000bb02 RSI: 00007fe66e6d7c00 RDI: ffffffffffffff9c
RBP: 00007fe66e6d7c00 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: cccccccccccccccd
R13: 00007fe66da26038 R14: 00007fe66da25fa0 R15: 00007ffd3eda7ff8
Allocated by task 329:
kasan_save_stack mm/kasan/common.c:49 [inline]
kasan_save_track+0x3e/0x80 mm/kasan/common.c:70
kasan_save_alloc_info+0x3a/0x50 mm/kasan/generic.c:565
poison_kmalloc_redzone mm/kasan/common.c:379 [inline]
__kasan_kmalloc+0x96/0xb0 mm/kasan/common.c:396
kasan_kmalloc include/linux/kasan.h:261 [inline]
__do_kmalloc_node mm/slub.c:4395 [inline]
__kmalloc_node_track_caller_noprof+0x24e/0x4f0 mm/slub.c:4414
kmalloc_reserve+0x144/0x4f0 net/core/skbuff.c:618
__alloc_skb+0x13f/0x360 net/core/skbuff.c:687
alloc_skb include/linux/skbuff.h:1363 [inline]
alloc_skb_with_frags+0xd0/0x8b0 net/core/skbuff.c:6622
sock_alloc_send_pskb+0x883/0x9a0 net/core/sock.c:2923
unix_dgram_sendmsg+0x63a/0x1a90 net/unix/af_unix.c:2040
sock_sendmsg_nosec net/socket.c:712 [inline]
__sock_sendmsg net/socket.c:727 [inline]
sock_write_iter+0x445/0x490 net/socket.c:1148
new_sync_write fs/read_write.c:591 [inline]
vfs_write+0x762/0xfd0 fs/read_write.c:684
ksys_write+0x145/0x260 fs/read_write.c:737
__do_sys_write fs/read_write.c:749 [inline]
__se_sys_write fs/read_write.c:746 [inline]
__x64_sys_write+0x7f/0x90 fs/read_write.c:746
x64_sys_call+0x271c/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:2
do_syscall_x64 arch/x86/entry/common.c:47 [inline]
do_syscall_64+0x57/0xf0 arch/x86/entry/common.c:78
entry_SYSCALL_64_after_hwframe+0x76/0x7e
Freed by task 111:
kasan_save_stack mm/kasan/common.c:49 [inline]
kasan_save_track+0x3e/0x80 mm/kasan/common.c:70
kasan_save_free_info+0x44/0x50 mm/kasan/generic.c:579
poison_slab_object mm/kasan/common.c:249 [inline]
__kasan_slab_free+0x5f/0x80 mm/kasan/common.c:266
kasan_slab_free include/linux/kasan.h:234 [inline]
slab_free_hook mm/slub.c:2445 [inline]
slab_free mm/slub.c:4714 [inline]
kfree+0x158/0x440 mm/slub.c:4875
skb_kfree_head net/core/skbuff.c:1081 [inline]
skb_free_head+0xf7/0x300 net/core/skbuff.c:1098
skb_release_data+0x6d0/0x860 net/core/skbuff.c:1125
skb_release_all net/core/skbuff.c:1190 [inline]
__kfree_skb+0x62/0x210 net/core/skbuff.c:1204
consume_skb+0x65/0x1a0 net/core/skbuff.c:1436
skb_free_datagram+0x19/0x30 net/core/datagram.c:323
__unix_dgram_recvmsg+0xa05/0xe00 net/unix/af_unix.c:2534
unix_dgram_recvmsg+0xce/0xf0 net/unix/af_unix.c:2551
sock_recvmsg_nosec net/socket.c:1034 [inline]
sock_recvmsg+0x188/0x1e0 net/socket.c:1056
____sys_recvmsg+0x1e7/0x4a0 net/socket.c:2803
___sys_recvmsg+0x214/0x590 net/socket.c:2845
__sys_recvmsg net/socket.c:2878 [inline]
__do_sys_recvmsg net/socket.c:2884 [inline]
__se_sys_recvmsg net/socket.c:2881 [inline]
__x64_sys_recvmsg+0x1bb/0x2a0 net/socket.c:2881
x64_sys_call+0xdb5/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:48
do_syscall_x64 arch/x86/entry/common.c:47 [inline]
do_syscall_64+0x57/0xf0 arch/x86/entry/common.c:78
entry_SYSCALL_64_after_hwframe+0x76/0x7e
The buggy address belongs to the object at ffff888113a94000
which belongs to the cache kmalloc-512 of size 512
The buggy address is located 8 bytes inside of
freed 512-byte region [ffff888113a94000, ffff888113a94200)
The buggy address belongs to the physical page:
page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x113a94
head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
flags: 0x4000000000000040(head|zone=1)
page_type: f5(slab)
raw: 4000000000000040 ffff888100041c80 dead000000000122 0000000000000000
raw: 0000000000000000 0000000000100010 00000001f5000000 0000000000000000
head: 4000000000000040 ffff888100041c80 dead000000000122 0000000000000000
head: 0000000000000000 0000000000100010 00000001f5000000 0000000000000000
head: 4000000000000002 ffffea00044ea501 ffffffffffffffff 0000000000000000
head: 0000000000000004 0000000000000000 00000000ffffffff 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 0x152820(GFP_ATOMIC|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_HARDWALL), pid 53, tgid 53 (kworker/u8:3), ts 32279979917, free_ts 32275350083
set_page_owner include/linux/page_owner.h:35 [inline]
post_alloc_hook+0x37d/0x3b0 mm/page_alloc.c:1863
prep_new_page+0x2d/0x180 mm/page_alloc.c:1871
get_page_from_freelist+0x4aea/0x4ba0 mm/page_alloc.c:3948
__alloc_pages_noprof+0x35a/0x7e0 mm/page_alloc.c:5315
alloc_slab_page+0x6b/0x1e0 mm/slub.c:-1
allocate_slab+0x69/0x430 mm/slub.c:2687
new_slab mm/slub.c:2741 [inline]
___slab_alloc+0x591/0x8c0 mm/slub.c:3934
__slab_alloc mm/slub.c:4025 [inline]
__slab_alloc_node mm/slub.c:4078 [inline]
slab_alloc_node mm/slub.c:4239 [inline]
__do_kmalloc_node mm/slub.c:4394 [inline]
__kmalloc_noprof+0x2fc/0x510 mm/slub.c:4407
kmalloc_noprof include/linux/slab.h:886 [inline]
kzalloc_noprof include/linux/slab.h:1117 [inline]
neigh_alloc net/core/neighbour.c:495 [inline]
___neigh_create+0x741/0x2100 net/core/neighbour.c:649
__neigh_create+0x72/0xb0 net/core/neighbour.c:740
ip6_finish_output2+0xba2/0x1990 net/ipv6/ip6_output.c:132
__ip6_finish_output net/ipv6/ip6_output.c:215 [inline]
ip6_finish_output+0x535/0xaf0 net/ipv6/ip6_output.c:226
NF_HOOK_COND include/linux/netfilter.h:306 [inline]
ip6_output+0x1fe/0x420 net/ipv6/ip6_output.c:247
dst_output include/net/dst.h:460 [inline]
NF_HOOK include/linux/netfilter.h:317 [inline]
ndisc_send_skb+0x777/0xca0 net/ipv6/ndisc.c:515
ndisc_send_rs+0x675/0x880 net/ipv6/ndisc.c:725
addrconf_dad_completed+0x973/0xef0 net/ipv6/addrconf.c:4400
page last free pid 405 tgid 405 stack trace:
reset_page_owner include/linux/page_owner.h:28 [inline]
free_pages_prepare mm/page_alloc.c:1390 [inline]
free_unref_page+0xbb8/0xf70 mm/page_alloc.c:2876
__folio_put+0x272/0x2c0 mm/swap.c:115
folio_put include/linux/mm.h:1589 [inline]
free_large_kmalloc+0xb7/0x110 mm/slub.c:4842
kfree+0x209/0x440 mm/slub.c:4869
usbhid_disconnect+0xab/0xc0 drivers/hid/usbhid/hid-core.c:1479
usb_unbind_interface+0x2b0/0xa40 drivers/usb/core/driver.c:462
device_remove drivers/base/dd.c:569 [inline]
__device_release_driver drivers/base/dd.c:1272 [inline]
device_release_driver_internal+0x525/0x830 drivers/base/dd.c:1295
device_release_driver+0x1d/0x30 drivers/base/dd.c:1318
bus_remove_device+0x34f/0x370 drivers/base/bus.c:576
device_del+0x583/0xcf0 drivers/base/core.c:3881
usb_disable_device+0x3af/0x770 drivers/usb/core/message.c:1476
usb_disconnect+0x331/0x950 drivers/usb/core/hub.c:2353
hub_port_connect drivers/usb/core/hub.c:5414 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5714 [inline]
port_event drivers/usb/core/hub.c:5878 [inline]
hub_event+0x1ad5/0x4360 drivers/usb/core/hub.c:5960
process_one_work kernel/workqueue.c:3273 [inline]
process_scheduled_works+0x7f4/0x1060 kernel/workqueue.c:3354
worker_thread+0xc99/0x13f0 kernel/workqueue.c:3435
kthread+0x2c4/0x360 kernel/kthread.c:389
Memory state around the buggy address:
ffff888113a93f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ffff888113a93f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>ffff888113a94000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
^
ffff888113a94080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
ffff888113a94100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
==================================================================
Oops: general protection fault, probably for non-canonical address 0x66c014c0000029f: 0000 [#1] PREEMPT SMP KASAN PTI
CPU: 1 UID: 0 PID: 411 Comm: syz.3.20 Tainted: G B syzkaller #0 1f46b48b3a0ef7537d643c2c4b1d5e30032b8167
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:arch_atomic_inc include/linux/instrumented.h:96 [inline]
RIP: 0010:raw_atomic_inc include/linux/atomic/atomic-arch-fallback.h:992 [inline]
RIP: 0010:atomic_inc include/linux/atomic/atomic-instrumented.h:436 [inline]
RIP: 0010:__pm_runtime_resume+0x49/0xa0 drivers/base/power/runtime.c:1177
Code: ff e8 fb d4 3f fe 89 d8 83 e0 04 75 07 e8 af d0 3f fe eb 1e e8 a8 d0 3f fe 49 8d be e0 01 00 00 be 04 00 00 00 e8 07 ae 98 fe 41 ff 86 e0 01 00 00 4d 8d be 14 01 00 00 4c 89 ff e8 c0 67 5f
RSP: 0018:ffffc90000e4f6a8 EFLAGS: 00010202
RAX: 0000000000000001 RBX: 0000000000000004 RCX: ffffffff8347a6c9
RDX: 0000000000000001 RSI: 0000000000000004 RDI: 066c014c0000029f
RBP: ffffc90000e4f6c8 R08: 066c014c000002a3 R09: 0000000000000cd8
R10: dffffc0000000000 R11: fffffbfff1177129 R12: 0000000000000000
R13: ffffffff8680d1a0 R14: 066c014c000000bf R15: dffffc0000000000
FS: 00007fe66e6d86c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f784b1872c0 CR3: 000000012a466000 CR4: 00000000003526b0
Call Trace:
pm_runtime_resume_and_get include/linux/pm_runtime.h:436 [inline]
usb_autopm_get_interface+0x25/0xf0 drivers/usb/core/driver.c:1888
usbhid_power+0x84/0xd0 drivers/hid/usbhid/hid-core.c:1284
hid_hw_power include/linux/hid.h:1174 [inline]
hidraw_open+0x254/0x960 drivers/hid/hidraw.c:302
chrdev_open+0x4eb/0x610 fs/char_dev.c:414
do_dentry_open+0x97c/0x1510 fs/open.c:954
vfs_open+0x86/0x240 fs/open.c:1086
do_open fs/namei.c:3782 [inline]
path_openat+0x2c49/0x35a0 fs/namei.c:3941
do_filp_open+0x1f2/0x440 fs/namei.c:3968
do_sys_openat2+0x134/0x1d0 fs/open.c:1434
do_sys_open fs/open.c:1449 [inline]
__do_sys_openat fs/open.c:1465 [inline]
__se_sys_openat fs/open.c:1460 [inline]
__x64_sys_openat+0x13a/0x170 fs/open.c:1460
x64_sys_call+0xe69/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:258
do_syscall_x64 arch/x86/entry/common.c:47 [inline]
do_syscall_64+0x57/0xf0 arch/x86/entry/common.c:78
entry_SYSCALL_64_after_hwframe+0x76/0x7e
RIP: 0033:0x7fe66d75e98e
Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08
RSP: 002b:00007fe66e6d7b28 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007fe66e6d86c0 RCX: 00007fe66d75e98e
RDX: 000000000000bb02 RSI: 00007fe66e6d7c00 RDI: ffffffffffffff9c
RBP: 00007fe66e6d7c00 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: cccccccccccccccd
R13: 00007fe66da26038 R14: 00007fe66da25fa0 R15: 00007ffd3eda7ff8
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:arch_atomic_inc include/linux/instrumented.h:96 [inline]
RIP: 0010:raw_atomic_inc include/linux/atomic/atomic-arch-fallback.h:992 [inline]
RIP: 0010:atomic_inc include/linux/atomic/atomic-instrumented.h:436 [inline]
RIP: 0010:__pm_runtime_resume+0x49/0xa0 drivers/base/power/runtime.c:1177
Code: ff e8 fb d4 3f fe 89 d8 83 e0 04 75 07 e8 af d0 3f fe eb 1e e8 a8 d0 3f fe 49 8d be e0 01 00 00 be 04 00 00 00 e8 07 ae 98 fe 41 ff 86 e0 01 00 00 4d 8d be 14 01 00 00 4c 89 ff e8 c0 67 5f
RSP: 0018:ffffc90000e4f6a8 EFLAGS: 00010202
RAX: 0000000000000001 RBX: 0000000000000004 RCX: ffffffff8347a6c9
RDX: 0000000000000001 RSI: 0000000000000004 RDI: 066c014c0000029f
RBP: ffffc90000e4f6c8 R08: 066c014c000002a3 R09: 0000000000000cd8
R10: dffffc0000000000 R11: fffffbfff1177129 R12: 0000000000000000
R13: ffffffff8680d1a0 R14: 066c014c000000bf R15: dffffc0000000000
FS: 00007fe66e6d86c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f784b1872c0 CR3: 000000012a466000 CR4: 00000000003526b0
----------------
Code disassembly (best guess):
0: ff ljmp (bad)
1: e8 fb d4 3f fe call 0xfe3fd501
6: 89 d8 mov %ebx,%eax
8: 83 e0 04 and $0x4,%eax
b: 75 07 jne 0x14
d: e8 af d0 3f fe call 0xfe3fd0c1
12: eb 1e jmp 0x32
14: e8 a8 d0 3f fe call 0xfe3fd0c1
19: 49 8d be e0 01 00 00 lea 0x1e0(%r14),%rdi
20: be 04 00 00 00 mov $0x4,%esi
25: e8 07 ae 98 fe call 0xfe98ae31
* 2a: f0 41 ff 86 e0 01 00 lock incl 0x1e0(%r14) <-- trapping instruction
31: 00
32: 4d 8d be 14 01 00 00 lea 0x114(%r14),%r15
39: 4c 89 ff mov %r15,%rdi
3c: e8 .byte 0xe8
3d: c0 .byte 0xc0
3e: 67 5f addr32 pop %rdi
final repro crashed as (corrupted=false):
==================================================================
BUG: KASAN: slab-use-after-free in usbhid_power+0x7c/0xd0 drivers/hid/usbhid/hid-core.c:1284
Read of size 8 at addr ffff888113a94008 by task syz.3.20/411
CPU: 1 UID: 0 PID: 411 Comm: syz.3.20 Not tainted syzkaller #0 1f46b48b3a0ef7537d643c2c4b1d5e30032b8167
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
Call Trace:
__dump_stack+0x21/0x30 lib/dump_stack.c:94
dump_stack_lvl+0x140/0x1c0 lib/dump_stack.c:120
print_address_description+0x71/0x210 mm/kasan/report.c:377
print_report+0x4a/0x70 mm/kasan/report.c:481
kasan_report+0x162/0x1a0 mm/kasan/report.c:594
__asan_report_load8_noabort+0x18/0x20 mm/kasan/report_generic.c:381
usbhid_power+0x7c/0xd0 drivers/hid/usbhid/hid-core.c:1284
hid_hw_power include/linux/hid.h:1174 [inline]
hidraw_open+0x254/0x960 drivers/hid/hidraw.c:302
chrdev_open+0x4eb/0x610 fs/char_dev.c:414
do_dentry_open+0x97c/0x1510 fs/open.c:954
vfs_open+0x86/0x240 fs/open.c:1086
do_open fs/namei.c:3782 [inline]
path_openat+0x2c49/0x35a0 fs/namei.c:3941
do_filp_open+0x1f2/0x440 fs/namei.c:3968
do_sys_openat2+0x134/0x1d0 fs/open.c:1434
do_sys_open fs/open.c:1449 [inline]
__do_sys_openat fs/open.c:1465 [inline]
__se_sys_openat fs/open.c:1460 [inline]
__x64_sys_openat+0x13a/0x170 fs/open.c:1460
x64_sys_call+0xe69/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:258
do_syscall_x64 arch/x86/entry/common.c:47 [inline]
do_syscall_64+0x57/0xf0 arch/x86/entry/common.c:78
entry_SYSCALL_64_after_hwframe+0x76/0x7e
RIP: 0033:0x7fe66d75e98e
Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08
RSP: 002b:00007fe66e6d7b28 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007fe66e6d86c0 RCX: 00007fe66d75e98e
RDX: 000000000000bb02 RSI: 00007fe66e6d7c00 RDI: ffffffffffffff9c
RBP: 00007fe66e6d7c00 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: cccccccccccccccd
R13: 00007fe66da26038 R14: 00007fe66da25fa0 R15: 00007ffd3eda7ff8
Allocated by task 329:
kasan_save_stack mm/kasan/common.c:49 [inline]
kasan_save_track+0x3e/0x80 mm/kasan/common.c:70
kasan_save_alloc_info+0x3a/0x50 mm/kasan/generic.c:565
poison_kmalloc_redzone mm/kasan/common.c:379 [inline]
__kasan_kmalloc+0x96/0xb0 mm/kasan/common.c:396
kasan_kmalloc include/linux/kasan.h:261 [inline]
__do_kmalloc_node mm/slub.c:4395 [inline]
__kmalloc_node_track_caller_noprof+0x24e/0x4f0 mm/slub.c:4414
kmalloc_reserve+0x144/0x4f0 net/core/skbuff.c:618
__alloc_skb+0x13f/0x360 net/core/skbuff.c:687
alloc_skb include/linux/skbuff.h:1363 [inline]
alloc_skb_with_frags+0xd0/0x8b0 net/core/skbuff.c:6622
sock_alloc_send_pskb+0x883/0x9a0 net/core/sock.c:2923
unix_dgram_sendmsg+0x63a/0x1a90 net/unix/af_unix.c:2040
sock_sendmsg_nosec net/socket.c:712 [inline]
__sock_sendmsg net/socket.c:727 [inline]
sock_write_iter+0x445/0x490 net/socket.c:1148
new_sync_write fs/read_write.c:591 [inline]
vfs_write+0x762/0xfd0 fs/read_write.c:684
ksys_write+0x145/0x260 fs/read_write.c:737
__do_sys_write fs/read_write.c:749 [inline]
__se_sys_write fs/read_write.c:746 [inline]
__x64_sys_write+0x7f/0x90 fs/read_write.c:746
x64_sys_call+0x271c/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:2
do_syscall_x64 arch/x86/entry/common.c:47 [inline]
do_syscall_64+0x57/0xf0 arch/x86/entry/common.c:78
entry_SYSCALL_64_after_hwframe+0x76/0x7e
Freed by task 111:
kasan_save_stack mm/kasan/common.c:49 [inline]
kasan_save_track+0x3e/0x80 mm/kasan/common.c:70
kasan_save_free_info+0x44/0x50 mm/kasan/generic.c:579
poison_slab_object mm/kasan/common.c:249 [inline]
__kasan_slab_free+0x5f/0x80 mm/kasan/common.c:266
kasan_slab_free include/linux/kasan.h:234 [inline]
slab_free_hook mm/slub.c:2445 [inline]
slab_free mm/slub.c:4714 [inline]
kfree+0x158/0x440 mm/slub.c:4875
skb_kfree_head net/core/skbuff.c:1081 [inline]
skb_free_head+0xf7/0x300 net/core/skbuff.c:1098
skb_release_data+0x6d0/0x860 net/core/skbuff.c:1125
skb_release_all net/core/skbuff.c:1190 [inline]
__kfree_skb+0x62/0x210 net/core/skbuff.c:1204
consume_skb+0x65/0x1a0 net/core/skbuff.c:1436
skb_free_datagram+0x19/0x30 net/core/datagram.c:323
__unix_dgram_recvmsg+0xa05/0xe00 net/unix/af_unix.c:2534
unix_dgram_recvmsg+0xce/0xf0 net/unix/af_unix.c:2551
sock_recvmsg_nosec net/socket.c:1034 [inline]
sock_recvmsg+0x188/0x1e0 net/socket.c:1056
____sys_recvmsg+0x1e7/0x4a0 net/socket.c:2803
___sys_recvmsg+0x214/0x590 net/socket.c:2845
__sys_recvmsg net/socket.c:2878 [inline]
__do_sys_recvmsg net/socket.c:2884 [inline]
__se_sys_recvmsg net/socket.c:2881 [inline]
__x64_sys_recvmsg+0x1bb/0x2a0 net/socket.c:2881
x64_sys_call+0xdb5/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:48
do_syscall_x64 arch/x86/entry/common.c:47 [inline]
do_syscall_64+0x57/0xf0 arch/x86/entry/common.c:78
entry_SYSCALL_64_after_hwframe+0x76/0x7e
The buggy address belongs to the object at ffff888113a94000
which belongs to the cache kmalloc-512 of size 512
The buggy address is located 8 bytes inside of
freed 512-byte region [ffff888113a94000, ffff888113a94200)
The buggy address belongs to the physical page:
page: refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x113a94
head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0
flags: 0x4000000000000040(head|zone=1)
page_type: f5(slab)
raw: 4000000000000040 ffff888100041c80 dead000000000122 0000000000000000
raw: 0000000000000000 0000000000100010 00000001f5000000 0000000000000000
head: 4000000000000040 ffff888100041c80 dead000000000122 0000000000000000
head: 0000000000000000 0000000000100010 00000001f5000000 0000000000000000
head: 4000000000000002 ffffea00044ea501 ffffffffffffffff 0000000000000000
head: 0000000000000004 0000000000000000 00000000ffffffff 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 0x152820(GFP_ATOMIC|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_HARDWALL), pid 53, tgid 53 (kworker/u8:3), ts 32279979917, free_ts 32275350083
set_page_owner include/linux/page_owner.h:35 [inline]
post_alloc_hook+0x37d/0x3b0 mm/page_alloc.c:1863
prep_new_page+0x2d/0x180 mm/page_alloc.c:1871
get_page_from_freelist+0x4aea/0x4ba0 mm/page_alloc.c:3948
__alloc_pages_noprof+0x35a/0x7e0 mm/page_alloc.c:5315
alloc_slab_page+0x6b/0x1e0 mm/slub.c:-1
allocate_slab+0x69/0x430 mm/slub.c:2687
new_slab mm/slub.c:2741 [inline]
___slab_alloc+0x591/0x8c0 mm/slub.c:3934
__slab_alloc mm/slub.c:4025 [inline]
__slab_alloc_node mm/slub.c:4078 [inline]
slab_alloc_node mm/slub.c:4239 [inline]
__do_kmalloc_node mm/slub.c:4394 [inline]
__kmalloc_noprof+0x2fc/0x510 mm/slub.c:4407
kmalloc_noprof include/linux/slab.h:886 [inline]
kzalloc_noprof include/linux/slab.h:1117 [inline]
neigh_alloc net/core/neighbour.c:495 [inline]
___neigh_create+0x741/0x2100 net/core/neighbour.c:649
__neigh_create+0x72/0xb0 net/core/neighbour.c:740
ip6_finish_output2+0xba2/0x1990 net/ipv6/ip6_output.c:132
__ip6_finish_output net/ipv6/ip6_output.c:215 [inline]
ip6_finish_output+0x535/0xaf0 net/ipv6/ip6_output.c:226
NF_HOOK_COND include/linux/netfilter.h:306 [inline]
ip6_output+0x1fe/0x420 net/ipv6/ip6_output.c:247
dst_output include/net/dst.h:460 [inline]
NF_HOOK include/linux/netfilter.h:317 [inline]
ndisc_send_skb+0x777/0xca0 net/ipv6/ndisc.c:515
ndisc_send_rs+0x675/0x880 net/ipv6/ndisc.c:725
addrconf_dad_completed+0x973/0xef0 net/ipv6/addrconf.c:4400
page last free pid 405 tgid 405 stack trace:
reset_page_owner include/linux/page_owner.h:28 [inline]
free_pages_prepare mm/page_alloc.c:1390 [inline]
free_unref_page+0xbb8/0xf70 mm/page_alloc.c:2876
__folio_put+0x272/0x2c0 mm/swap.c:115
folio_put include/linux/mm.h:1589 [inline]
free_large_kmalloc+0xb7/0x110 mm/slub.c:4842
kfree+0x209/0x440 mm/slub.c:4869
usbhid_disconnect+0xab/0xc0 drivers/hid/usbhid/hid-core.c:1479
usb_unbind_interface+0x2b0/0xa40 drivers/usb/core/driver.c:462
device_remove drivers/base/dd.c:569 [inline]
__device_release_driver drivers/base/dd.c:1272 [inline]
device_release_driver_internal+0x525/0x830 drivers/base/dd.c:1295
device_release_driver+0x1d/0x30 drivers/base/dd.c:1318
bus_remove_device+0x34f/0x370 drivers/base/bus.c:576
device_del+0x583/0xcf0 drivers/base/core.c:3881
usb_disable_device+0x3af/0x770 drivers/usb/core/message.c:1476
usb_disconnect+0x331/0x950 drivers/usb/core/hub.c:2353
hub_port_connect drivers/usb/core/hub.c:5414 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5714 [inline]
port_event drivers/usb/core/hub.c:5878 [inline]
hub_event+0x1ad5/0x4360 drivers/usb/core/hub.c:5960
process_one_work kernel/workqueue.c:3273 [inline]
process_scheduled_works+0x7f4/0x1060 kernel/workqueue.c:3354
worker_thread+0xc99/0x13f0 kernel/workqueue.c:3435
kthread+0x2c4/0x360 kernel/kthread.c:389
Memory state around the buggy address:
ffff888113a93f00: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ffff888113a93f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>ffff888113a94000: fa fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
^
ffff888113a94080: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
ffff888113a94100: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
==================================================================
Oops: general protection fault, probably for non-canonical address 0x66c014c0000029f: 0000 [#1] PREEMPT SMP KASAN PTI
CPU: 1 UID: 0 PID: 411 Comm: syz.3.20 Tainted: G B syzkaller #0 1f46b48b3a0ef7537d643c2c4b1d5e30032b8167
Tainted: [B]=BAD_PAGE
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:arch_atomic_inc include/linux/instrumented.h:96 [inline]
RIP: 0010:raw_atomic_inc include/linux/atomic/atomic-arch-fallback.h:992 [inline]
RIP: 0010:atomic_inc include/linux/atomic/atomic-instrumented.h:436 [inline]
RIP: 0010:__pm_runtime_resume+0x49/0xa0 drivers/base/power/runtime.c:1177
Code: ff e8 fb d4 3f fe 89 d8 83 e0 04 75 07 e8 af d0 3f fe eb 1e e8 a8 d0 3f fe 49 8d be e0 01 00 00 be 04 00 00 00 e8 07 ae 98 fe 41 ff 86 e0 01 00 00 4d 8d be 14 01 00 00 4c 89 ff e8 c0 67 5f
RSP: 0018:ffffc90000e4f6a8 EFLAGS: 00010202
RAX: 0000000000000001 RBX: 0000000000000004 RCX: ffffffff8347a6c9
RDX: 0000000000000001 RSI: 0000000000000004 RDI: 066c014c0000029f
RBP: ffffc90000e4f6c8 R08: 066c014c000002a3 R09: 0000000000000cd8
R10: dffffc0000000000 R11: fffffbfff1177129 R12: 0000000000000000
R13: ffffffff8680d1a0 R14: 066c014c000000bf R15: dffffc0000000000
FS: 00007fe66e6d86c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f784b1872c0 CR3: 000000012a466000 CR4: 00000000003526b0
Call Trace:
pm_runtime_resume_and_get include/linux/pm_runtime.h:436 [inline]
usb_autopm_get_interface+0x25/0xf0 drivers/usb/core/driver.c:1888
usbhid_power+0x84/0xd0 drivers/hid/usbhid/hid-core.c:1284
hid_hw_power include/linux/hid.h:1174 [inline]
hidraw_open+0x254/0x960 drivers/hid/hidraw.c:302
chrdev_open+0x4eb/0x610 fs/char_dev.c:414
do_dentry_open+0x97c/0x1510 fs/open.c:954
vfs_open+0x86/0x240 fs/open.c:1086
do_open fs/namei.c:3782 [inline]
path_openat+0x2c49/0x35a0 fs/namei.c:3941
do_filp_open+0x1f2/0x440 fs/namei.c:3968
do_sys_openat2+0x134/0x1d0 fs/open.c:1434
do_sys_open fs/open.c:1449 [inline]
__do_sys_openat fs/open.c:1465 [inline]
__se_sys_openat fs/open.c:1460 [inline]
__x64_sys_openat+0x13a/0x170 fs/open.c:1460
x64_sys_call+0xe69/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:258
do_syscall_x64 arch/x86/entry/common.c:47 [inline]
do_syscall_64+0x57/0xf0 arch/x86/entry/common.c:78
entry_SYSCALL_64_after_hwframe+0x76/0x7e
RIP: 0033:0x7fe66d75e98e
Code: 08 0f 85 a5 a8 ff ff 49 89 fb 48 89 f0 48 89 d7 48 89 ce 4c 89 c2 4d 89 ca 4c 8b 44 24 08 4c 8b 4c 24 10 4c 89 5c 24 08 0f 05 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 80 00 00 00 00 48 83 ec 08
RSP: 002b:00007fe66e6d7b28 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007fe66e6d86c0 RCX: 00007fe66d75e98e
RDX: 000000000000bb02 RSI: 00007fe66e6d7c00 RDI: ffffffffffffff9c
RBP: 00007fe66e6d7c00 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: cccccccccccccccd
R13: 00007fe66da26038 R14: 00007fe66da25fa0 R15: 00007ffd3eda7ff8
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:arch_atomic_inc include/linux/instrumented.h:96 [inline]
RIP: 0010:raw_atomic_inc include/linux/atomic/atomic-arch-fallback.h:992 [inline]
RIP: 0010:atomic_inc include/linux/atomic/atomic-instrumented.h:436 [inline]
RIP: 0010:__pm_runtime_resume+0x49/0xa0 drivers/base/power/runtime.c:1177
Code: ff e8 fb d4 3f fe 89 d8 83 e0 04 75 07 e8 af d0 3f fe eb 1e e8 a8 d0 3f fe 49 8d be e0 01 00 00 be 04 00 00 00 e8 07 ae 98 fe 41 ff 86 e0 01 00 00 4d 8d be 14 01 00 00 4c 89 ff e8 c0 67 5f
RSP: 0018:ffffc90000e4f6a8 EFLAGS: 00010202
RAX: 0000000000000001 RBX: 0000000000000004 RCX: ffffffff8347a6c9
RDX: 0000000000000001 RSI: 0000000000000004 RDI: 066c014c0000029f
RBP: ffffc90000e4f6c8 R08: 066c014c000002a3 R09: 0000000000000cd8
R10: dffffc0000000000 R11: fffffbfff1177129 R12: 0000000000000000
R13: ffffffff8680d1a0 R14: 066c014c000000bf R15: dffffc0000000000
FS: 00007fe66e6d86c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f784b1872c0 CR3: 000000012a466000 CR4: 00000000003526b0
----------------
Code disassembly (best guess):
0: ff ljmp (bad)
1: e8 fb d4 3f fe call 0xfe3fd501
6: 89 d8 mov %ebx,%eax
8: 83 e0 04 and $0x4,%eax
b: 75 07 jne 0x14
d: e8 af d0 3f fe call 0xfe3fd0c1
12: eb 1e jmp 0x32
14: e8 a8 d0 3f fe call 0xfe3fd0c1
19: 49 8d be e0 01 00 00 lea 0x1e0(%r14),%rdi
20: be 04 00 00 00 mov $0x4,%esi
25: e8 07 ae 98 fe call 0xfe98ae31
* 2a: f0 41 ff 86 e0 01 00 lock incl 0x1e0(%r14) <-- trapping instruction
31: 00
32: 4d 8d be 14 01 00 00 lea 0x114(%r14),%r15
39: 4c 89 ff mov %r15,%rdi
3c: e8 .byte 0xe8
3d: c0 .byte 0xc0
3e: 67 5f addr32 pop %rdi