vhci_hcd vhci_hcd.0: pdev(0) rhport(1) sockfd(5) vhci_hcd vhci_hcd.0: devid(0) speed(1) speed_str(low-speed) ------------[ cut here ]------------ kernel BUG at drivers/usb/usbip/vhci_sysfs.c:396! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 13140 Comm: syz-executor.0 Not tainted 5.11.0-rc6-next-20210205-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:attach_store.cold+0x376/0x396 syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/drivers/usb/usbip/vhci_sysfs.c:396 Code: e8 47 0d d0 f8 48 8b 5d 70 48 c7 c7 00 f0 ff ff 48 89 de e8 b4 50 8c f8 48 81 fb 00 f0 ff ff 0f 87 56 ff ff ff e8 b2 48 8c f8 <0f> 0b e8 ab 48 8c f8 8b b4 24 90 00 00 00 48 89 ef e8 5c ff b3 fc RSP: 0018:ffffc90015ae7b58 EFLAGS: 00010212 RAX: 0000000000013bc8 RBX: ffff888061920000 RCX: ffffc90001d51000 RDX: 0000000000040000 RSI: ffffffff88e6a42e RDI: 0000000000000003 RBP: ffff8881448085d0 R08: fffffffffffff000 R09: ffff88802d10fca7 R10: ffffffff88e6a41c R11: 000000000000003f R12: fffffffffffffffc R13: ffff888144808640 R14: ffff8881448085e8 R15: ffff888064729a40 FS: 00007fc76e319700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fcf31bee010 CR3: 00000000306a5000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: dev_attr_store+0x50/0x80 syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/drivers/base/core.c:1936 sysfs_kf_write+0x110/0x160 syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/fs/sysfs/file.c:139 kernfs_fop_write_iter+0x342/0x500 syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/fs/kernfs/file.c:296 call_write_iter syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/./include/linux/fs.h:1977 [inline] new_sync_write+0x426/0x650 syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/fs/read_write.c:519 vfs_write+0x791/0xa30 syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/fs/read_write.c:606 ksys_write+0x12d/0x250 syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/fs/read_write.c:659 do_syscall_64+0x2d/0x70 syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/arch/x86/entry/common.c:46 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x418cef Code: 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 99 fd ff ff 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 31 44 89 c7 48 89 44 24 08 e8 cc fd ff ff 48 RSP: 002b:00007fc76e318b90 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000007 RCX: 0000000000418cef RDX: 0000000000000007 RSI: 00007fc76e318be0 RDI: 0000000000000007 RBP: 0000000000000007 R08: 0000000000000000 R09: 00007fc76e318b30 R10: 0000000000000000 R11: 0000000000000293 R12: 00000000004bf850 R13: 00007fc76e318be0 R14: 0000000000000000 R15: 0000000000022000 Modules linked in: ---[ end trace 1677774acd1d7fec ]--- RIP: 0010:attach_store.cold+0x376/0x396 syzkaller/managers/upstream-linux-next-kasan-gce-root/kernel/drivers/usb/usbip/vhci_sysfs.c:396 Code: e8 47 0d d0 f8 48 8b 5d 70 48 c7 c7 00 f0 ff ff 48 89 de e8 b4 50 8c f8 48 81 fb 00 f0 ff ff 0f 87 56 ff ff ff e8 b2 48 8c f8 <0f> 0b e8 ab 48 8c f8 8b b4 24 90 00 00 00 48 89 ef e8 5c ff b3 fc RSP: 0018:ffffc90015ae7b58 EFLAGS: 00010212 RAX: 0000000000013bc8 RBX: ffff888061920000 RCX: ffffc90001d51000 RDX: 0000000000040000 RSI: ffffffff88e6a42e RDI: 0000000000000003 RBP: ffff8881448085d0 R08: fffffffffffff000 R09: ffff88802d10fca7 R10: ffffffff88e6a41c R11: 000000000000003f R12: fffffffffffffffc R13: ffff888144808640 R14: ffff8881448085e8 R15: ffff888064729a40 FS: 00007fc76e319700(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fcf31bf7000 CR3: 00000000306a5000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400