usb usb9: usbfs: process 31508 (syz-executor.4) did not claim interface 0 before use kvm [31504]: vcpu0, guest rIP: 0x14c Hyper-V uhandled wrmsr: 0x40000049 data 0xfffe netlink: 72 bytes leftover after parsing attributes in process `syz-executor.1'. ================================================================== BUG: KASAN: slab-out-of-bounds in memcpy include/linux/string.h:377 [inline] BUG: KASAN: slab-out-of-bounds in usb_hcd_poll_rh_status+0x387/0x6f0 drivers/usb/core/hcd.c:771 Write of size 2 at addr ffff8880a5802080 by task syz-executor.0/31510 bond0: option fail_over_mac: unable to set because the bond device has slaves CPU: 0 PID: 31510 Comm: syz-executor.0 Not tainted 4.19.187-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2ef lib/dump_stack.c:118 print_address_description.cold+0x54/0x219 mm/kasan/report.c:256 kasan_report_error.cold+0x8a/0x1b9 mm/kasan/report.c:354 kasan_report+0x8f/0xa0 mm/kasan/report.c:412 memcpy+0x35/0x50 mm/kasan/kasan.c:303 memcpy include/linux/string.h:377 [inline] usb_hcd_poll_rh_status+0x387/0x6f0 drivers/usb/core/hcd.c:771 call_timer_fn+0x177/0x700 kernel/time/timer.c:1338 expire_timers+0x243/0x4e0 kernel/time/timer.c:1375 __run_timers kernel/time/timer.c:1696 [inline] run_timer_softirq+0x21c/0x670 kernel/time/timer.c:1709 kvm [31504]: vcpu0, guest rIP: 0x14c Hyper-V uhandled wrmsr: 0x4000008a data 0xffae __do_softirq+0x265/0x980 kernel/softirq.c:292 invoke_softirq kernel/softirq.c:372 [inline] irq_exit+0x215/0x260 kernel/softirq.c:412 exiting_irq arch/x86/include/asm/apic.h:535 [inline] smp_apic_timer_interrupt+0x136/0x550 arch/x86/kernel/apic/apic.c:1098 apic_timer_interrupt+0xf/0x20 arch/x86/entry/entry_64.S:894 RIP: 0010:check_memory_region+0xb0/0x170 mm/kasan/kasan.c:268 Code: c0 08 48 39 d0 74 7b 48 83 38 00 74 f1 48 8d 50 08 eb 09 48 83 c0 01 48 39 d0 74 0e 80 38 00 74 f2 48 85 c0 0f 85 9c 00 00 00 <5b> 5d 41 5c c3 48 85 d2 74 f6 48 01 ea eb 09 48 83 c0 01 48 39 d0 RSP: 0018:ffff888040adf668 EFLAGS: 00000246 ORIG_RAX: ffffffffffffff13 RAX: fffff94000201887 RBX: fffff94000201887 RCX: ffffffff81815920 RDX: fffff94000201887 RSI: 0000000000000004 RDI: ffffea000100c434 RBP: fffff94000201886 R08: 0000000000000001 R09: fffff94000201886 R10: ffffea000100c437 R11: 0000000000000000 R12: ffffea000100c434 R13: ffffea000100c400 R14: 0000000000000015 R15: dffffc0000000000 atomic_dec_and_test include/asm-generic/atomic-instrumented.h:259 [inline] page_ref_dec_and_test include/linux/page_ref.h:139 [inline] put_page_testzero include/linux/mm.h:520 [inline] release_pages+0x1d0/0x15a0 mm/swap.c:760 tlb_flush_mmu_free mm/memory.c:261 [inline] zap_pte_range mm/memory.c:1417 [inline] zap_pmd_range mm/memory.c:1452 [inline] zap_pud_range mm/memory.c:1481 [inline] zap_p4d_range mm/memory.c:1502 [inline] unmap_page_range+0x207f/0x2a70 mm/memory.c:1523 unmap_single_vma+0x198/0x300 mm/memory.c:1568 unmap_vmas+0xa9/0x180 mm/memory.c:1598 exit_mmap+0x2b9/0x530 mm/mmap.c:3093 __mmput kernel/fork.c:1015 [inline] mmput+0x14e/0x4a0 kernel/fork.c:1036 exit_mm kernel/exit.c:549 [inline] do_exit+0xaec/0x2be0 kernel/exit.c:857 do_group_exit+0x125/0x310 kernel/exit.c:967 get_signal+0x3f2/0x1f70 kernel/signal.c:2589 do_signal+0x8f/0x1670 arch/x86/kernel/signal.c:799 netlink: 64 bytes leftover after parsing attributes in process `syz-executor.1'. exit_to_usermode_loop+0x204/0x2a0 arch/x86/entry/common.c:163 prepare_exit_to_usermode arch/x86/entry/common.c:198 [inline] syscall_return_slowpath arch/x86/entry/common.c:271 [inline] do_syscall_64+0x538/0x620 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x466459 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f758293c218 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 000000000056bf68 RCX: 0000000000466459 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 000000000056bf68 RBP: 000000000056bf60 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000056bf6c R13: 00007ffc20a31d9f R14: 00007f758293c300 R15: 0000000000022000 Allocated by task 31508: __do_kmalloc mm/slab.c:3727 [inline] __kmalloc+0x15a/0x3c0 mm/slab.c:3736 kmalloc include/linux/slab.h:520 [inline] proc_do_submiturb+0x2d08/0x3af0 drivers/usb/core/devio.c:1668 proc_submiturb drivers/usb/core/devio.c:1822 [inline] usbdev_do_ioctl+0x773/0x3030 drivers/usb/core/devio.c:2476 usbdev_ioctl+0x21/0x30 drivers/usb/core/devio.c:2580 vfs_ioctl fs/ioctl.c:46 [inline] file_ioctl fs/ioctl.c:501 [inline] do_vfs_ioctl+0xcdb/0x12e0 fs/ioctl.c:688 ksys_ioctl+0x9b/0xc0 fs/ioctl.c:705 __do_sys_ioctl fs/ioctl.c:712 [inline] __se_sys_ioctl fs/ioctl.c:710 [inline] __x64_sys_ioctl+0x6f/0xb0 fs/ioctl.c:710 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe Freed by task 9: __cache_free mm/slab.c:3503 [inline] kfree+0xcc/0x210 mm/slab.c:3822 security_sk_free+0x3e/0x70 security/security.c:1474 sk_prot_free net/core/sock.c:1499 [inline] __sk_destruct+0x51d/0x8a0 net/core/sock.c:1584 sk_destruct net/core/sock.c:1599 [inline] __sk_free+0x165/0x3b0 net/core/sock.c:1610 sk_free+0x3b/0x50 net/core/sock.c:1621 deferred_put_nlk_sk+0x10d/0x280 net/netlink/af_netlink.c:743 __rcu_reclaim kernel/rcu/rcu.h:236 [inline] rcu_do_batch kernel/rcu/tree.c:2584 [inline] invoke_rcu_callbacks kernel/rcu/tree.c:2897 [inline] __rcu_process_callbacks kernel/rcu/tree.c:2864 [inline] rcu_process_callbacks+0x8ff/0x18b0 kernel/rcu/tree.c:2881 __do_softirq+0x265/0x980 kernel/softirq.c:292 The buggy address belongs to the object at ffff8880a5802080 which belongs to the cache kmalloc-32 of size 32 The buggy address is located 0 bytes inside of 32-byte region [ffff8880a5802080, ffff8880a58020a0) The buggy address belongs to the page: page:ffffea0002960080 count:1 mapcount:0 mapping:ffff88813bff01c0 index:0xffff8880a5802fc1 flags: 0xfff00000000100(slab) raw: 00fff00000000100 ffffea00027f0808 ffffea0002bd6f48 ffff88813bff01c0 raw: ffff8880a5802fc1 ffff8880a5802000 000000010000002e 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff8880a5801f80: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff8880a5802000: 06 fc fc fc fc fc fc fc 00 fc fc fc fc fc fc fc >ffff8880a5802080: 01 fc fc fc fc fc fc fc 00 01 fc fc fc fc fc fc ^ ffff8880a5802100: 02 fc fc fc fc fc fc fc fb fb fb fb fc fc fc fc ffff8880a5802180: 05 fc fc fc fc fc fc fc 00 01 fc fc fc fc fc fc ==================================================================