last executing test programs: 29.554390374s ago: executing program 1 (id=48): setxattr$trusted_overlay_upper(0x0, &(0x7f00000001c0), 0x0, 0x841, 0x0) r0 = bpf$MAP_CREATE(0x100000000000000, &(0x7f00000014c0)=@base={0xf, 0x4, 0x8, 0xacc, 0x0, 0x1}, 0x48) bpf$MAP_LOOKUP_ELEM(0x1, &(0x7f0000000240)={r0, &(0x7f00000001c0), 0x0}, 0x20) 24.56903421s ago: executing program 0 (id=50): r0 = socket$nl_generic(0x10, 0x3, 0x10) r1 = socket$netlink(0x10, 0x3, 0x0) ioctl$ifreq_SIOCGIFINDEX_batadv_mesh(r0, 0x8933, &(0x7f0000000100)={'batadv0\x00', 0x0}) sendmsg$nl_route(r1, &(0x7f00000000c0)={0x0, 0x0, &(0x7f0000001140)={&(0x7f0000000280)=@newlink={0x48, 0x10, 0x503, 0xfffffffc, 0x3, {}, [@IFLA_LINKINFO={0x20, 0x12, 0x0, 0x1, @macsec={{0xb}, {0x10, 0x2, 0x0, 0x1, [@IFLA_MACSEC_CIPHER_SUITE={0xc, 0x4, 0x80c20001000004}]}}}, @IFLA_LINK={0x8, 0x5, r2}]}, 0x48}, 0x1, 0x0, 0x0, 0x8090}, 0x44000) 23.59571299s ago: executing program 1 (id=51): r0 = socket(0x11, 0x3, 0x0) ioctl$sock_inet_SIOCADDRT(r0, 0x890b, &(0x7f0000000100)={0x20, {0x2, 0x4e22, @multicast1}, {0x2, 0x0, @empty}, {0x2, 0x4e20, @multicast1}, 0xaf, 0x0, 0x0, 0x0, 0x0, 0x0, 0x8, 0x0, 0x40}) 16.38845313s ago: executing program 0 (id=52): r0 = syz_genetlink_get_family_id$nl802154(&(0x7f0000002600), 0xffffffffffffffff) r1 = syz_init_net_socket$nl_generic(0x10, 0x3, 0x10) sendmsg$NL802154_CMD_GET_SEC_DEVKEY(r1, &(0x7f00000026c0)={0x0, 0x0, &(0x7f0000002680)={&(0x7f0000000100)={0x14, r0, 0xf21, 0x70bd28, 0x25dfdbfc}, 0x14}, 0x1, 0x0, 0x0, 0x40085}, 0x24008840) 16.306024274s ago: executing program 1 (id=53): r0 = openat$sysfs(0xffffffffffffff9c, &(0x7f00000002c0)='/sys/power/resume', 0x149a82, 0x0) sendfile(r0, r0, 0x0, 0x3) pread64(r0, &(0x7f0000000440)=""/132, 0x84, 0x3) 8.929188672s ago: executing program 0 (id=54): bpf$PROG_LOAD(0x5, &(0x7f00000000c0)={0x11, 0xb, &(0x7f0000000180)=ANY=[@ANYBLOB="18000000000000000000000000000000180100002020702500000000002020207b1af8ff00000000bfa100000000000007010000f8ffffffb702000000000000b7030000ddffffff850000002d00000095"], &(0x7f0000000280)='GPL\x00', 0x0, 0x0, 0x0, 0x0, 0x0, '\x00', 0x0, @fallback, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, 0x94) r0 = openat$sysfs(0xffffffffffffff9c, &(0x7f0000000080)='/sys/power/resume', 0x149a82, 0x0) r1 = bpf$PROG_LOAD(0x5, &(0x7f00000000c0)={0x11, 0xb, &(0x7f0000000180)=ANY=[@ANYBLOB="180000000000000000000000000000001801"], &(0x7f0000000280)='GPL\x00', 0x0, 0x0, 0x0, 0x0, 0x0, '\x00', 0x0, @fallback, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, 0x94) bpf$BPF_RAW_TRACEPOINT_OPEN(0x11, &(0x7f0000000180)={&(0x7f0000000440)='block_bio_complete\x00', r1, 0x0, 0x1}, 0x18) write$cgroup_int(r0, &(0x7f0000000040)=0x1c9, 0x12) 8.106260215s ago: executing program 1 (id=55): r0 = socket$nl_route(0x10, 0x3, 0x0) sendmsg$nl_route(r0, &(0x7f00000000c0)={0x0, 0x0, &(0x7f0000000280)={&(0x7f0000000000)=@newlink={0x58, 0x10, 0x401, 0x70bd26, 0x0, {0x0, 0x0, 0x0, 0x0, 0x103, 0x28820}, [@IFLA_LINKINFO={0x24, 0x12, 0x0, 0x1, @bridge_slave={{0x11, 0x118}, {0xc, 0x5, 0x0, 0x1, [@IFLA_BRPORT_NEIGH_SUPPRESS={0x5}]}}}, @IFLA_IFNAME={0x14, 0x3, 'bridge_slave_0\x00'}]}, 0x58}, 0x1, 0x0, 0x0, 0x44801}, 0x48000) 5.562481375s ago: executing program 1 (id=56): setsockopt$inet6_IPV6_RTHDR(0xffffffffffffffff, 0x29, 0x39, 0x0, 0x18) connect$inet6(0xffffffffffffffff, 0x0, 0x0) r0 = socket$nl_route(0x10, 0x3, 0x0) bpf$PROG_LOAD(0x5, &(0x7f00000000c0)={0x0, 0xc, &(0x7f0000000440)=ANY=[@ANYBLOB, @ANYBLOB], 0x0, 0x4, 0x0, 0x0, 0x0, 0x44, '\x00', 0x0, @fallback, 0xffffffffffffffff, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, 0x94) bpf$MAP_CREATE(0x0, 0x0, 0x48) r1 = socket$nl_route(0x10, 0x3, 0x0) socketpair(0x1, 0x20000000000001, 0x0, &(0x7f0000000100)={0xffffffffffffffff}) getsockname$packet(r2, &(0x7f0000000100)={0x11, 0x0, 0x0, 0x1, 0x0, 0x6, @broadcast}, &(0x7f0000000400)=0x14) sendmsg$nl_route_sched(r1, &(0x7f0000006280)={0x0, 0x0, &(0x7f00000000c0)={&(0x7f0000000280)=@newtaction={0x68, 0x30, 0x1, 0x0, 0x0, {0x0, 0x0, 0x6a00}, [{0x54, 0x1, [@m_mirred={0x50, 0x1, 0x0, 0x0, {{0xb}, {0x24, 0x2, 0x0, 0x1, [@TCA_MIRRED_PARMS={0x20, 0x2, {{0x0, 0x2}, 0x2, r3}}]}, {0x4, 0xa}, {0xc}, {0xc}}}]}]}, 0x68}}, 0x0) sendmsg$nl_route_sched(r0, 0x0, 0x0) 4.468915071s ago: executing program 0 (id=57): r0 = socket$nl_route(0x10, 0x3, 0x0) sendmsg$nl_route(r0, &(0x7f0000000040)={0x0, 0x0, &(0x7f0000000140)={0x0, 0x3c}, 0x1, 0x0, 0x2000000}, 0x4000080) 3.977844537s ago: executing program 1 (id=58): syz_usb_connect(0x0, 0xbc, &(0x7f0000000000)={{0x12, 0x1, 0x0, 0x3e, 0x97, 0x98, 0x8, 0x424, 0xcf30, 0xc8a, 0x1, 0x2, 0x3, 0x1, [{{0x9, 0x2, 0xaa, 0x1, 0x0, 0x0, 0x0, 0x0, [{{0x9, 0x4, 0x18, 0x0, 0x2, 0x91, 0x4e, 0xfe, 0x0, [], [{{0x9, 0x5, 0x1, 0x0, 0x1ff, 0x7f, 0x1a, 0x9, [@generic={0x8, 0x3, "c626a8bda629"}, @generic={0x7e, 0xf, "8887f5df2d05871db14961b87da002c22f7f99343f7d125e62cfe14fcb9cdbcd70f9d4419b025dd65d4ee17af08329eda05464d1c0360b60eb155e84f9d9110611e2a38d6cfbc28bb98ddc8b33f72ecf2e0d5ac58db367bad157c58557661a5cc194ebaa15626a1adaad5e81a9b2144c306158102bb991ef282d5d82"}]}}, {{0x9, 0x5, 0xa, 0x8, 0x8, 0xc, 0x1}}]}}]}}]}}, 0x0) 2.830098386s ago: executing program 0 (id=59): r0 = socket$packet(0x11, 0x2, 0x300) setsockopt$packet_fanout(r0, 0x107, 0x12, &(0x7f0000000000), 0x8) setsockopt$packet_fanout(r0, 0x107, 0x12, &(0x7f0000000140)={0x0, 0x3}, 0x4) 0s ago: executing program 0 (id=60): r0 = openat$binderfs(0xffffffffffffff9c, &(0x7f0000000380)='./binderfs/binder0\x00', 0x0, 0x0) r1 = openat$binderfs(0xffffffffffffff9c, &(0x7f0000000200)='./binderfs/binder0\x00', 0x800, 0x0) r2 = dup3(r1, r0, 0x0) r3 = openat$binderfs(0xffffffffffffff9c, &(0x7f0000000000)='./binderfs/binder0\x00', 0x802, 0x0) ioctl$BINDER_SET_CONTEXT_MGR_EXT(r3, 0x4018620d, &(0x7f0000000040)={0x73622a85, 0x10a}) ioctl$BINDER_WRITE_READ(r2, 0xc0306201, &(0x7f00000003c0)={0x8, 0x0, &(0x7f0000000340)=[@acquire], 0x0, 0x0, 0x0}) r4 = openat$binderfs(0xffffffffffffff9c, &(0x7f0000000000)='./binderfs/binder0\x00', 0x0, 0x0) ioctl$BINDER_WRITE_READ(r4, 0xc0306201, &(0x7f0000000080)={0x8, 0x0, &(0x7f0000000180)=[@acquire], 0x0, 0x0, 0x0}) kernel console output (not intermixed with test programs): Warning: Permanently added '[localhost]:53283' (ED25519) to the list of known hosts. syzkaller login: [ 373.341764][ T3191] cgroup: Unknown subsys name 'net' [ 373.845185][ T3191] cgroup: Unknown subsys name 'cpuset' [ 374.065517][ T3191] cgroup: Unknown subsys name 'rlimit' Setting up swapspace version 1, size = 127995904 bytes [ 433.412366][ T3191] Adding 124996k swap on ./swap-file. Priority:0 extents:1 across:124996k [ 513.018195][ T3198] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link [ 513.174065][ T3198] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link [ 516.653578][ T3200] bond0: (slave bond_slave_0): Enslaving as an active interface with an up link [ 517.134300][ T3200] bond0: (slave bond_slave_1): Enslaving as an active interface with an up link [ 534.106287][ T3198] hsr_slave_0: entered promiscuous mode [ 534.175236][ T3198] hsr_slave_1: entered promiscuous mode [ 537.216560][ T3200] hsr_slave_0: entered promiscuous mode [ 537.358032][ T3200] hsr_slave_1: entered promiscuous mode [ 537.372463][ T3200] debugfs: Directory 'hsr0' with parent 'hsr' already present! [ 537.375532][ T3200] Cannot create hsr debugfs directory [ 544.782562][ T3198] netdevsim netdevsim0 netdevsim0: renamed from eth0 [ 545.014823][ T3198] netdevsim netdevsim0 netdevsim1: renamed from eth1 [ 545.147873][ T3198] netdevsim netdevsim0 netdevsim2: renamed from eth2 [ 545.528202][ T3198] netdevsim netdevsim0 netdevsim3: renamed from eth3 [ 547.762475][ T3200] netdevsim netdevsim1 netdevsim0: renamed from eth0 [ 547.861935][ T3200] netdevsim netdevsim1 netdevsim1: renamed from eth1 [ 547.926739][ T3200] netdevsim netdevsim1 netdevsim2: renamed from eth2 [ 548.022374][ T3200] netdevsim netdevsim1 netdevsim3: renamed from eth3 [ 560.425442][ T3198] 8021q: adding VLAN 0 to HW filter on device bond0 [ 562.074980][ T3200] 8021q: adding VLAN 0 to HW filter on device bond0 [ 606.157885][ T3198] veth0_vlan: entered promiscuous mode [ 606.646211][ T3198] veth1_vlan: entered promiscuous mode [ 608.664046][ T3198] veth0_macvtap: entered promiscuous mode [ 608.878815][ T3198] veth1_macvtap: entered promiscuous mode [ 609.647261][ T3200] veth0_vlan: entered promiscuous mode [ 610.313956][ T3200] veth1_vlan: entered promiscuous mode [ 611.448819][ T3198] netdevsim netdevsim0 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0 [ 611.452437][ T3198] netdevsim netdevsim0 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0 [ 611.453760][ T3198] netdevsim netdevsim0 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0 [ 611.455092][ T3198] netdevsim netdevsim0 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0 [ 613.171692][ T3200] veth0_macvtap: entered promiscuous mode [ 613.637690][ T3200] veth1_macvtap: entered promiscuous mode [ 615.977695][ T3198] soft_limit_in_bytes is deprecated and will be removed. Please report your usecase to linux-mm@kvack.org if you depend on this functionality. [ 616.507643][ T3200] netdevsim netdevsim1 netdevsim0: set [1, 0] type 2 family 0 port 6081 - 0 [ 616.514646][ T3200] netdevsim netdevsim1 netdevsim1: set [1, 0] type 2 family 0 port 6081 - 0 [ 616.516926][ T3200] netdevsim netdevsim1 netdevsim2: set [1, 0] type 2 family 0 port 6081 - 0 [ 616.518993][ T3200] netdevsim netdevsim1 netdevsim3: set [1, 0] type 2 family 0 port 6081 - 0 [ 621.553818][ T925] usb 1-1: new high-speed USB device number 2 using dummy_hcd [ 621.856492][ T925] usb 1-1: Using ep0 maxpacket: 32 [ 621.963894][ T925] usb 1-1: config 0 interface 0 altsetting 128 endpoint 0x2 has an invalid bInterval 255, changing to 11 [ 621.977547][ T925] usb 1-1: config 0 interface 0 altsetting 128 endpoint 0x2 has invalid maxpacket 59391, setting to 1024 [ 621.983321][ T925] usb 1-1: config 0 interface 0 has no altsetting 0 [ 621.986062][ T925] usb 1-1: New USB device found, idVendor=1b1c, idProduct=1c09, bcdDevice= 0.00 [ 621.987989][ T925] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 622.185920][ T925] usb 1-1: config 0 descriptor?? [ 622.296914][ T3903] raw-gadget.0 gadget.0: fail, usb_ep_enable returned -22 [ 623.197113][ T3908] UDPLite: UDP-Lite is deprecated and scheduled to be removed in 2025, please contact the netdev mailing list [ 625.615708][ T925] usbhid 1-1:0.0: can't add hid device: -71 [ 625.647521][ T925] usbhid 1-1:0.0: probe with driver usbhid failed with error -71 [ 625.996771][ T925] usb 1-1: USB disconnect, device number 2 [ 628.501426][ T3923] netlink: 8 bytes leftover after parsing attributes in process `syz.1.3'. [ 631.853263][ T3193] usb 2-1: new high-speed USB device number 2 using dummy_hcd [ 632.141835][ T3193] usb 2-1: Using ep0 maxpacket: 16 [ 632.264165][ T3193] usb 2-1: config 0 interface 0 altsetting 0 endpoint 0x81 has an invalid bInterval 0, changing to 7 [ 632.267121][ T3193] usb 2-1: New USB device found, idVendor=04d8, idProduct=00dd, bcdDevice= 0.00 [ 632.295480][ T3193] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 632.798167][ T3193] usb 2-1: config 0 descriptor?? [ 635.153789][ T3193] mcp2221 0003:04D8:00DD.0001: unknown main item tag 0x0 [ 635.182758][ T3193] mcp2221 0003:04D8:00DD.0001: unknown main item tag 0x0 [ 635.190714][ T3193] mcp2221 0003:04D8:00DD.0001: unknown main item tag 0x0 [ 635.193960][ T3193] mcp2221 0003:04D8:00DD.0001: unknown main item tag 0x0 [ 635.196573][ T3193] mcp2221 0003:04D8:00DD.0001: unknown main item tag 0x0 [ 635.362510][ T3193] mcp2221 0003:04D8:00DD.0001: USB HID v0.05 Device [HID 04d8:00dd] on usb-dummy_hcd.1-1/input0 [ 637.332529][ T3193] usb 2-1: USB disconnect, device number 2 [ 649.096584][ T3193] usb 2-1: new high-speed USB device number 3 using dummy_hcd [ 649.575523][ T3193] usb 2-1: New USB device found, idVendor=055f, idProduct=c420, bcdDevice=6a.33 [ 649.578341][ T3193] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 650.153687][ T3193] usb 2-1: config 0 descriptor?? [ 664.672328][ T3194] usb 2-1: USB disconnect, device number 3 [ 680.054917][ T4001] iommufd_mock iommufd_mock0: Adding to iommu group 0 [ 680.355648][ T4007] iommufd_mock iommufd_mock0: Adding to iommu group 0 [ 704.985629][ T3842] usb 2-1: new high-speed USB device number 4 using dummy_hcd [ 705.339007][ T3842] usb 2-1: Using ep0 maxpacket: 16 [ 705.572965][ T3842] usb 2-1: config 0 has an invalid descriptor of length 0, skipping remainder of the config [ 705.574587][ T3842] usb 2-1: config 0 interface 0 altsetting 0 endpoint 0x82 has an invalid bInterval 0, changing to 7 [ 705.576093][ T3842] usb 2-1: config 0 interface 0 altsetting 0 endpoint 0x2 has invalid wMaxPacketSize 0 [ 705.577348][ T3842] usb 2-1: config 0 interface 0 altsetting 0 bulk endpoint 0x2 has invalid maxpacket 0 [ 705.578735][ T3842] usb 2-1: config 0 interface 0 altsetting 0 has 2 endpoint descriptors, different from the interface descriptor's value: 3 [ 706.156665][ T3842] usb 2-1: New USB device found, idVendor=2040, idProduct=b138, bcdDevice= 1.42 [ 706.158333][ T3842] usb 2-1: New USB device strings: Mfr=4, Product=0, SerialNumber=0 [ 706.178880][ T3842] usb 2-1: Manufacturer: syz [ 706.306378][ T3842] usb 2-1: config 0 descriptor?? [ 712.463949][ T3842] usb 2-1: can't set config #0, error -110 [ 714.994878][ T3842] usb 2-1: USB disconnect, device number 4 [ 727.418680][ T4048] block device autoloading is deprecated and will be removed. [ 737.634911][ T4058] netlink: 248 bytes leftover after parsing attributes in process `syz.0.31'. [ 741.801077][ T3842] usb 2-1: new high-speed USB device number 5 using dummy_hcd [ 742.093372][ T3842] usb 2-1: Using ep0 maxpacket: 16 [ 742.290747][ T3842] usb 2-1: config 0 interface 0 altsetting 13 endpoint 0x81 has an invalid bInterval 0, changing to 7 [ 742.292532][ T3842] usb 2-1: config 0 interface 0 has no altsetting 0 [ 742.294052][ T3842] usb 2-1: New USB device found, idVendor=1b1c, idProduct=1b34, bcdDevice= 0.00 [ 742.295430][ T3842] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 742.635006][ T3842] usb 2-1: config 0 descriptor?? [ 745.834705][ T3842] usbhid 2-1:0.0: can't add hid device: -71 [ 745.897587][ T3842] usbhid 2-1:0.0: probe with driver usbhid failed with error -71 [ 746.615826][ T3842] usb 2-1: USB disconnect, device number 5 [ 782.421689][ T3913] usb 2-1: new high-speed USB device number 6 using dummy_hcd [ 782.841533][ T3913] usb 2-1: Using ep0 maxpacket: 16 [ 783.155225][ T3913] usb 2-1: config 0 interface 0 altsetting 13 endpoint 0x81 has an invalid bInterval 0, changing to 7 [ 783.157882][ T3913] usb 2-1: config 0 interface 0 has no altsetting 0 [ 783.186148][ T3913] usb 2-1: New USB device found, idVendor=1b1c, idProduct=1b34, bcdDevice= 0.00 [ 783.188567][ T3913] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 783.443288][ T3913] usb 2-1: config 0 descriptor?? [ 785.552739][ T3913] usbhid 2-1:0.0: can't add hid device: -71 [ 785.597947][ T3913] usbhid 2-1:0.0: probe with driver usbhid failed with error -71 [ 785.918470][ T3913] usb 2-1: USB disconnect, device number 6 [ 789.447813][ T4112] Illegal XDP return value 4294967274 on prog (id 5) dev syz_tun, expect packet loss! [ 793.975048][ T3194] usb 2-1: new high-speed USB device number 7 using dummy_hcd [ 794.885731][ T3194] usb 2-1: New USB device found, idVendor=0813, idProduct=0001, bcdDevice=3a.08 [ 794.887841][ T3194] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0 [ 795.134424][ T3194] usb 2-1: config 0 descriptor?? [ 796.155398][ T4123] dvmrp0: entered allmulticast mode [ 809.757557][ T3913] usb 2-1: USB disconnect, device number 7 [ 838.041269][ T3913] usb 2-1: new high-speed USB device number 8 using dummy_hcd [ 838.243906][ T3913] usb 2-1: Using ep0 maxpacket: 8 [ 838.295220][ T3913] usb 2-1: config 0 has an invalid interface number: 24 but max is 0 [ 838.297566][ T3913] usb 2-1: config 0 has no interface number 0 [ 838.302970][ T3913] usb 2-1: config 0 interface 24 altsetting 0 endpoint 0x1 has invalid maxpacket 511, setting to 64 [ 838.388590][ T3913] usb 2-1: New USB device found, idVendor=0424, idProduct=cf30, bcdDevice= c.8a [ 838.394444][ T3913] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 838.407890][ T3913] usb 2-1: Product: syz [ 838.418241][ T3913] usb 2-1: Manufacturer: syz [ 838.424942][ T3913] usb 2-1: SerialNumber: syz [ 838.617989][ T3913] usb 2-1: config 0 descriptor?? [ 839.872902][ T925] usb 2-1: USB disconnect, device number 8 [ 840.075261][ T925] ================================================================== [ 840.077314][ T925] BUG: KASAN: slab-use-after-free in hdm_disconnect+0x1fc/0x220 [ 840.079864][ T925] Read of size 8 at addr ffffaf8018c1d8a0 by task kworker/0:2/925 [ 840.081362][ T925] [ 840.083681][ T925] CPU: 0 UID: 0 PID: 925 Comm: kworker/0:2 Not tainted 6.16.0-rc1-syzkaller-gfda589c28604 #0 PREEMPT [ 840.084352][ T925] Hardware name: riscv-virtio,qemu (DT) [ 840.084882][ T925] Workqueue: usb_hub_wq hub_event [ 840.085539][ T925] Call Trace: [ 840.085830][ T925] [] dump_backtrace+0x2e/0x3c [ 840.086215][ T925] [] show_stack+0x30/0x3c [ 840.086534][ T925] [] dump_stack_lvl+0x12e/0x1a6 [ 840.086953][ T925] [] print_report+0x28e/0x5fe [ 840.087339][ T925] [] kasan_report+0xf0/0x214 [ 840.087680][ T925] [] __asan_report_load8_noabort+0x12/0x1a [ 840.088039][ T925] [] hdm_disconnect+0x1fc/0x220 [ 840.088324][ T925] [] usb_unbind_interface+0x1b4/0x86c [ 840.088709][ T925] [] device_remove+0x11a/0x15c [ 840.089101][ T925] [] device_release_driver_internal+0x3f0/0x572 [ 840.089595][ T925] [] device_release_driver+0x1e/0x28 [ 840.090083][ T925] [] bus_remove_device+0x1f4/0x3d2 [ 840.090549][ T925] [] device_del+0x324/0x898 [ 840.090852][ T925] [] usb_disable_device+0x2fa/0x6f8 [ 840.091214][ T925] [] usb_disconnect+0x28a/0x830 [ 840.091596][ T925] [] hub_event+0x1982/0x48de [ 840.092015][ T925] [] process_one_work+0x96a/0x1f32 [ 840.092488][ T925] [] worker_thread+0x5ce/0xde8 [ 840.092957][ T925] [] kthread+0x39c/0x7d4 [ 840.093386][ T925] [] ret_from_fork_kernel+0x2a/0xbb2 [ 840.093924][ T925] [] ret_from_fork_kernel_asm+0x16/0x18 [ 840.094893][ T925] [ 840.111241][ T925] Allocated by task 3913: [ 840.112446][ T925] stack_trace_save+0xa0/0xd2 [ 840.113907][ T925] kasan_save_stack+0x3e/0x6a [ 840.115068][ T925] kasan_save_track+0x16/0x28 [ 840.116284][ T925] kasan_save_alloc_info+0x30/0x3e [ 840.117642][ T925] __kasan_kmalloc+0xa0/0xa6 [ 840.118947][ T925] __kmalloc_cache_noprof+0x15a/0x3e8 [ 840.120411][ T925] hdm_probe+0xb2/0x17c4 [ 840.121474][ T925] usb_probe_interface+0x2d6/0x8c4 [ 840.122836][ T925] really_probe+0x232/0x9be [ 840.124283][ T925] __driver_probe_device+0x1d4/0x3f2 [ 840.125310][ T925] driver_probe_device+0x60/0x1ce [ 840.126285][ T925] __device_attach_driver+0x1e2/0x2fc [ 840.127226][ T925] bus_for_each_drv+0x142/0x1da [ 840.128181][ T925] __device_attach+0x1c4/0x462 [ 840.129008][ T925] device_initial_probe+0x1c/0x26 [ 840.129988][ T925] bus_probe_device+0x15c/0x192 [ 840.130934][ T925] device_add+0x10da/0x181c [ 840.131750][ T925] usb_set_configuration+0xf08/0x19dc [ 840.132539][ T925] usb_generic_driver_probe+0xae/0x128 [ 840.133348][ T925] usb_probe_device+0xd6/0x360 [ 840.134153][ T925] really_probe+0x232/0x9be [ 840.135003][ T925] __driver_probe_device+0x1d4/0x3f2 [ 840.135953][ T925] driver_probe_device+0x60/0x1ce [ 840.136824][ T925] __device_attach_driver+0x1e2/0x2fc [ 840.137802][ T925] bus_for_each_drv+0x142/0x1da [ 840.138655][ T925] __device_attach+0x1c4/0x462 [ 840.139690][ T925] device_initial_probe+0x1c/0x26 [ 840.140817][ T925] bus_probe_device+0x15c/0x192 [ 840.141750][ T925] device_add+0x10da/0x181c [ 840.142689][ T925] usb_new_device+0x964/0x1778 [ 840.143511][ T925] hub_event+0x2716/0x48de [ 840.144283][ T925] process_one_work+0x96a/0x1f32 [ 840.145291][ T925] worker_thread+0x5ce/0xde8 [ 840.146172][ T925] kthread+0x39c/0x7d4 [ 840.146920][ T925] ret_from_fork_kernel+0x2a/0xbb2 [ 840.147855][ T925] ret_from_fork_kernel_asm+0x16/0x18 [ 840.148913][ T925] [ 840.149546][ T925] Freed by task 925: [ 840.150260][ T925] stack_trace_save+0xa0/0xd2 [ 840.151201][ T925] kasan_save_stack+0x3e/0x6a [ 840.152189][ T925] kasan_save_track+0x16/0x28 [ 840.152979][ T925] kasan_save_free_info+0x40/0x5a [ 840.153885][ T925] __kasan_slab_free+0x4e/0x68 [ 840.154818][ T925] kfree+0x252/0x4da [ 840.155708][ T925] release_mdev+0x1e/0x28 [ 840.156505][ T925] device_release+0x90/0x21c [ 840.157310][ T925] kobject_put+0x238/0x4f0 [ 840.158193][ T925] device_unregister+0x3c/0xe0 [ 840.159011][ T925] most_deregister_interface+0x344/0x4be [ 840.160171][ T925] hdm_disconnect+0xee/0x220 [ 840.161069][ T925] usb_unbind_interface+0x1b4/0x86c [ 840.162052][ T925] device_remove+0x11a/0x15c [ 840.162948][ T925] device_release_driver_internal+0x3f0/0x572 [ 840.163967][ T925] device_release_driver+0x1e/0x28 [ 840.164896][ T925] bus_remove_device+0x1f4/0x3d2 [ 840.165843][ T925] device_del+0x324/0x898 [ 840.166740][ T925] usb_disable_device+0x2fa/0x6f8 [ 840.167776][ T925] usb_disconnect+0x28a/0x830 [ 840.168480][ T925] hub_event+0x1982/0x48de [ 840.169270][ T925] process_one_work+0x96a/0x1f32 [ 840.170156][ T925] worker_thread+0x5ce/0xde8 [ 840.171051][ T925] kthread+0x39c/0x7d4 [ 840.171843][ T925] ret_from_fork_kernel+0x2a/0xbb2 [ 840.172669][ T925] ret_from_fork_kernel_asm+0x16/0x18 [ 840.173594][ T925] [ 840.174142][ T925] The buggy address belongs to the object at ffffaf8018c1c000 [ 840.174142][ T925] which belongs to the cache kmalloc-8k of size 8192 [ 840.175439][ T925] The buggy address is located 6304 bytes inside of [ 840.175439][ T925] freed 8192-byte region [ffffaf8018c1c000, ffffaf8018c1e000) [ 840.176497][ T925] [ 840.177062][ T925] The buggy address belongs to the physical page: [ 840.178470][ T925] page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x98c18 [ 840.180245][ T925] head: order:3 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 [ 840.181319][ T925] flags: 0xffe000000000040(head|node=0|zone=0|lastcpupid=0x7ff) [ 840.182689][ T925] page_type: f5(slab) [ 840.184076][ T925] raw: 0ffe000000000040 ffffaf8011402280 dead000000000122 0000000000000000 [ 840.185059][ T925] raw: 0000000000000000 0000000080020002 00000000f5000000 0000000000000000 [ 840.186018][ T925] head: 0ffe000000000040 ffffaf8011402280 dead000000000122 0000000000000000 [ 840.186889][ T925] head: 0000000000000000 0000000080020002 00000000f5000000 0000000000000000 [ 840.187959][ T925] head: 0ffe000000000003 ffff8d8000630601 00000000ffffffff 00000000ffffffff [ 840.188799][ T925] head: ffffffffffffffff 0000000000000000 00000000ffffffff 0000000000000008 [ 840.189841][ T925] page dumped because: kasan: bad access detected [ 840.190966][ T925] page_owner tracks the page as allocated [ 840.191897][ T925] page last allocated via order 3, migratetype Unmovable, gfp_mask 0x528c0(GFP_NOWAIT|__GFP_IO|__GFP_FS|__GFP_NORETRY|__GFP_COMP), pid 3200, tgid 3200 (syz-executor), ts 561384557100, free_ts 560645973200 [ 840.193755][ T925] __set_page_owner+0x94/0x4a8 [ 840.194692][ T925] post_alloc_hook+0xdc/0x1ba [ 840.195614][ T925] get_page_from_freelist+0x880/0x3660 [ 840.196451][ T925] __alloc_frozen_pages_noprof+0x22e/0x2124 [ 840.197286][ T925] alloc_pages_mpol+0x1fa/0x5ba [ 840.198009][ T925] alloc_frozen_pages_noprof+0x174/0x2f0 [ 840.198749][ T925] new_slab+0x26e/0x34c [ 840.199619][ T925] ___slab_alloc+0xb64/0x1214 [ 840.200427][ T925] __slab_alloc.constprop.0+0x60/0xb0 [ 840.201315][ T925] __kvmalloc_node_noprof+0x1fe/0x6ac [ 840.202211][ T925] pfifo_fast_init+0x11e/0x37a [ 840.203074][ T925] qdisc_create_dflt+0x116/0x618 [ 840.204201][ T925] dev_activate+0x644/0x101c [ 840.205237][ T925] __dev_open+0x4f2/0x96e [ 840.206095][ T925] __dev_change_flags+0x4f8/0x6a4 [ 840.206967][ T925] netif_change_flags+0x74/0x136 [ 840.208026][ T925] page last free pid 3200 tgid 3200 stack trace: [ 840.208721][ T925] __reset_page_owner+0x78/0x1ba [ 840.209791][ T925] __free_frozen_pages+0x998/0x1580 [ 840.210729][ T925] free_frozen_pages+0xe/0x16 [ 840.211670][ T925] __free_slab+0xc6/0x17c [ 840.212536][ T925] free_slab+0x38/0x1ae [ 840.213412][ T925] __put_partials+0x178/0x1e6 [ 840.214289][ T925] put_cpu_partial+0x17c/0x296 [ 840.215242][ T925] __slab_free+0x1f6/0x34e [ 840.216202][ T925] ___cache_free+0x1a4/0x1de [ 840.217306][ T925] qlist_free_all+0x76/0x168 [ 840.218172][ T925] kasan_quarantine_reduce+0x158/0x1ba [ 840.219146][ T925] __kasan_slab_alloc+0x5c/0x82 [ 840.220107][ T925] __kmalloc_cache_noprof+0x106/0x3e8 [ 840.220978][ T925] ipv6_add_addr+0x4b6/0x1fe2 [ 840.221739][ T925] addrconf_add_linklocal+0x274/0x4aa [ 840.222743][ T925] addrconf_addr_gen+0x30c/0x350 [ 840.223817][ T925] [ 840.224284][ T925] Memory state around the buggy address: [ 840.225439][ T925] ffffaf8018c1d780: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 840.226397][ T925] ffffaf8018c1d800: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 840.227276][ T925] >ffffaf8018c1d880: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 840.228155][ T925] ^ [ 840.228934][ T925] ffffaf8018c1d900: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 840.229757][ T925] ffffaf8018c1d980: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb [ 840.230646][ T925] ================================================================== [ 840.254224][ T925] Kernel panic - not syncing: KASAN: panic_on_warn set ... [ 840.256057][ T925] CPU: 0 UID: 0 PID: 925 Comm: kworker/0:2 Not tainted 6.16.0-rc1-syzkaller-gfda589c28604 #0 PREEMPT [ 840.257181][ T925] Hardware name: riscv-virtio,qemu (DT) [ 840.257896][ T925] Workqueue: usb_hub_wq hub_event [ 840.258856][ T925] Call Trace: [ 840.259646][ T925] [] dump_backtrace+0x2e/0x3c [ 840.260590][ T925] [] show_stack+0x30/0x3c [ 840.261502][ T925] [] dump_stack_lvl+0x110/0x1a6 [ 840.262552][ T925] [] dump_stack+0x1c/0x24 [ 840.263582][ T925] [] panic+0x38c/0x86a [ 840.264473][ T925] [] check_panic_on_warn+0xc0/0xe4 [ 840.265509][ T925] [] end_report.part.0+0x4e/0xae [ 840.266528][ T925] [] kasan_report+0x13a/0x214 [ 840.267445][ T925] [] __asan_report_load8_noabort+0x12/0x1a [ 840.268402][ T925] [] hdm_disconnect+0x1fc/0x220 [ 840.269333][ T925] [] usb_unbind_interface+0x1b4/0x86c [ 840.270389][ T925] [] device_remove+0x11a/0x15c [ 840.271395][ T925] [] device_release_driver_internal+0x3f0/0x572 [ 840.272480][ T925] [] device_release_driver+0x1e/0x28 [ 840.273525][ T925] [] bus_remove_device+0x1f4/0x3d2 [ 840.274525][ T925] [] device_del+0x324/0x898 [ 840.275602][ T925] [] usb_disable_device+0x2fa/0x6f8 [ 840.276502][ T925] [] usb_disconnect+0x28a/0x830 [ 840.277249][ T925] [] hub_event+0x1982/0x48de [ 840.278004][ T925] [] process_one_work+0x96a/0x1f32 [ 840.278797][ T925] [] worker_thread+0x5ce/0xde8 [ 840.279689][ T925] [] kthread+0x39c/0x7d4 [ 840.280625][ T925] [] ret_from_fork_kernel+0x2a/0xbb2 [ 840.281529][ T925] [] ret_from_fork_kernel_asm+0x16/0x18 [ 840.282778][ T925] SMP: stopping secondary CPUs [ 840.285181][ T925] Rebooting in 86400 seconds.. VM DIAGNOSIS: 04:29:54 Registers: info registers vcpu 0 CPU#0 V = 0 pc ffffffff86346c40 mhartid 0000000000000000 mstatus 0000000a000000a0 hstatus 0000000200000000 vsstatus 0000000a00000000 mip 0000000000000222 mie 000000000000022a mideleg 0000000000001666 hideleg 0000000000000444 medeleg 0000000000f0b509 hedeleg 000000000000b109 mtvec 00000000800004f0 stvec ffffffff8634b694 vstvec 0000000000000000 mepc ffffffff81ec2770 sepc ffffffff86347012 vsepc 0000000000000000 mcause 8000000000000003 scause 8000000000000005 vscause 0000000000000000 mtval 0000000000000000 stval 0000000000000000 htval 0000000000000000 mtval2 0000000000000000 mscratch 000000008004a000 sscratch 0000000000000000 satp 90131000000af74e x0/zero 0000000000000000 x1/ra ffffffff81ec285a x2/sp ffff8f8002dc6a70 x3/gp ffffffff89c83ca0 x4/tp ffffaf801ad39a40 x5/t0 ffff8f8002dc69e1 x6/t1 0000000000000001 x7/t2 7320666f20646165 x8/s0 ffff8f8002dc6aa0 x9/s1 ffffffff9102ac80 x10/a0 ffffffff9102ac80 x11/a1 0000000000000000 x12/a2 0000000000100000 x13/a3 ffffffff81ec2850 x14/a4 ffff8f800dc08a48 x15/a5 000000000045fa48 x16/a6 0000000000000003 x17/a7 ffffffff882e8923 x18/s2 ffffffff81ec285a x19/s3 0000000200000020 x20/s4 0000000000000000 x21/s5 ffffffff90e45f60 x22/s6 ffff8f8002dc6d60 x23/s7 ffffffff88b02478 x24/s8 1ffffffff1160490 x25/s9 ffffffff88b02480 x26/s10 dfffffff00000000 x27/s11 ffff8f8002dc6dc0 x28/t3 ffff8f8002dc69e1 x29/t4 fffffffef105d124 x30/t5 fffffffef105d125 x31/t6 ffffffff90e45f77 fcsr 0000000000000000 f0/ft0 0000000000000000 f1/ft1 0000000000000000 f2/ft2 0000000000000000 f3/ft3 0000000000000000 f4/ft4 0000000000000000 f5/ft5 0000000000000000 f6/ft6 0000000000000000 f7/ft7 0000000000000000 f8/fs0 0000000000000000 f9/fs1 0000000000000000 f10/fa0 0000000000000000 f11/fa1 0000000000000000 f12/fa2 0000000000000000 f13/fa3 0000000000000000 f14/fa4 0000000000000000 f15/fa5 0000000000000000 f16/fa6 0000000000000000 f17/fa7 0000000000000000 f18/fs2 0000000000000000 f19/fs3 0000000000000000 f20/fs4 0000000000000000 f21/fs5 0000000000000000 f22/fs6 0000000000000000 f23/fs7 0000000000000000 f24/fs8 0000000000000000 f25/fs9 0000000000000000 f26/fs10 0000000000000000 f27/fs11 0000000000000000 f28/ft8 0000000000000000 f29/ft9 0000000000000000 f30/ft10 0000000000000000 f31/ft11 0000000000000000 info registers vcpu 1 CPU#1 V = 0 pc ffffffff804eb5ac mhartid 0000000000000001 mstatus 0000000a000000a0 hstatus 0000000200000000 vsstatus 0000000a00000000 mip 0000000000000000 mie 000000000000022a mideleg 0000000000001666 hideleg 0000000000000444 medeleg 0000000000f0b509 hedeleg 000000000000b109 mtvec 00000000800004f0 stvec ffffffff8634b694 vstvec 0000000000000000 mepc ffffffff8008eba2 sepc 00000000000fb3fa vsepc 0000000000000000 mcause 0000000000000009 scause 0000000000000008 vscause 0000000000000000 mtval 0000000000000000 stval 0000000000000000 htval 0000000000000000 mtval2 0000000000000000 mscratch 0000000080048000 sscratch 0000000000000000 satp 90133000000afd97 x0/zero 0000000000000000 x1/ra ffffffff81784ad4 x2/sp ffff8f800ce77990 x3/gp ffffffff89c83ca0 x4/tp ffffaf8014e80000 x5/t0 ffff8f800ce77c90 x6/t1 0000000000000001 x7/t2 ffffffff868068d0 x8/s0 ffff8f800ce779e0 x9/s1 ffffffff86b62420 x10/a0 0000000000000001 x11/a1 0000000000000000 x12/a2 0000000000000000 x13/a3 ffffffff81784ae0 x14/a4 0000000000000001 x15/a5 ffffaf8014e81000 x16/a6 0000000000000003 x17/a7 ffffffff8633106a x18/s2 ffffffff8665e748 x19/s3 0000000000000002 x20/s4 0000000000000001 x21/s5 0000000000002001 x22/s6 fffff1ef019cef8e x23/s7 0000000000001000 x24/s8 fffff1ef019cef8d x25/s9 0000000000001668 x26/s10 ffffffff86344df6 x27/s11 ffffaf8014e80000 x28/t3 773c793500000000 x29/t4 0000000000000000 x30/t5 0000000000000000 x31/t6 0000000000000002 fcsr 0000000000000000 f0/ft0 0000000000000000 f1/ft1 0000000000000000 f2/ft2 0000000000000000 f3/ft3 0000000000000000 f4/ft4 0000000000000000 f5/ft5 0000000000000000 f6/ft6 0000000000000000 f7/ft7 0000000000000000 f8/fs0 0000000000000000 f9/fs1 0000000000000000 f10/fa0 0000000000000000 f11/fa1 0000000000000000 f12/fa2 0000000000000000 f13/fa3 0000000000000000 f14/fa4 0000000000000000 f15/fa5 0000000000000000 f16/fa6 0000000000000000 f17/fa7 0000000000000000 f18/fs2 0000000000000000 f19/fs3 0000000000000000 f20/fs4 0000000000000000 f21/fs5 0000000000000000 f22/fs6 0000000000000000 f23/fs7 0000000000000000 f24/fs8 0000000000000000 f25/fs9 0000000000000000 f26/fs10 0000000000000000 f27/fs11 0000000000000000 f28/ft8 0000000000000000 f29/ft9 0000000000000000 f30/ft10 0000000000000000 f31/ft11 0000000000000000