ldusb 1-1:0.124: Read buffer overflow, -131383997872441 bytes dropped usercopy: Kernel memory exposure attempt detected from SLUB object 'kmalloc-2k' (offset 8, size 49593)! ------------[ cut here ]------------ kernel BUG at mm/usercopy.c:98! invalid opcode: 0000 [#1] SMP KASAN CPU: 1 PID: 5172 Comm: syz-executor.3 Not tainted 5.3.0-rc5+ #28 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:usercopy_abort+0xb9/0xbb mm/usercopy.c:98 Code: e8 42 f4 d6 ff 49 89 d9 4d 89 e8 4c 89 e1 41 56 48 89 ee 48 c7 c7 20 f6 cd 85 ff 74 24 08 41 57 48 8b 54 24 20 e8 86 95 c1 ff <0f> 0b e8 16 f4 d6 ff e8 b1 98 fd ff 8b 54 24 04 49 89 d8 4c 89 e1 RSP: 0018:ffff8881c9ec7c38 EFLAGS: 00010286 RAX: 0000000000000067 RBX: ffffffff86a673b4 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff81288cfd RDI: ffffed10393d8f79 RBP: ffffffff85cdf500 R08: 0000000000000067 R09: fffffbfff11ad7a6 R10: fffffbfff11ad7a5 R11: ffffffff88d6bd2f R12: ffffffff86a6b0c8 R13: ffffffff85cdf3c0 R14: 000000000000c1b9 R15: ffffffff85cdf380 FS: 00007fc0b0cd1700(0000) GS:ffff8881db300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000be0b38 CR3: 00000001d9450000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: __check_heap_object+0xdd/0x110 mm/slub.c:3918 check_heap_object mm/usercopy.c:234 [inline] __check_object_size mm/usercopy.c:280 [inline] __check_object_size+0x327/0x39a mm/usercopy.c:250 check_object_size include/linux/thread_info.h:119 [inline] check_copy_size include/linux/thread_info.h:150 [inline] copy_to_user include/linux/uaccess.h:151 [inline] ld_usb_read+0x304/0x780 drivers/usb/misc/ldusb.c:495 __vfs_read+0x76/0x100 fs/read_write.c:425 vfs_read+0x1ea/0x430 fs/read_write.c:461 ksys_read+0x1e8/0x250 fs/read_write.c:587 do_syscall_64+0xb7/0x580 arch/x86/entry/common.c:296 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x459879 Code: fd b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 cb b7 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fc0b0cd0c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000459879 RDX: 000000000000c1b9 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fc0b0cd16d4 R13: 00000000004c6cc6 R14: 00000000004dc010 R15: 00000000ffffffff Modules linked in: ---[ end trace 52ed57379c3414ea ]--- RIP: 0010:usercopy_abort+0xb9/0xbb mm/usercopy.c:98 Code: e8 42 f4 d6 ff 49 89 d9 4d 89 e8 4c 89 e1 41 56 48 89 ee 48 c7 c7 20 f6 cd 85 ff 74 24 08 41 57 48 8b 54 24 20 e8 86 95 c1 ff <0f> 0b e8 16 f4 d6 ff e8 b1 98 fd ff 8b 54 24 04 49 89 d8 4c 89 e1 RSP: 0018:ffff8881c9ec7c38 EFLAGS: 00010286 RAX: 0000000000000067 RBX: ffffffff86a673b4 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff81288cfd RDI: ffffed10393d8f79 RBP: ffffffff85cdf500 R08: 0000000000000067 R09: fffffbfff11ad7a6 R10: fffffbfff11ad7a5 R11: ffffffff88d6bd2f R12: ffffffff86a6b0c8 R13: ffffffff85cdf3c0 R14: 000000000000c1b9 R15: ffffffff85cdf380 FS: 00007fc0b0cd1700(0000) GS:ffff8881db300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000be0b38 CR3: 00000001d9450000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400