vma ffff888020cf1300 start 0000000020734000 end 0000000020737000 mm ffff88801c85df00
prot 25 anon_vma 0000000000000000 vm_ops 0000000000000000
pgoff 20734 file 0000000000000000 private_data 0000000000000000
flags: 0x28100077(read|write|exec|mayread|maywrite|mayexec|account|softdirty|hugepage)
------------[ cut here ]------------
kernel BUG at include/linux/mm.h:733!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 19284 Comm: syz-executor.2 Not tainted 6.6.0-rc1-syzkaller-00115-g9fdfb15a3dbf #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023
RIP: 0010:vma_assert_write_locked include/linux/mm.h:733 [inline]
RIP: 0010:vma_assert_write_locked include/linux/mm.h:729 [inline]
RIP: 0010:vma_replace_policy+0x406/0x4e0 mm/mempolicy.c:783
Code: ff 48 89 ef e8 db 78 ff ff e9 83 fe ff ff e8 01 79 ad ff 4c 89 e7 e8 d9 87 eb ff 0f 0b e8 f2 78 ad ff 48 89 df e8 2a 85 eb ff <0f> 0b e8 e3 78 ad ff 41 89 ec e9 58 fe ff ff 48 c7 c7 18 5b ce 8e
RSP: 0018:ffffc90000bafc58 EFLAGS: 00010282
RAX: 0000000000000125 RBX: ffff888020cf1300 RCX: ffffc90004213000
RDX: 0000000000000000 RSI: ffffffff816b8a32 RDI: 0000000000000005
RBP: ffff888014a77750 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000080000000 R11: fffffffffffd2400 R12: 000000000000000a
R13: 000000000000000b R14: 0000000000000001 R15: 0000000020737000
FS:  00007fb23c37c6c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000002044f000 CR3: 000000006a67f000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 mbind_range+0x37c/0x530 mm/mempolicy.c:855
 do_mbind+0x583/0xa00 mm/mempolicy.c:1345
 kernel_mbind+0x1d4/0x1f0 mm/mempolicy.c:1502
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x38/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7fb23b67cae9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 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 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fb23c37c0c8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ed
RAX: ffffffffffffffda RBX: 00007fb23b79bf80 RCX: 00007fb23b67cae9
RDX: 0000000000000001 RSI: 0000000000c00000 RDI: 0000000020400000
RBP: 00007fb23b6c847a R08: 0000000000000000 R09: 0000000000000003
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 000000000000000b R14: 00007fb23b79bf80 R15: 00007fb23b8bfa48
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:vma_assert_write_locked include/linux/mm.h:733 [inline]
RIP: 0010:vma_assert_write_locked include/linux/mm.h:729 [inline]
RIP: 0010:vma_replace_policy+0x406/0x4e0 mm/mempolicy.c:783
Code: ff 48 89 ef e8 db 78 ff ff e9 83 fe ff ff e8 01 79 ad ff 4c 89 e7 e8 d9 87 eb ff 0f 0b e8 f2 78 ad ff 48 89 df e8 2a 85 eb ff <0f> 0b e8 e3 78 ad ff 41 89 ec e9 58 fe ff ff 48 c7 c7 18 5b ce 8e
RSP: 0018:ffffc90000bafc58 EFLAGS: 00010282
RAX: 0000000000000125 RBX: ffff888020cf1300 RCX: ffffc90004213000
RDX: 0000000000000000 RSI: ffffffff816b8a32 RDI: 0000000000000005
RBP: ffff888014a77750 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000080000000 R11: fffffffffffd2400 R12: 000000000000000a
R13: 000000000000000b R14: 0000000000000001 R15: 0000000020737000
FS:  00007fb23c37c6c0(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000002044f000 CR3: 000000006a67f000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400