------------[ cut here ]------------ kernel BUG at mm/page_table_check.c:157! Oops: invalid opcode: 0000 [#1] PREEMPT SMP KASAN PTI CPU: 1 UID: 0 PID: 6999 Comm: syz.1.309 Not tainted 6.12.0-rc5-syzkaller-00299-g11066801dd4b #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:__page_table_check_zero+0x274/0x350 mm/page_table_check.c:157 Code: c1 0f 8c 39 fe ff ff 48 89 df e8 97 2a f3 ff e9 2c fe ff ff e8 ad 8f 8c ff 90 0f 0b e8 a5 8f 8c ff 90 0f 0b e8 9d 8f 8c ff 90 <0f> 0b f3 0f 1e fa 4c 89 f6 48 81 e6 ff 0f 00 00 31 ff e8 65 94 8c RSP: 0018:ffffc9000ad6f6e0 EFLAGS: 00010293 RAX: ffffffff82084a23 RBX: dffffc0000000000 RCX: ffff88802fdcda00 RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff88801d1a404c RBP: ffff88801d1a404c R08: ffff88801d1a404f R09: 1ffff11003a34809 R10: dffffc0000000000 R11: ffffed1003a3480a R12: ffff88801d1a4000 R13: 1ffffffff3481db4 R14: 000000000000000a R15: 0000000000000000 FS: 00007f06f03bd6c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020000dc0 CR3: 0000000061064000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: page_table_check_free include/linux/page_table_check.h:41 [inline] free_pages_prepare mm/page_alloc.c:1109 [inline] __free_pages_ok+0xaa5/0xc70 mm/page_alloc.c:1250 dec_usb_memory_use_count+0x259/0x350 drivers/usb/core/devio.c:198 mmap_region+0x2073/0x2940 mm/mmap.c:1576 do_mmap+0x8f0/0x1000 mm/mmap.c:496 vm_mmap_pgoff+0x1dd/0x3d0 mm/util.c:588 ksys_mmap_pgoff+0x4eb/0x720 mm/mmap.c:542 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f06ef57e719 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:00007f06f03bd038 EFLAGS: 00000246 ORIG_RAX: 0000000000000009 RAX: ffffffffffffffda RBX: 00007f06ef736130 RCX: 00007f06ef57e719 RDX: 000000000000000f RSI: 0000000000400000 RDI: 0000000020000000 RBP: 00007f06ef5f132e R08: 0000000000000006 R09: 0000000000000000 R10: 0000000000011012 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f06ef736130 R15: 00007ffc81c32e08 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__page_table_check_zero+0x274/0x350 mm/page_table_check.c:157 Code: c1 0f 8c 39 fe ff ff 48 89 df e8 97 2a f3 ff e9 2c fe ff ff e8 ad 8f 8c ff 90 0f 0b e8 a5 8f 8c ff 90 0f 0b e8 9d 8f 8c ff 90 <0f> 0b f3 0f 1e fa 4c 89 f6 48 81 e6 ff 0f 00 00 31 ff e8 65 94 8c RSP: 0018:ffffc9000ad6f6e0 EFLAGS: 00010293 RAX: ffffffff82084a23 RBX: dffffc0000000000 RCX: ffff88802fdcda00 RDX: 0000000000000000 RSI: 0000000000000004 RDI: ffff88801d1a404c RBP: ffff88801d1a404c R08: ffff88801d1a404f R09: 1ffff11003a34809 R10: dffffc0000000000 R11: ffffed1003a3480a R12: ffff88801d1a4000 R13: 1ffffffff3481db4 R14: 000000000000000a R15: 0000000000000000 FS: 00007f06f03bd6c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f90d9c61000 CR3: 0000000061064000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400