Extracting prog: 1m10.541634596s Minimizing prog: 11m41.538519253s Simplifying prog options: 0s Extracting C: 21.024224498s Simplifying C: 3m3.027367494s 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:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-openat-write-syz_usb_connect-syz_usb_ep_read-syz_usb_ep_write-syz_usb_ep_read-syz_usb_ep_write detailed listing: executing program 0: mkdirat(0xffffffffffffff9c, &(0x7f0000001000)='./debug\x00', 0x1ff) mount(0x0, &(0x7f0000001040)='./debug\x00', &(0x7f0000001080)='debugfs\x00', 0x0, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f00000010c0)='./debug/dynamic_debug/control\x00', 0x2, 0x0) write(r0, &(0x7f0000001100)='+p', 0x2) r1 = syz_usb_connect(0x3, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002000000402f0700220001000000010902200001010080320904000002ffffff0007058102000200070502020002"], 0x0) syz_usb_ep_read(r1, 0x2, 0x40, &(0x7f0000000100)) syz_usb_ep_write(r1, 0x81, 0x0, 0x0) syz_usb_ep_read(r1, 0x2, 0x0, 0x0) syz_usb_ep_write(r1, 0x81, 0x3, &(0x7f0000000220)="837d7e") program crashed: KASAN: slab-out-of-bounds Read in pn533_recv_frame single: successfully extracted reproducer found reproducer with 9 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:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-openat-write-syz_usb_connect-syz_usb_ep_read-syz_usb_ep_write-syz_usb_ep_read detailed listing: executing program 0: mkdirat(0xffffffffffffff9c, &(0x7f0000001000)='./debug\x00', 0x1ff) mount(0x0, &(0x7f0000001040)='./debug\x00', &(0x7f0000001080)='debugfs\x00', 0x0, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f00000010c0)='./debug/dynamic_debug/control\x00', 0x2, 0x0) write(r0, &(0x7f0000001100)='+p', 0x2) r1 = syz_usb_connect(0x3, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002000000402f0700220001000000010902200001010080320904000002ffffff0007058102000200070502020002"], 0x0) syz_usb_ep_read(r1, 0x2, 0x40, &(0x7f0000000100)) syz_usb_ep_write(r1, 0x81, 0x0, 0x0) syz_usb_ep_read(r1, 0x2, 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:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-openat-write-syz_usb_connect-syz_usb_ep_read-syz_usb_ep_write-syz_usb_ep_write detailed listing: executing program 0: mkdirat(0xffffffffffffff9c, &(0x7f0000001000)='./debug\x00', 0x1ff) mount(0x0, &(0x7f0000001040)='./debug\x00', &(0x7f0000001080)='debugfs\x00', 0x0, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f00000010c0)='./debug/dynamic_debug/control\x00', 0x2, 0x0) write(r0, &(0x7f0000001100)='+p', 0x2) r1 = syz_usb_connect(0x3, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002000000402f0700220001000000010902200001010080320904000002ffffff0007058102000200070502020002"], 0x0) syz_usb_ep_read(r1, 0x2, 0x40, &(0x7f0000000100)) syz_usb_ep_write(r1, 0x81, 0x0, 0x0) syz_usb_ep_write(r1, 0x81, 0x3, &(0x7f0000000220)="837d7e") 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:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-openat-write-syz_usb_connect-syz_usb_ep_read-syz_usb_ep_read-syz_usb_ep_write detailed listing: executing program 0: mkdirat(0xffffffffffffff9c, &(0x7f0000001000)='./debug\x00', 0x1ff) mount(0x0, &(0x7f0000001040)='./debug\x00', &(0x7f0000001080)='debugfs\x00', 0x0, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f00000010c0)='./debug/dynamic_debug/control\x00', 0x2, 0x0) write(r0, &(0x7f0000001100)='+p', 0x2) r1 = syz_usb_connect(0x3, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002000000402f0700220001000000010902200001010080320904000002ffffff0007058102000200070502020002"], 0x0) syz_usb_ep_read(r1, 0x2, 0x40, &(0x7f0000000100)) syz_usb_ep_read(r1, 0x2, 0x0, 0x0) syz_usb_ep_write(r1, 0x81, 0x3, &(0x7f0000000220)="837d7e") 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:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-openat-write-syz_usb_connect-syz_usb_ep_write-syz_usb_ep_read-syz_usb_ep_write detailed listing: executing program 0: mkdirat(0xffffffffffffff9c, &(0x7f0000001000)='./debug\x00', 0x1ff) mount(0x0, &(0x7f0000001040)='./debug\x00', &(0x7f0000001080)='debugfs\x00', 0x0, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f00000010c0)='./debug/dynamic_debug/control\x00', 0x2, 0x0) write(r0, &(0x7f0000001100)='+p', 0x2) r1 = syz_usb_connect(0x3, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002000000402f0700220001000000010902200001010080320904000002ffffff0007058102000200070502020002"], 0x0) syz_usb_ep_write(r1, 0x81, 0x0, 0x0) syz_usb_ep_read(r1, 0x2, 0x0, 0x0) syz_usb_ep_write(r1, 0x81, 0x3, &(0x7f0000000220)="837d7e") 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:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-openat-write-syz_usb_ep_read-syz_usb_ep_write-syz_usb_ep_read-syz_usb_ep_write detailed listing: executing program 0: mkdirat(0xffffffffffffff9c, &(0x7f0000001000)='./debug\x00', 0x1ff) mount(0x0, &(0x7f0000001040)='./debug\x00', &(0x7f0000001080)='debugfs\x00', 0x0, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f00000010c0)='./debug/dynamic_debug/control\x00', 0x2, 0x0) write(r0, &(0x7f0000001100)='+p', 0x2) syz_usb_ep_read(0xffffffffffffffff, 0x2, 0x40, &(0x7f0000000100)) syz_usb_ep_write(0xffffffffffffffff, 0x81, 0x0, 0x0) syz_usb_ep_read(0xffffffffffffffff, 0x2, 0x0, 0x0) syz_usb_ep_write(0xffffffffffffffff, 0x81, 0x3, &(0x7f0000000220)="837d7e") 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:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-openat-syz_usb_connect-syz_usb_ep_read-syz_usb_ep_write-syz_usb_ep_read-syz_usb_ep_write detailed listing: executing program 0: mkdirat(0xffffffffffffff9c, &(0x7f0000001000)='./debug\x00', 0x1ff) mount(0x0, &(0x7f0000001040)='./debug\x00', &(0x7f0000001080)='debugfs\x00', 0x0, 0x0) openat(0xffffffffffffff9c, &(0x7f00000010c0)='./debug/dynamic_debug/control\x00', 0x2, 0x0) r0 = syz_usb_connect(0x3, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002000000402f0700220001000000010902200001010080320904000002ffffff0007058102000200070502020002"], 0x0) syz_usb_ep_read(r0, 0x2, 0x40, &(0x7f0000000100)) syz_usb_ep_write(r0, 0x81, 0x0, 0x0) syz_usb_ep_read(r0, 0x2, 0x0, 0x0) syz_usb_ep_write(r0, 0x81, 0x3, &(0x7f0000000220)="837d7e") 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:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-write-syz_usb_connect-syz_usb_ep_read-syz_usb_ep_write-syz_usb_ep_read-syz_usb_ep_write detailed listing: executing program 0: mkdirat(0xffffffffffffff9c, &(0x7f0000001000)='./debug\x00', 0x1ff) mount(0x0, &(0x7f0000001040)='./debug\x00', &(0x7f0000001080)='debugfs\x00', 0x0, 0x0) write(0xffffffffffffffff, &(0x7f0000001100)='+p', 0x2) r0 = syz_usb_connect(0x3, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002000000402f0700220001000000010902200001010080320904000002ffffff0007058102000200070502020002"], 0x0) syz_usb_ep_read(r0, 0x2, 0x40, &(0x7f0000000100)) syz_usb_ep_write(r0, 0x81, 0x0, 0x0) syz_usb_ep_read(r0, 0x2, 0x0, 0x0) syz_usb_ep_write(r0, 0x81, 0x3, &(0x7f0000000220)="837d7e") 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:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-openat-write-syz_usb_connect-syz_usb_ep_read-syz_usb_ep_write-syz_usb_ep_read-syz_usb_ep_write detailed listing: executing program 0: mkdirat(0xffffffffffffff9c, &(0x7f0000001000)='./debug\x00', 0x1ff) r0 = openat(0xffffffffffffff9c, &(0x7f00000010c0)='./debug/dynamic_debug/control\x00', 0x2, 0x0) write(r0, &(0x7f0000001100)='+p', 0x2) r1 = syz_usb_connect(0x3, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002000000402f0700220001000000010902200001010080320904000002ffffff0007058102000200070502020002"], 0x0) syz_usb_ep_read(r1, 0x2, 0x40, &(0x7f0000000100)) syz_usb_ep_write(r1, 0x81, 0x0, 0x0) syz_usb_ep_read(r1, 0x2, 0x0, 0x0) syz_usb_ep_write(r1, 0x81, 0x3, &(0x7f0000000220)="837d7e") 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:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mount-openat-write-syz_usb_connect-syz_usb_ep_read-syz_usb_ep_write-syz_usb_ep_read-syz_usb_ep_write detailed listing: executing program 0: mount(0x0, &(0x7f0000001040)='./debug\x00', &(0x7f0000001080)='debugfs\x00', 0x0, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f00000010c0)='./debug/dynamic_debug/control\x00', 0x2, 0x0) write(r0, &(0x7f0000001100)='+p', 0x2) r1 = syz_usb_connect(0x3, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002000000402f0700220001000000010902200001010080320904000002ffffff0007058102000200070502020002"], 0x0) syz_usb_ep_read(r1, 0x2, 0x40, &(0x7f0000000100)) syz_usb_ep_write(r1, 0x81, 0x0, 0x0) syz_usb_ep_read(r1, 0x2, 0x0, 0x0) syz_usb_ep_write(r1, 0x81, 0x3, &(0x7f0000000220)="837d7e") 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:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-openat-write-syz_usb_connect-syz_usb_ep_read-syz_usb_ep_write-syz_usb_ep_read-syz_usb_ep_write detailed listing: executing program 0: mkdirat(0xffffffffffffff9c, 0x0, 0x1ff) mount(0x0, &(0x7f0000001040)='./debug\x00', &(0x7f0000001080)='debugfs\x00', 0x0, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f00000010c0)='./debug/dynamic_debug/control\x00', 0x2, 0x0) write(r0, &(0x7f0000001100)='+p', 0x2) r1 = syz_usb_connect(0x3, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002000000402f0700220001000000010902200001010080320904000002ffffff0007058102000200070502020002"], 0x0) syz_usb_ep_read(r1, 0x2, 0x40, &(0x7f0000000100)) syz_usb_ep_write(r1, 0x81, 0x0, 0x0) syz_usb_ep_read(r1, 0x2, 0x0, 0x0) syz_usb_ep_write(r1, 0x81, 0x3, &(0x7f0000000220)="837d7e") 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:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-openat-write-syz_usb_connect-syz_usb_ep_read-syz_usb_ep_write-syz_usb_ep_read-syz_usb_ep_write detailed listing: executing program 0: mkdirat(0xffffffffffffff9c, &(0x7f0000001000)='./debug\x00', 0x1ff) mount(0x0, 0x0, &(0x7f0000001080)='debugfs\x00', 0x0, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f00000010c0)='./debug/dynamic_debug/control\x00', 0x2, 0x0) write(r0, &(0x7f0000001100)='+p', 0x2) r1 = syz_usb_connect(0x3, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002000000402f0700220001000000010902200001010080320904000002ffffff0007058102000200070502020002"], 0x0) syz_usb_ep_read(r1, 0x2, 0x40, &(0x7f0000000100)) syz_usb_ep_write(r1, 0x81, 0x0, 0x0) syz_usb_ep_read(r1, 0x2, 0x0, 0x0) syz_usb_ep_write(r1, 0x81, 0x3, &(0x7f0000000220)="837d7e") 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:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-openat-write-syz_usb_connect-syz_usb_ep_read-syz_usb_ep_write-syz_usb_ep_read-syz_usb_ep_write detailed listing: executing program 0: mkdirat(0xffffffffffffff9c, &(0x7f0000001000)='./debug\x00', 0x1ff) mount(0x0, &(0x7f0000001040)='./debug\x00', 0x0, 0x0, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f00000010c0)='./debug/dynamic_debug/control\x00', 0x2, 0x0) write(r0, &(0x7f0000001100)='+p', 0x2) r1 = syz_usb_connect(0x3, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002000000402f0700220001000000010902200001010080320904000002ffffff0007058102000200070502020002"], 0x0) syz_usb_ep_read(r1, 0x2, 0x40, &(0x7f0000000100)) syz_usb_ep_write(r1, 0x81, 0x0, 0x0) syz_usb_ep_read(r1, 0x2, 0x0, 0x0) syz_usb_ep_write(r1, 0x81, 0x3, &(0x7f0000000220)="837d7e") 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:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-openat-write-syz_usb_connect-syz_usb_ep_read-syz_usb_ep_write-syz_usb_ep_read-syz_usb_ep_write detailed listing: executing program 0: mkdirat(0xffffffffffffff9c, &(0x7f0000001000)='./debug\x00', 0x1ff) mount(0x0, &(0x7f0000001040)='./debug\x00', &(0x7f0000001080)='debugfs\x00', 0x0, 0x0) r0 = openat(0xffffffffffffff9c, 0x0, 0x2, 0x0) write(r0, &(0x7f0000001100)='+p', 0x2) r1 = syz_usb_connect(0x3, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002000000402f0700220001000000010902200001010080320904000002ffffff0007058102000200070502020002"], 0x0) syz_usb_ep_read(r1, 0x2, 0x40, &(0x7f0000000100)) syz_usb_ep_write(r1, 0x81, 0x0, 0x0) syz_usb_ep_read(r1, 0x2, 0x0, 0x0) syz_usb_ep_write(r1, 0x81, 0x3, &(0x7f0000000220)="837d7e") 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:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-openat-write-syz_usb_connect-syz_usb_ep_read-syz_usb_ep_write-syz_usb_ep_read-syz_usb_ep_write detailed listing: executing program 0: mkdirat(0xffffffffffffff9c, &(0x7f0000001000)='./debug\x00', 0x1ff) mount(0x0, &(0x7f0000001040)='./debug\x00', &(0x7f0000001080)='debugfs\x00', 0x0, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f00000010c0)='./debug/dynamic_debug/control\x00', 0x2, 0x0) write(r0, 0x0, 0x0) r1 = syz_usb_connect(0x3, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002000000402f0700220001000000010902200001010080320904000002ffffff0007058102000200070502020002"], 0x0) syz_usb_ep_read(r1, 0x2, 0x40, &(0x7f0000000100)) syz_usb_ep_write(r1, 0x81, 0x0, 0x0) syz_usb_ep_read(r1, 0x2, 0x0, 0x0) syz_usb_ep_write(r1, 0x81, 0x3, &(0x7f0000000220)="837d7e") 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:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-openat-write-syz_usb_connect-syz_usb_ep_read-syz_usb_ep_write-syz_usb_ep_read-syz_usb_ep_write detailed listing: executing program 0: mkdirat(0xffffffffffffff9c, &(0x7f0000001000)='./debug\x00', 0x1ff) mount(0x0, &(0x7f0000001040)='./debug\x00', &(0x7f0000001080)='debugfs\x00', 0x0, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f00000010c0)='./debug/dynamic_debug/control\x00', 0x2, 0x0) write(r0, &(0x7f0000001100), 0x0) r1 = syz_usb_connect(0x3, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002000000402f0700220001000000010902200001010080320904000002ffffff0007058102000200070502020002"], 0x0) syz_usb_ep_read(r1, 0x2, 0x40, &(0x7f0000000100)) syz_usb_ep_write(r1, 0x81, 0x0, 0x0) syz_usb_ep_read(r1, 0x2, 0x0, 0x0) syz_usb_ep_write(r1, 0x81, 0x3, &(0x7f0000000220)="837d7e") 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:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-openat-write-syz_usb_connect-syz_usb_ep_read-syz_usb_ep_write-syz_usb_ep_read-syz_usb_ep_write detailed listing: executing program 0: mkdirat(0xffffffffffffff9c, &(0x7f0000001000)='./debug\x00', 0x1ff) mount(0x0, &(0x7f0000001040)='./debug\x00', &(0x7f0000001080)='debugfs\x00', 0x0, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f00000010c0)='./debug/dynamic_debug/control\x00', 0x2, 0x0) write(r0, &(0x7f0000001100)='+p', 0x2) r1 = syz_usb_connect(0x3, 0x32, 0x0, 0x0) syz_usb_ep_read(r1, 0x2, 0x40, &(0x7f0000000100)) syz_usb_ep_write(r1, 0x81, 0x0, 0x0) syz_usb_ep_read(r1, 0x2, 0x0, 0x0) syz_usb_ep_write(r1, 0x81, 0x3, &(0x7f0000000220)="837d7e") 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:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-openat-write-syz_usb_connect-syz_usb_ep_read-syz_usb_ep_write-syz_usb_ep_read-syz_usb_ep_write detailed listing: executing program 0: mkdirat(0xffffffffffffff9c, &(0x7f0000001000)='./debug\x00', 0x1ff) mount(0x0, &(0x7f0000001040)='./debug\x00', &(0x7f0000001080)='debugfs\x00', 0x0, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f00000010c0)='./debug/dynamic_debug/control\x00', 0x2, 0x0) write(r0, &(0x7f0000001100)='+p', 0x2) r1 = syz_usb_connect(0x3, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB], 0x0) syz_usb_ep_read(r1, 0x2, 0x40, &(0x7f0000000100)) syz_usb_ep_write(r1, 0x81, 0x0, 0x0) syz_usb_ep_read(r1, 0x2, 0x0, 0x0) syz_usb_ep_write(r1, 0x81, 0x3, &(0x7f0000000220)="837d7e") 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:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-openat-write-syz_usb_connect-syz_usb_ep_read-syz_usb_ep_write-syz_usb_ep_read-syz_usb_ep_write detailed listing: executing program 0: mkdirat(0xffffffffffffff9c, &(0x7f0000001000)='./debug\x00', 0x1ff) mount(0x0, &(0x7f0000001040)='./debug\x00', &(0x7f0000001080)='debugfs\x00', 0x0, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f00000010c0)='./debug/dynamic_debug/control\x00', 0x2, 0x0) write(r0, &(0x7f0000001100)='+p', 0x2) r1 = syz_usb_connect(0x3, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002000000402f0700220001000000010902200001010080320904000002ffffff0007058102000200070502020002"], 0x0) syz_usb_ep_read(r1, 0x2, 0x0, 0x0) syz_usb_ep_write(r1, 0x81, 0x0, 0x0) syz_usb_ep_read(r1, 0x2, 0x0, 0x0) syz_usb_ep_write(r1, 0x81, 0x3, &(0x7f0000000220)="837d7e") 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:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-openat-write-syz_usb_connect-syz_usb_ep_read-syz_usb_ep_write-syz_usb_ep_read-syz_usb_ep_write detailed listing: executing program 0: mkdirat(0xffffffffffffff9c, &(0x7f0000001000)='./debug\x00', 0x1ff) mount(0x0, &(0x7f0000001040)='./debug\x00', &(0x7f0000001080)='debugfs\x00', 0x0, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f00000010c0)='./debug/dynamic_debug/control\x00', 0x2, 0x0) write(r0, &(0x7f0000001100)='+p', 0x2) r1 = syz_usb_connect(0x3, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002000000402f0700220001000000010902200001010080320904000002ffffff0007058102000200070502020002"], 0x0) syz_usb_ep_read(r1, 0x2, 0x40, &(0x7f0000000100)) syz_usb_ep_write(r1, 0x81, 0x0, 0x0) syz_usb_ep_read(r1, 0x2, 0x0, 0x0) syz_usb_ep_write(r1, 0x81, 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:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-openat-write-syz_usb_connect-syz_usb_ep_read-syz_usb_ep_write-syz_usb_ep_read-syz_usb_ep_write detailed listing: executing program 0: mkdirat(0xffffffffffffff9c, &(0x7f0000001000)='./debug\x00', 0x1ff) mount(0x0, &(0x7f0000001040)='./debug\x00', &(0x7f0000001080)='debugfs\x00', 0x0, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f00000010c0)='./debug/dynamic_debug/control\x00', 0x2, 0x0) write(r0, &(0x7f0000001100)='+p', 0x2) r1 = syz_usb_connect(0x3, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002000000402f0700220001000000010902200001010080320904000002ffffff0007058102000200070502020002"], 0x0) syz_usb_ep_read(r1, 0x2, 0x40, &(0x7f0000000100)) syz_usb_ep_write(r1, 0x81, 0x0, 0x0) syz_usb_ep_read(r1, 0x2, 0x0, 0x0) syz_usb_ep_write(r1, 0x81, 0x0, &(0x7f0000000220)) 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:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-openat-write-syz_usb_connect-syz_usb_ep_read-syz_usb_ep_write-syz_usb_ep_read-syz_usb_ep_write program crashed: KASAN: slab-out-of-bounds Read in pn533_recv_frame simplifying C reproducer testing compiled C 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:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-openat-write-syz_usb_connect-syz_usb_ep_read-syz_usb_ep_write-syz_usb_ep_read-syz_usb_ep_write program crashed: KASAN: slab-out-of-bounds Read in pn533_recv_frame testing compiled C program (duration=30s, {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:true Wifi:true IEEE802154:true Sysctl:true Swap:true UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-openat-write-syz_usb_connect-syz_usb_ep_read-syz_usb_ep_write-syz_usb_ep_read-syz_usb_ep_write program crashed: KASAN: slab-out-of-bounds Read in pn533_recv_frame testing compiled C program (duration=30s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 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:true Sysctl:true Swap:false UseTmpDir:true HandleSegv:true Trace:false CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-openat-write-syz_usb_connect-syz_usb_ep_read-syz_usb_ep_write-syz_usb_ep_read-syz_usb_ep_write program crashed: KASAN: slab-out-of-bounds Read in pn533_recv_frame testing compiled C program (duration=30s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 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 CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-openat-write-syz_usb_connect-syz_usb_ep_read-syz_usb_ep_write-syz_usb_ep_read-syz_usb_ep_write program crashed: KASAN: slab-out-of-bounds Read in pn533_recv_frame testing compiled C program (duration=30s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 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 CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-openat-write-syz_usb_connect-syz_usb_ep_read-syz_usb_ep_write-syz_usb_ep_read-syz_usb_ep_write program crashed: KASAN: slab-out-of-bounds Read in pn533_recv_frame testing compiled C program (duration=30s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 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 CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-openat-write-syz_usb_connect-syz_usb_ep_read-syz_usb_ep_write-syz_usb_ep_read-syz_usb_ep_write program crashed: KASAN: slab-out-of-bounds Read in pn533_recv_frame testing compiled C program (duration=30s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 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 CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-openat-write-syz_usb_connect-syz_usb_ep_read-syz_usb_ep_write-syz_usb_ep_read-syz_usb_ep_write program crashed: KASAN: slab-out-of-bounds Read in pn533_recv_frame testing program (duration=30s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 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 CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-openat-write-syz_usb_connect-syz_usb_ep_read-syz_usb_ep_write-syz_usb_ep_read-syz_usb_ep_write detailed listing: executing program 0: mkdirat(0xffffffffffffff9c, &(0x7f0000001000)='./debug\x00', 0x1ff) mount(0x0, &(0x7f0000001040)='./debug\x00', &(0x7f0000001080)='debugfs\x00', 0x0, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f00000010c0)='./debug/dynamic_debug/control\x00', 0x2, 0x0) write(r0, &(0x7f0000001100)='+p', 0x2) r1 = syz_usb_connect(0x3, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002000000402f0700220001000000010902200001010080320904000002ffffff0007058102000200070502020002"], 0x0) syz_usb_ep_read(r1, 0x2, 0x40, &(0x7f0000000100)) syz_usb_ep_write(r1, 0x81, 0x0, 0x0) syz_usb_ep_read(r1, 0x2, 0x0, 0x0) syz_usb_ep_write(r1, 0x81, 0x3, &(0x7f0000000220)="837d7e") program crashed: KASAN: slab-out-of-bounds Read in pn533_recv_frame validation run: crashed=true testing program (duration=30s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 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 CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-openat-write-syz_usb_connect-syz_usb_ep_read-syz_usb_ep_write-syz_usb_ep_read-syz_usb_ep_write detailed listing: executing program 0: mkdirat(0xffffffffffffff9c, &(0x7f0000001000)='./debug\x00', 0x1ff) mount(0x0, &(0x7f0000001040)='./debug\x00', &(0x7f0000001080)='debugfs\x00', 0x0, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f00000010c0)='./debug/dynamic_debug/control\x00', 0x2, 0x0) write(r0, &(0x7f0000001100)='+p', 0x2) r1 = syz_usb_connect(0x3, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002000000402f0700220001000000010902200001010080320904000002ffffff0007058102000200070502020002"], 0x0) syz_usb_ep_read(r1, 0x2, 0x40, &(0x7f0000000100)) syz_usb_ep_write(r1, 0x81, 0x0, 0x0) syz_usb_ep_read(r1, 0x2, 0x0, 0x0) syz_usb_ep_write(r1, 0x81, 0x3, &(0x7f0000000220)="837d7e") program crashed: KASAN: slab-out-of-bounds Read in pn533_recv_frame validation run: crashed=true testing program (duration=30s, {Threaded:false Repeat:false RepeatTimes:0 Procs:1 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 CallComments:true LegacyOptions:{Collide:false Fault:false FaultCall:0 FaultNth:0}}): mkdirat-mount-openat-write-syz_usb_connect-syz_usb_ep_read-syz_usb_ep_write-syz_usb_ep_read-syz_usb_ep_write detailed listing: executing program 0: mkdirat(0xffffffffffffff9c, &(0x7f0000001000)='./debug\x00', 0x1ff) mount(0x0, &(0x7f0000001040)='./debug\x00', &(0x7f0000001080)='debugfs\x00', 0x0, 0x0) r0 = openat(0xffffffffffffff9c, &(0x7f00000010c0)='./debug/dynamic_debug/control\x00', 0x2, 0x0) write(r0, &(0x7f0000001100)='+p', 0x2) r1 = syz_usb_connect(0x3, 0x32, &(0x7f0000000000)=ANY=[@ANYBLOB="12010002000000402f0700220001000000010902200001010080320904000002ffffff0007058102000200070502020002"], 0x0) syz_usb_ep_read(r1, 0x2, 0x40, &(0x7f0000000100)) syz_usb_ep_write(r1, 0x81, 0x0, 0x0) syz_usb_ep_read(r1, 0x2, 0x0, 0x0) syz_usb_ep_write(r1, 0x81, 0x3, &(0x7f0000000220)="837d7e") program crashed: KASAN: slab-out-of-bounds Read in pn533_recv_frame validation run: crashed=true reproducing took 18m4.67760421s repro crashed as (corrupted=false): PN533 RX: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 PN533 RX: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 PN533 RX: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ================================================================== BUG: KASAN: slab-out-of-bounds in hex_dump_to_buffer+0xbc4/0xc60 lib/hexdump.c:194 Read of size 1 at addr ffff8880386de9c0 by task syz.0.17/6071 CPU: 0 UID: 0 PID: 6071 Comm: syz.0.17 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:378 [inline] print_report+0x13d/0x4b0 mm/kasan/report.c:482 kasan_report+0xdf/0x1c0 mm/kasan/report.c:595 hex_dump_to_buffer+0xbc4/0xc60 lib/hexdump.c:194 print_hex_dump+0x14a/0x1f0 lib/hexdump.c:277 pn533_recv_frame+0x48e/0x6d0 drivers/nfc/pn533/pn533.c:2202 __usb_hcd_giveback_urb+0x38e/0x610 drivers/usb/core/hcd.c:1657 usb_hcd_giveback_urb+0x3ca/0x4a0 drivers/usb/core/hcd.c:1741 dummy_timer+0xdb5/0x3840 drivers/usb/gadget/udc/dummy_hcd.c:2051 __run_hrtimer kernel/time/hrtimer.c:2079 [inline] __hrtimer_run_queues+0x448/0x9a0 kernel/time/hrtimer.c:2136 hrtimer_run_softirq+0x1ca/0x360 kernel/time/hrtimer.c:2153 handle_softirqs+0x216/0xa20 kernel/softirq.c:669 __do_softirq kernel/softirq.c:703 [inline] invoke_softirq kernel/softirq.c:542 [inline] __irq_exit_rcu+0x178/0x220 kernel/softirq.c:786 irq_exit_rcu+0x9/0x30 kernel/softirq.c:809 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline] sysvec_apic_timer_interrupt+0xa3/0xc0 arch/x86/kernel/apic/apic.c:1062 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:211 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0x31/0x80 kernel/locking/spinlock.c:221 Code: f5 53 48 8b 74 24 10 48 89 fb 48 83 c7 18 e8 56 44 f4 f5 48 89 df e8 de 9a f4 f5 f7 c5 00 02 00 00 75 23 9c 58 f6 c4 02 75 37 01 00 00 00 e8 e5 5e e3 f5 65 48 83 3d 54 8d c6 09 00 74 16 5b RSP: 0018:ffffc900036ffbf8 EFLAGS: 00000246 RAX: 0000000000000006 RBX: ffff88802d9ac000 RCX: 0000000000000000 RDX: 0000000000000001 RSI: ffffffff8e62c34c RDI: ffffffff8c835680 RBP: 0000000000000246 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffff88802d9acc00 R13: ffff88802d9acbfc R14: 0000000000000003 R15: ffff888026c4f46c spin_unlock_irqrestore include/linux/spinlock.h:425 [inline] dummy_queue+0x3c5/0xb80 drivers/usb/gadget/udc/dummy_hcd.c:800 usb_ep_queue+0xfa/0x3c0 drivers/usb/gadget/udc/core.c:306 raw_process_ep_io+0x64d/0xc40 drivers/usb/gadget/legacy/raw_gadget.c:1114 raw_ioctl_ep_write drivers/usb/gadget/legacy/raw_gadget.c:1153 [inline] raw_ioctl+0x25a/0x2b80 drivers/usb/gadget/legacy/raw_gadget.c:1325 vfs_ioctl fs/ioctl.c:52 [inline] __do_sys_ioctl fs/ioctl.c:598 [inline] __se_sys_ioctl fs/ioctl.c:584 [inline] __x64_sys_ioctl+0x18e/0x210 fs/ioctl.c:584 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x123/0x7b0 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fccd05a91eb Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 1c 48 8b 44 24 18 64 48 2b 04 25 28 00 00 RSP: 002b:00007ffdc35ae700 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007fccd05a91eb RDX: 00007ffdc35ae780 RSI: 0000000040085507 RDI: 0000000000000004 RBP: 0000000000000004 R08: 00007fccd0950320 R09: 0000000000000000 R10: 0000000000000004 R11: 0000000000000246 R12: 0000200000000220 R13: 0000000000000000 R14: 00007fccd0825fa0 R15: 00007fccd0825fa0 Allocated by task 6071: kasan_save_stack+0x30/0x50 mm/kasan/common.c:57 kasan_save_track+0x14/0x40 mm/kasan/common.c:79 unpoison_slab_object mm/kasan/common.c:354 [inline] __kasan_slab_alloc+0x89/0x90 mm/kasan/common.c:380 kasan_slab_alloc include/linux/kasan.h:257 [inline] slab_post_alloc_hook mm/slub.c:4720 [inline] slab_alloc_node mm/slub.c:5033 [inline] kmem_cache_alloc_node_noprof+0x282/0x6e0 mm/slub.c:5105 kmalloc_reserve+0x148/0x350 net/core/skbuff.c:616 __alloc_skb+0x185/0x710 net/core/skbuff.c:716 alloc_skb include/linux/skbuff.h:1391 [inline] pn533_recv_response+0x100/0x200 drivers/nfc/pn533/usb.c:65 __usb_hcd_giveback_urb+0x38e/0x610 drivers/usb/core/hcd.c:1657 usb_hcd_giveback_urb+0x3ca/0x4a0 drivers/usb/core/hcd.c:1741 dummy_timer+0xdb5/0x3840 drivers/usb/gadget/udc/dummy_hcd.c:2051 __run_hrtimer kernel/time/hrtimer.c:2079 [inline] __hrtimer_run_queues+0x448/0x9a0 kernel/time/hrtimer.c:2136 hrtimer_run_softirq+0x1ca/0x360 kernel/time/hrtimer.c:2153 handle_softirqs+0x216/0xa20 kernel/softirq.c:669 __do_softirq kernel/softirq.c:703 [inline] invoke_softirq kernel/softirq.c:542 [inline] __irq_exit_rcu+0x178/0x220 kernel/softirq.c:786 irq_exit_rcu+0x9/0x30 kernel/softirq.c:809 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline] sysvec_apic_timer_interrupt+0xa3/0xc0 arch/x86/kernel/apic/apic.c:1062 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674 The buggy address belongs to the object at ffff8880386de700 which belongs to the cache skbuff_small_head of size 704 The buggy address is located 0 bytes to the right of allocated 704-byte region [ffff8880386de700, ffff8880386de9c0) The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff8880386dea40 pfn:0x386dc head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 flags: 0xfff00000000240(workingset|head|node=0|zone=1|lastcpupid=0x7ff) page_type: f5(slab) raw: 00fff00000000240 ffff88801dfcc3c0 ffff88801e736588 ffff88801e736588 raw: ffff8880386dea40 000000020013000d 00000000f5000000 0000000000000000 head: 00fff00000000240 ffff88801dfcc3c0 ffff88801e736588 ffff88801e736588 head: ffff8880386dea40 000000020013000d 00000000f5000000 0000000000000000 head: 00fff00000000002 ffffffffffffff01 00000000ffffffff 00000000ffffffff head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 2, migratetype Unmovable, gfp_mask 0xd2820(GFP_ATOMIC|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 6071, tgid 6071 (syz.0.17), ts 60416767560 set_page_owner include/linux/page_owner.h:33 [inline] post_alloc_hook+0xfd/0x120 mm/page_alloc.c:1873 prep_new_page mm/page_alloc.c:1881 [inline] get_page_from_freelist+0xdae/0x2c80 mm/page_alloc.c:3963 __alloc_frozen_pages_noprof+0x2ad/0x31e0 mm/page_alloc.c:5505 alloc_slab_page mm/slub.c:3384 [inline] allocate_slab mm/slub.c:3499 [inline] new_slab+0xb1/0x6d0 mm/slub.c:3550 refill_objects+0xe3/0x410 mm/slub.c:7546 refill_sheaf mm/slub.c:2917 [inline] __pcs_replace_empty_main+0x35e/0x650 mm/slub.c:4811 alloc_from_pcs mm/slub.c:4887 [inline] slab_alloc_node mm/slub.c:5021 [inline] kmem_cache_alloc_node_noprof+0x4ed/0x6e0 mm/slub.c:5105 kmalloc_reserve+0x148/0x350 net/core/skbuff.c:616 __alloc_skb+0x185/0x710 net/core/skbuff.c:716 alloc_skb include/linux/skbuff.h:1391 [inline] pn533_recv_response+0x100/0x200 drivers/nfc/pn533/usb.c:65 __usb_hcd_giveback_urb+0x38e/0x610 drivers/usb/core/hcd.c:1657 usb_hcd_giveback_urb+0x3ca/0x4a0 drivers/usb/core/hcd.c:1741 dummy_timer+0xdb5/0x3840 drivers/usb/gadget/udc/dummy_hcd.c:2051 __run_hrtimer kernel/time/hrtimer.c:2079 [inline] __hrtimer_run_queues+0x448/0x9a0 kernel/time/hrtimer.c:2136 hrtimer_run_softirq+0x1ca/0x360 kernel/time/hrtimer.c:2153 handle_softirqs+0x216/0xa20 kernel/softirq.c:669 page last free pid 5647 tgid 5647 ts 59634480232 stack trace: reset_page_owner include/linux/page_owner.h:26 [inline] __free_pages_prepare mm/page_alloc.c:1415 [inline] __free_frozen_pages+0x7b1/0x10f0 mm/page_alloc.c:2971 stack_depot_save_flags+0x456/0xa10 lib/stackdepot.c:735 kasan_save_stack+0x3f/0x50 mm/kasan/common.c:58 kasan_save_track+0x14/0x40 mm/kasan/common.c:79 poison_kmalloc_redzone mm/kasan/common.c:412 [inline] __kasan_kmalloc+0xaa/0xb0 mm/kasan/common.c:429 kasan_kmalloc include/linux/kasan.h:267 [inline] __kmalloc_cache_noprof+0x2f8/0x6d0 mm/slub.c:5680 _kmalloc_noprof include/linux/slab.h:991 [inline] dummy_urb_enqueue+0xa3/0x8b0 drivers/usb/gadget/udc/dummy_hcd.c:1327 usb_hcd_submit_urb+0x268/0x2140 drivers/usb/core/hcd.c:1542 usb_submit_urb+0x827/0x19b0 drivers/usb/core/urb.c:594 usb_start_wait_urb+0x10e/0x580 drivers/usb/core/message.c:62 usb_internal_control_msg drivers/usb/core/message.c:117 [inline] usb_control_msg+0x328/0x4b0 drivers/usb/core/message.c:167 get_bMaxPacketSize0.constprop.0+0xd0/0x1f0 drivers/usb/core/hub.c:4869 hub_port_init+0x642/0x37f0 drivers/usb/core/hub.c:5065 hub_port_connect drivers/usb/core/hub.c:5514 [inline] hub_port_connect_change drivers/usb/core/hub.c:5725 [inline] port_event drivers/usb/core/hub.c:5889 [inline] hub_event+0x2ead/0x4420 drivers/usb/core/hub.c:5971 process_one_work+0xac7/0x1b10 kernel/workqueue.c:3495 process_scheduled_works kernel/workqueue.c:3578 [inline] worker_thread+0x5ef/0xe50 kernel/workqueue.c:3659 Memory state around the buggy address: ffff8880386de880: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff8880386de900: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff8880386de980: 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc ^ ffff8880386dea00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff8880386dea80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ================================================================== ---------------- Code disassembly (best guess): 0: f5 cmc 1: 53 push %rbx 2: 48 8b 74 24 10 mov 0x10(%rsp),%rsi 7: 48 89 fb mov %rdi,%rbx a: 48 83 c7 18 add $0x18,%rdi e: e8 56 44 f4 f5 call 0xf5f44469 13: 48 89 df mov %rbx,%rdi 16: e8 de 9a f4 f5 call 0xf5f49af9 1b: f7 c5 00 02 00 00 test $0x200,%ebp 21: 75 23 jne 0x46 23: 9c pushf 24: 58 pop %rax 25: f6 c4 02 test $0x2,%ah 28: 75 37 jne 0x61 * 2a: bf 01 00 00 00 mov $0x1,%edi <-- trapping instruction 2f: e8 e5 5e e3 f5 call 0xf5e35f19 34: 65 48 83 3d 54 8d c6 cmpq $0x0,%gs:0x9c68d54(%rip) # 0x9c68d91 3b: 09 00 3d: 74 16 je 0x55 3f: 5b pop %rbx final repro crashed as (corrupted=false): PN533 RX: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 PN533 RX: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 PN533 RX: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ================================================================== BUG: KASAN: slab-out-of-bounds in hex_dump_to_buffer+0xbc4/0xc60 lib/hexdump.c:194 Read of size 1 at addr ffff8880386de9c0 by task syz.0.17/6071 CPU: 0 UID: 0 PID: 6071 Comm: syz.0.17 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 Call Trace: __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x100/0x190 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:378 [inline] print_report+0x13d/0x4b0 mm/kasan/report.c:482 kasan_report+0xdf/0x1c0 mm/kasan/report.c:595 hex_dump_to_buffer+0xbc4/0xc60 lib/hexdump.c:194 print_hex_dump+0x14a/0x1f0 lib/hexdump.c:277 pn533_recv_frame+0x48e/0x6d0 drivers/nfc/pn533/pn533.c:2202 __usb_hcd_giveback_urb+0x38e/0x610 drivers/usb/core/hcd.c:1657 usb_hcd_giveback_urb+0x3ca/0x4a0 drivers/usb/core/hcd.c:1741 dummy_timer+0xdb5/0x3840 drivers/usb/gadget/udc/dummy_hcd.c:2051 __run_hrtimer kernel/time/hrtimer.c:2079 [inline] __hrtimer_run_queues+0x448/0x9a0 kernel/time/hrtimer.c:2136 hrtimer_run_softirq+0x1ca/0x360 kernel/time/hrtimer.c:2153 handle_softirqs+0x216/0xa20 kernel/softirq.c:669 __do_softirq kernel/softirq.c:703 [inline] invoke_softirq kernel/softirq.c:542 [inline] __irq_exit_rcu+0x178/0x220 kernel/softirq.c:786 irq_exit_rcu+0x9/0x30 kernel/softirq.c:809 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline] sysvec_apic_timer_interrupt+0xa3/0xc0 arch/x86/kernel/apic/apic.c:1062 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674 RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:211 [inline] RIP: 0010:_raw_spin_unlock_irqrestore+0x31/0x80 kernel/locking/spinlock.c:221 Code: f5 53 48 8b 74 24 10 48 89 fb 48 83 c7 18 e8 56 44 f4 f5 48 89 df e8 de 9a f4 f5 f7 c5 00 02 00 00 75 23 9c 58 f6 c4 02 75 37 01 00 00 00 e8 e5 5e e3 f5 65 48 83 3d 54 8d c6 09 00 74 16 5b RSP: 0018:ffffc900036ffbf8 EFLAGS: 00000246 RAX: 0000000000000006 RBX: ffff88802d9ac000 RCX: 0000000000000000 RDX: 0000000000000001 RSI: ffffffff8e62c34c RDI: ffffffff8c835680 RBP: 0000000000000246 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 0000000000000000 R12: ffff88802d9acc00 R13: ffff88802d9acbfc R14: 0000000000000003 R15: ffff888026c4f46c spin_unlock_irqrestore include/linux/spinlock.h:425 [inline] dummy_queue+0x3c5/0xb80 drivers/usb/gadget/udc/dummy_hcd.c:800 usb_ep_queue+0xfa/0x3c0 drivers/usb/gadget/udc/core.c:306 raw_process_ep_io+0x64d/0xc40 drivers/usb/gadget/legacy/raw_gadget.c:1114 raw_ioctl_ep_write drivers/usb/gadget/legacy/raw_gadget.c:1153 [inline] raw_ioctl+0x25a/0x2b80 drivers/usb/gadget/legacy/raw_gadget.c:1325 vfs_ioctl fs/ioctl.c:52 [inline] __do_sys_ioctl fs/ioctl.c:598 [inline] __se_sys_ioctl fs/ioctl.c:584 [inline] __x64_sys_ioctl+0x18e/0x210 fs/ioctl.c:584 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x123/0x7b0 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fccd05a91eb Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 1c 48 8b 44 24 18 64 48 2b 04 25 28 00 00 RSP: 002b:00007ffdc35ae700 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007fccd05a91eb RDX: 00007ffdc35ae780 RSI: 0000000040085507 RDI: 0000000000000004 RBP: 0000000000000004 R08: 00007fccd0950320 R09: 0000000000000000 R10: 0000000000000004 R11: 0000000000000246 R12: 0000200000000220 R13: 0000000000000000 R14: 00007fccd0825fa0 R15: 00007fccd0825fa0 Allocated by task 6071: kasan_save_stack+0x30/0x50 mm/kasan/common.c:57 kasan_save_track+0x14/0x40 mm/kasan/common.c:79 unpoison_slab_object mm/kasan/common.c:354 [inline] __kasan_slab_alloc+0x89/0x90 mm/kasan/common.c:380 kasan_slab_alloc include/linux/kasan.h:257 [inline] slab_post_alloc_hook mm/slub.c:4720 [inline] slab_alloc_node mm/slub.c:5033 [inline] kmem_cache_alloc_node_noprof+0x282/0x6e0 mm/slub.c:5105 kmalloc_reserve+0x148/0x350 net/core/skbuff.c:616 __alloc_skb+0x185/0x710 net/core/skbuff.c:716 alloc_skb include/linux/skbuff.h:1391 [inline] pn533_recv_response+0x100/0x200 drivers/nfc/pn533/usb.c:65 __usb_hcd_giveback_urb+0x38e/0x610 drivers/usb/core/hcd.c:1657 usb_hcd_giveback_urb+0x3ca/0x4a0 drivers/usb/core/hcd.c:1741 dummy_timer+0xdb5/0x3840 drivers/usb/gadget/udc/dummy_hcd.c:2051 __run_hrtimer kernel/time/hrtimer.c:2079 [inline] __hrtimer_run_queues+0x448/0x9a0 kernel/time/hrtimer.c:2136 hrtimer_run_softirq+0x1ca/0x360 kernel/time/hrtimer.c:2153 handle_softirqs+0x216/0xa20 kernel/softirq.c:669 __do_softirq kernel/softirq.c:703 [inline] invoke_softirq kernel/softirq.c:542 [inline] __irq_exit_rcu+0x178/0x220 kernel/softirq.c:786 irq_exit_rcu+0x9/0x30 kernel/softirq.c:809 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline] sysvec_apic_timer_interrupt+0xa3/0xc0 arch/x86/kernel/apic/apic.c:1062 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674 The buggy address belongs to the object at ffff8880386de700 which belongs to the cache skbuff_small_head of size 704 The buggy address is located 0 bytes to the right of allocated 704-byte region [ffff8880386de700, ffff8880386de9c0) The buggy address belongs to the physical page: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0xffff8880386dea40 pfn:0x386dc head: order:2 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 flags: 0xfff00000000240(workingset|head|node=0|zone=1|lastcpupid=0x7ff) page_type: f5(slab) raw: 00fff00000000240 ffff88801dfcc3c0 ffff88801e736588 ffff88801e736588 raw: ffff8880386dea40 000000020013000d 00000000f5000000 0000000000000000 head: 00fff00000000240 ffff88801dfcc3c0 ffff88801e736588 ffff88801e736588 head: ffff8880386dea40 000000020013000d 00000000f5000000 0000000000000000 head: 00fff00000000002 ffffffffffffff01 00000000ffffffff 00000000ffffffff head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000004 page dumped because: kasan: bad access detected page_owner tracks the page as allocated page last allocated via order 2, migratetype Unmovable, gfp_mask 0xd2820(GFP_ATOMIC|__GFP_NOWARN|__GFP_NORETRY|__GFP_COMP|__GFP_NOMEMALLOC), pid 6071, tgid 6071 (syz.0.17), ts 60416767560 set_page_owner include/linux/page_owner.h:33 [inline] post_alloc_hook+0xfd/0x120 mm/page_alloc.c:1873 prep_new_page mm/page_alloc.c:1881 [inline] get_page_from_freelist+0xdae/0x2c80 mm/page_alloc.c:3963 __alloc_frozen_pages_noprof+0x2ad/0x31e0 mm/page_alloc.c:5505 alloc_slab_page mm/slub.c:3384 [inline] allocate_slab mm/slub.c:3499 [inline] new_slab+0xb1/0x6d0 mm/slub.c:3550 refill_objects+0xe3/0x410 mm/slub.c:7546 refill_sheaf mm/slub.c:2917 [inline] __pcs_replace_empty_main+0x35e/0x650 mm/slub.c:4811 alloc_from_pcs mm/slub.c:4887 [inline] slab_alloc_node mm/slub.c:5021 [inline] kmem_cache_alloc_node_noprof+0x4ed/0x6e0 mm/slub.c:5105 kmalloc_reserve+0x148/0x350 net/core/skbuff.c:616 __alloc_skb+0x185/0x710 net/core/skbuff.c:716 alloc_skb include/linux/skbuff.h:1391 [inline] pn533_recv_response+0x100/0x200 drivers/nfc/pn533/usb.c:65 __usb_hcd_giveback_urb+0x38e/0x610 drivers/usb/core/hcd.c:1657 usb_hcd_giveback_urb+0x3ca/0x4a0 drivers/usb/core/hcd.c:1741 dummy_timer+0xdb5/0x3840 drivers/usb/gadget/udc/dummy_hcd.c:2051 __run_hrtimer kernel/time/hrtimer.c:2079 [inline] __hrtimer_run_queues+0x448/0x9a0 kernel/time/hrtimer.c:2136 hrtimer_run_softirq+0x1ca/0x360 kernel/time/hrtimer.c:2153 handle_softirqs+0x216/0xa20 kernel/softirq.c:669 page last free pid 5647 tgid 5647 ts 59634480232 stack trace: reset_page_owner include/linux/page_owner.h:26 [inline] __free_pages_prepare mm/page_alloc.c:1415 [inline] __free_frozen_pages+0x7b1/0x10f0 mm/page_alloc.c:2971 stack_depot_save_flags+0x456/0xa10 lib/stackdepot.c:735 kasan_save_stack+0x3f/0x50 mm/kasan/common.c:58 kasan_save_track+0x14/0x40 mm/kasan/common.c:79 poison_kmalloc_redzone mm/kasan/common.c:412 [inline] __kasan_kmalloc+0xaa/0xb0 mm/kasan/common.c:429 kasan_kmalloc include/linux/kasan.h:267 [inline] __kmalloc_cache_noprof+0x2f8/0x6d0 mm/slub.c:5680 _kmalloc_noprof include/linux/slab.h:991 [inline] dummy_urb_enqueue+0xa3/0x8b0 drivers/usb/gadget/udc/dummy_hcd.c:1327 usb_hcd_submit_urb+0x268/0x2140 drivers/usb/core/hcd.c:1542 usb_submit_urb+0x827/0x19b0 drivers/usb/core/urb.c:594 usb_start_wait_urb+0x10e/0x580 drivers/usb/core/message.c:62 usb_internal_control_msg drivers/usb/core/message.c:117 [inline] usb_control_msg+0x328/0x4b0 drivers/usb/core/message.c:167 get_bMaxPacketSize0.constprop.0+0xd0/0x1f0 drivers/usb/core/hub.c:4869 hub_port_init+0x642/0x37f0 drivers/usb/core/hub.c:5065 hub_port_connect drivers/usb/core/hub.c:5514 [inline] hub_port_connect_change drivers/usb/core/hub.c:5725 [inline] port_event drivers/usb/core/hub.c:5889 [inline] hub_event+0x2ead/0x4420 drivers/usb/core/hub.c:5971 process_one_work+0xac7/0x1b10 kernel/workqueue.c:3495 process_scheduled_works kernel/workqueue.c:3578 [inline] worker_thread+0x5ef/0xe50 kernel/workqueue.c:3659 Memory state around the buggy address: ffff8880386de880: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff8880386de900: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >ffff8880386de980: 00 00 00 00 00 00 00 00 fc fc fc fc fc fc fc fc ^ ffff8880386dea00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ffff8880386dea80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ================================================================== ---------------- Code disassembly (best guess): 0: f5 cmc 1: 53 push %rbx 2: 48 8b 74 24 10 mov 0x10(%rsp),%rsi 7: 48 89 fb mov %rdi,%rbx a: 48 83 c7 18 add $0x18,%rdi e: e8 56 44 f4 f5 call 0xf5f44469 13: 48 89 df mov %rbx,%rdi 16: e8 de 9a f4 f5 call 0xf5f49af9 1b: f7 c5 00 02 00 00 test $0x200,%ebp 21: 75 23 jne 0x46 23: 9c pushf 24: 58 pop %rax 25: f6 c4 02 test $0x2,%ah 28: 75 37 jne 0x61 * 2a: bf 01 00 00 00 mov $0x1,%edi <-- trapping instruction 2f: e8 e5 5e e3 f5 call 0xf5e35f19 34: 65 48 83 3d 54 8d c6 cmpq $0x0,%gs:0x9c68d54(%rip) # 0x9c68d91 3b: 09 00 3d: 74 16 je 0x55 3f: 5b pop %rbx