kasan_slab_alloc include/linux/kasan.h:252 [inline] slab_post_alloc_hook mm/slub.c:4970 [inline] slab_alloc_node mm/slub.c:5280 [inline] __kmalloc_cache_noprof+0x36f/0x6f0 mm/slub.c:5758 kmalloc_noprof include/linux/slab.h:957 [inline] usb_control_msg+0x73/0x3e0 drivers/usb/core/message.c:144 get_port_status drivers/usb/core/hub.c:611 [inline] hub_ext_port_status+0x116/0x820 drivers/usb/core/hub.c:628 usb_hub_port_status drivers/usb/core/hub.c:678 [inline] port_event drivers/usb/core/hub.c:5760 [inline] hub_event+0x770/0x4a20 drivers/usb/core/hub.c:5952 process_one_work kernel/workqueue.c:3263 [inline] process_scheduled_works+0xae1/0x17b0 kernel/workqueue.c:3346 worker_thread+0x8a0/0xda0 kernel/workqueue.c:3427 kthread+0x711/0x8a0 kernel/kthread.c:463 ret_from_fork+0x4bc/0x870 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 ------------[ cut here ]------------ kernel BUG at mm/filemap.c:871! Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI CPU: 1 UID: 0 PID: 7161 Comm: syz.0.281 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025 RIP: 0010:__filemap_add_folio+0x11ad/0x12f0 mm/filemap.c:870 Code: 14 c8 ff 4c 89 e7 48 c7 c6 60 63 74 8b e8 8b fc 2f ff 90 0f 0b e8 d3 14 c8 ff 4c 89 e7 48 c7 c6 40 5a 74 8b e8 74 fc 2f ff 90 <0f> 0b e8 bc 14 c8 ff 4c 89 e7 48 c7 c6 60 63 74 8b e8 5d fc 2f ff RSP: 0018:ffffc90003adf220 EFLAGS: 00010246 RAX: afd5c7880d734000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000007 RSI: ffffffff8d70cf9a RDI: 00000000ffffffff RBP: ffffc90003adf388 R08: ffffffff8f7cd877 R09: 1ffffffff1ef9b0e R10: dffffc0000000000 R11: fffffbfff1ef9b0f R12: ffffea0001f070c0 R13: dffffc0000000000 R14: ffffea0001f070c8 R15: 0000000000000002 FS: 00007f04b41ad6c0(0000) GS:ffff88812623e000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000020000001e000 CR3: 0000000063400000 CR4: 0000000000350ef0 Call Trace: filemap_add_folio+0x26d/0x540 mm/filemap.c:978 ra_alloc_folio mm/readahead.c:453 [inline] page_cache_ra_order+0x6bc/0xe70 mm/readahead.c:512 do_sync_mmap_readahead+0x25e/0x7a0 mm/filemap.c:-1 filemap_fault+0x6b9/0x12b0 mm/filemap.c:3489 __do_fault+0x138/0x390 mm/memory.c:5280 do_shared_fault mm/memory.c:5762 [inline] do_fault mm/memory.c:5836 [inline] do_pte_missing mm/memory.c:4361 [inline] handle_pte_fault mm/memory.c:6177 [inline] __handle_mm_fault+0x1847/0x5400 mm/memory.c:6318 handle_mm_fault+0x40a/0x8e0 mm/memory.c:6487 do_user_addr_fault+0x764/0x1380 arch/x86/mm/fault.c:1387 handle_page_fault arch/x86/mm/fault.c:1476 [inline] exc_page_fault+0x82/0x100 arch/x86/mm/fault.c:1532 asm_exc_page_fault+0x26/0x30 arch/x86/include/asm/idtentry.h:618 RIP: 0010:copy_user_generic arch/x86/include/asm/uaccess_64.h:126 [inline] RIP: 0010:raw_copy_to_user arch/x86/include/asm/uaccess_64.h:147 [inline] RIP: 0010:_inline_copy_to_user include/linux/uaccess.h:197 [inline] RIP: 0010:_copy_to_user+0x85/0xb0 lib/usercopy.c:26 Code: e8 b0 82 36 fd 4d 39 fc 72 3d 4d 39 ec 77 38 e8 41 80 36 fd 4c 89 f7 89 de e8 c7 37 9c fd 0f 01 cb 4c 89 ff 48 89 d9 4c 89 f6 a4 0f 1f 00 48 89 cb 0f 01 ca 48 89 d8 5b 41 5c 41 5d 41 5e 41 RSP: 0018:ffffc90003adfb90 EFLAGS: 00050256 RAX: ffffffff84898601 RBX: 0000000000000008 RCX: 0000000000000008 RDX: 0000000000000000 RSI: ffffc90003adfc20 RDI: 0000200000020698 RBP: ffffc90003adfc90 R08: ffffc90003adfc27 R09: 1ffff9200075bf84 R10: dffffc0000000000 R11: fffff5200075bf85 R12: 00002000000206a0 R13: 00007ffffffff000 R14: ffffc90003adfc20 R15: 0000200000020698 copy_to_user include/linux/uaccess.h:225 [inline] msr_read+0x177/0x250 arch/x86/kernel/msr.c:69 vfs_read+0x200/0xa30 fs/read_write.c:570 ksys_read+0x145/0x250 fs/read_write.c:715 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xfa/0xfa0 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f04b338efc9 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 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f04b41ad038 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffda RBX: 00007f04b35e5fa0 RCX: 00007f04b338efc9 RDX: 0000000000018ff8 RSI: 0000200000019680 RDI: 0000000000000005 RBP: 00007f04b3411f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f04b35e6038 R14: 00007f04b35e5fa0 R15: 00007fff602237e8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__filemap_add_folio+0x11ad/0x12f0 mm/filemap.c:870 Code: 14 c8 ff 4c 89 e7 48 c7 c6 60 63 74 8b e8 8b fc 2f ff 90 0f 0b e8 d3 14 c8 ff 4c 89 e7 48 c7 c6 40 5a 74 8b e8 74 fc 2f ff 90 <0f> 0b e8 bc 14 c8 ff 4c 89 e7 48 c7 c6 60 63 74 8b e8 5d fc 2f ff RSP: 0018:ffffc90003adf220 EFLAGS: 00010246 RAX: afd5c7880d734000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000007 RSI: ffffffff8d70cf9a RDI: 00000000ffffffff RBP: ffffc90003adf388 R08: ffffffff8f7cd877 R09: 1ffffffff1ef9b0e R10: dffffc0000000000 R11: fffffbfff1ef9b0f R12: ffffea0001f070c0 R13: dffffc0000000000 R14: ffffea0001f070c8 R15: 0000000000000002 FS: 00007f04b41ad6c0(0000) GS:ffff88812623e000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000020000001e000 CR3: 0000000063400000 CR4: 0000000000350ef0 ---------------- Code disassembly (best guess): 0: e8 b0 82 36 fd call 0xfd3682b5 5: 4d 39 fc cmp %r15,%r12 8: 72 3d jb 0x47 a: 4d 39 ec cmp %r13,%r12 d: 77 38 ja 0x47 f: e8 41 80 36 fd call 0xfd368055 14: 4c 89 f7 mov %r14,%rdi 17: 89 de mov %ebx,%esi 19: e8 c7 37 9c fd call 0xfd9c37e5 1e: 0f 01 cb stac 21: 4c 89 ff mov %r15,%rdi 24: 48 89 d9 mov %rbx,%rcx 27: 4c 89 f6 mov %r14,%rsi * 2a: f3 a4 rep movsb %ds:(%rsi),%es:(%rdi) <-- trapping instruction 2c: 0f 1f 00 nopl (%rax) 2f: 48 89 cb mov %rcx,%rbx 32: 0f 01 ca clac 35: 48 89 d8 mov %rbx,%rax 38: 5b pop %rbx 39: 41 5c pop %r12 3b: 41 5d pop %r13 3d: 41 5e pop %r14 3f: 41 rex.B