------------[ cut here ]------------ kernel BUG at drivers/usb/usbip/vhci_sysfs.c:395! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 10169 Comm: syz-executor.1 Not tainted 5.11.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:attach_store.cold+0x288/0x334 drivers/usb/usbip/vhci_sysfs.c:395 Code: ea 03 48 c1 e0 2a 80 3c 02 00 74 08 4c 89 ef e8 19 bd d6 f8 4c 8b 6d 70 4d 85 ed 75 53 e8 db 34 94 f8 48 89 ef e8 68 02 00 00 <0f> 0b 89 14 24 e8 59 bd d6 f8 8b 14 24 e9 05 fe ff ff 89 0c 24 e8 RSP: 0018:ffffc9000acafb58 EFLAGS: 00010282 RAX: 0000000000000080 RBX: 1ffff92001595f6f RCX: 0000000000000000 RDX: ffff88802d6ba300 RSI: ffffffff815b7455 RDI: fffff52001595f50 RBP: ffff888144d785c8 R08: 0000000000000080 R09: 0000000000000000 R10: ffffffff815b05fe R11: 0000000000000000 R12: fffffffffffffffc R13: ffff88801c13c100 R14: ffff888144d785e0 R15: ffff888038fab540 FS: 00007f1b78357700(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa045509000 CR3: 000000002d709000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: dev_attr_store+0x50/0x80 drivers/base/core.c:1861 sysfs_kf_write+0x110/0x160 fs/sysfs/file.c:139 kernfs_fop_write_iter+0x342/0x500 fs/kernfs/file.c:296 call_write_iter include/linux/fs.h:1901 [inline] new_sync_write+0x426/0x650 fs/read_write.c:518 vfs_write+0x791/0xa30 fs/read_write.c:605 ksys_write+0x12d/0x250 fs/read_write.c:658 do_syscall_64+0x2d/0x70 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:00007f1b78356b90 EFLAGS: 00000293 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000008 RCX: 0000000000418cef RDX: 0000000000000008 RSI: 00007f1b78356be0 RDI: 0000000000000005 RBP: 0000000000000005 R08: 0000000000000000 R09: 00007f1b78356b30 R10: 0000000000000000 R11: 0000000000000293 R12: 00000000004bf688 R13: 00007f1b78356be0 R14: 0000000000000000 R15: 0000000000022000 Modules linked in: ---[ end trace 8787c553ddc5124c ]--- RIP: 0010:attach_store.cold+0x288/0x334 drivers/usb/usbip/vhci_sysfs.c:395 Code: ea 03 48 c1 e0 2a 80 3c 02 00 74 08 4c 89 ef e8 19 bd d6 f8 4c 8b 6d 70 4d 85 ed 75 53 e8 db 34 94 f8 48 89 ef e8 68 02 00 00 <0f> 0b 89 14 24 e8 59 bd d6 f8 8b 14 24 e9 05 fe ff ff 89 0c 24 e8 RSP: 0018:ffffc9000acafb58 EFLAGS: 00010282 RAX: 0000000000000080 RBX: 1ffff92001595f6f RCX: 0000000000000000 RDX: ffff88802d6ba300 RSI: ffffffff815b7455 RDI: fffff52001595f50 RBP: ffff888144d785c8 R08: 0000000000000080 R09: 0000000000000000 R10: ffffffff815b05fe R11: 0000000000000000 R12: fffffffffffffffc R13: ffff88801c13c100 R14: ffff888144d785e0 R15: ffff888038fab540 FS: 00007f1b78357700(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa045513010 CR3: 000000002d709000 CR4: 00000000001506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400