------------[ cut here ]------------
kernel BUG at mm/memory.c:4062!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 297 Comm: syz-executor227 Not tainted 6.1.128-syzkaller-00010-g27895588a299 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
RIP: 0010:do_swap_page+0x17cd/0x1ea0 mm/memory.c:4062
Code: 48 8b 74 24 10 48 8d 94 24 20 01 00 00 48 8b 4c 24 20 4c 8b 44 24 50 e8 61 6f 32 02 eb 24 e8 1a 56 c4 ff 0f 0b e8 13 56 c4 ff <0f> 0b e8 0c 56 c4 ff e9 4b f7 ff ff e8 02 56 c4 ff eb 38 e8 fb 55
RSP: 0018:ffffc90000df7780 EFLAGS: 00010293
RAX: ffffffff81b13ecd RBX: 0000000000020000 RCX: ffff8881108c0000
RDX: 0000000000000000 RSI: 0000000000020000 RDI: 0000000000000000
RBP: ffffc90000df7910 R08: ffffffff81b13212 R09: fffff9400092e4c9
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc90000df7a80
R13: dffffc0000000000 R14: ffffea0004972640 R15: 50000000000a0415
FS: 000055557e531380(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fa59060f0d0 CR3: 00000001242e1000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
handle_pte_fault mm/memory.c:5161 [inline]
__handle_mm_fault mm/memory.c:5299 [inline]
handle_mm_fault+0x1b32/0x30e0 mm/memory.c:5439
faultin_page mm/gup.c:1009 [inline]
__get_user_pages+0x377/0xf20 mm/gup.c:1233
populate_vma_page_range mm/gup.c:1590 [inline]
__mm_populate+0x375/0x570 mm/gup.c:1704
do_mlock+0x57a/0x680 mm/mlock.c:611
__do_sys_mlock mm/mlock.c:619 [inline]
__se_sys_mlock mm/mlock.c:617 [inline]
__x64_sys_mlock+0x60/0x70 mm/mlock.c:617
x64_sys_call+0x434/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:150
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fa59059e769
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fffaef45d08 EFLAGS: 00000246 ORIG_RAX: 0000000000000095
RAX: ffffffffffffffda RBX: 0000400000000000 RCX: 00007fa59059e769
RDX: 00007fa59059e769 RSI: 0000000000800000 RDI: 0000400000000000
RBP: 00007fa5905e0162 R08: 0000000000000140 R09: 0000000000000140
R10: 0000000000000140 R11: 0000000000000246 R12: 00007fa5905e5c7c
R13: 00007fa5905e00ca R14: 0000000000000001 R15: 0000000000000001
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:do_swap_page+0x17cd/0x1ea0 mm/memory.c:4062
Code: 48 8b 74 24 10 48 8d 94 24 20 01 00 00 48 8b 4c 24 20 4c 8b 44 24 50 e8 61 6f 32 02 eb 24 e8 1a 56 c4 ff 0f 0b e8 13 56 c4 ff <0f> 0b e8 0c 56 c4 ff e9 4b f7 ff ff e8 02 56 c4 ff eb 38 e8 fb 55
RSP: 0018:ffffc90000df7780 EFLAGS: 00010293
RAX: ffffffff81b13ecd RBX: 0000000000020000 RCX: ffff8881108c0000
RDX: 0000000000000000 RSI: 0000000000020000 RDI: 0000000000000000
RBP: ffffc90000df7910 R08: ffffffff81b13212 R09: fffff9400092e4c9
R10: 0000000000000000 R11: dffffc0000000001 R12: ffffc90000df7a80
R13: dffffc0000000000 R14: ffffea0004972640 R15: 50000000000a0415
FS: 000055557e531380(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fa59060f0d0 CR3: 00000001242e1000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400