binder: 5004:5004 ioctl c0306201 20001480 returned -14 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 5004 at include/linux/mmap_lock.h:71 mmap_assert_write_locked include/linux/mmap_lock.h:71 [inline] WARNING: CPU: 0 PID: 5004 at include/linux/mmap_lock.h:71 __is_vma_write_locked include/linux/mm.h:708 [inline] WARNING: CPU: 0 PID: 5004 at include/linux/mmap_lock.h:71 vma_start_write include/linux/mm.h:722 [inline] WARNING: CPU: 0 PID: 5004 at include/linux/mmap_lock.h:71 vm_flags_set include/linux/mm.h:819 [inline] WARNING: CPU: 0 PID: 5004 at include/linux/mmap_lock.h:71 track_pfn_remap+0x3f4/0x4c0 arch/x86/mm/pat/memtype.c:1002 Modules linked in: CPU: 0 PID: 5004 Comm: syz-executor151 Not tainted 6.3.0-next-20230428-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 RIP: 0010:mmap_assert_write_locked include/linux/mmap_lock.h:71 [inline] RIP: 0010:__is_vma_write_locked include/linux/mm.h:708 [inline] RIP: 0010:vma_start_write include/linux/mm.h:722 [inline] RIP: 0010:vm_flags_set include/linux/mm.h:819 [inline] RIP: 0010:track_pfn_remap+0x3f4/0x4c0 arch/x86/mm/pat/memtype.c:1002 Code: 9c 49 00 49 8d bc 24 68 01 00 00 31 f6 e8 e4 38 d4 08 31 ff 89 c3 89 c6 e8 a9 98 49 00 85 db 0f 85 31 fe ff ff e8 7c 9c 49 00 <0f> 0b e9 25 fe ff ff e8 70 9c 49 00 4c 89 e7 e8 68 0d 85 00 0f 0b RSP: 0018:ffffc90003b7f590 EFLAGS: 00010293 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff88802597bb80 RSI: ffffffff813ab144 RDI: 0000000000000005 RBP: ffff88802a296500 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 000000000000000b R12: ffff88807de14800 R13: 0000000000000000 R14: ffff88802a296510 R15: 0000000000001000 FS: 0000555555981300(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000000749ae000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: vm_insert_page+0x4a8/0x840 mm/memory.c:2020 binder_update_page_range+0x2f7/0x1680 drivers/android/binder_alloc.c:260 binder_alloc_new_buf_locked drivers/android/binder_alloc.c:487 [inline] binder_alloc_new_buf+0xd83/0x1d80 drivers/android/binder_alloc.c:571 binder_transaction+0x242e/0x9800 drivers/android/binder.c:3207 binder_thread_write drivers/android/binder.c:3991 [inline] binder_ioctl_write_read drivers/android/binder.c:5047 [inline] binder_ioctl+0x336f/0x9390 drivers/android/binder.c:5333 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl fs/ioctl.c:856 [inline] __x64_sys_ioctl+0x197/0x210 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7fc185f2d3c9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 11 15 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 c0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffdbd426028 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007fc185f2d3c9 RDX: 0000000020000100 RSI: 00000000c0306201 RDI: 0000000000000004 RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000006 R11: 0000000000000246 R12: 00007ffdbd426070 R13: 00007ffdbd426060 R14: 00007ffdbd426050 R15: 0000000000000000