binder: 9092:9094 ioctl c0306201 20001480 returned -14 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 9094 at include/linux/mmap_lock.h:71 mmap_assert_write_locked include/linux/mmap_lock.h:71 [inline] WARNING: CPU: 0 PID: 9094 at include/linux/mmap_lock.h:71 __is_vma_write_locked include/linux/mm.h:671 [inline] WARNING: CPU: 0 PID: 9094 at include/linux/mmap_lock.h:71 vma_start_write include/linux/mm.h:685 [inline] WARNING: CPU: 0 PID: 9094 at include/linux/mmap_lock.h:71 vm_flags_set include/linux/mm.h:782 [inline] WARNING: CPU: 0 PID: 9094 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: 9094 Comm: syz-executor.0 Not tainted 6.4.0-rc2-next-20230515-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023 RIP: 0010:mmap_assert_write_locked include/linux/mmap_lock.h:71 [inline] RIP: 0010:__is_vma_write_locked include/linux/mm.h:671 [inline] RIP: 0010:vma_start_write include/linux/mm.h:685 [inline] RIP: 0010:vm_flags_set include/linux/mm.h:782 [inline] RIP: 0010:track_pfn_remap+0x3f4/0x4c0 arch/x86/mm/pat/memtype.c:1002 Code: a3 49 00 49 8d bc 24 68 01 00 00 31 f6 e8 b4 42 d6 08 31 ff 89 c3 89 c6 e8 a9 9f 49 00 85 db 0f 85 31 fe ff ff e8 7c a3 49 00 <0f> 0b e9 25 fe ff ff e8 70 a3 49 00 4c 89 e7 e8 38 5c 85 00 0f 0b RSP: 0018:ffffc900073ff590 EFLAGS: 00010212 RAX: 0000000000004d8b RBX: 0000000000000000 RCX: ffffc90003c21000 RDX: 0000000000040000 RSI: ffffffff813a8034 RDI: 0000000000000005 RBP: ffff888079af7800 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: ffff888079183f00 R13: 0000000000000000 R14: ffff888079af7810 R15: 0000000000001000 FS: 00007f7b0b667700(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000203bd030 CR3: 00000000763d6000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: vm_insert_page+0x4a8/0x840 mm/memory.c:2019 binder_update_page_range+0x2f7/0x1680 drivers/android/binder_alloc.c:260 binder_alloc_new_buf_locked drivers/android/binder_alloc.c:488 [inline] binder_alloc_new_buf+0xc40/0x1c00 drivers/android/binder_alloc.c:572 binder_transaction+0x2523/0x9920 drivers/android/binder.c:3226 binder_thread_write drivers/android/binder.c:4010 [inline] binder_ioctl_write_read drivers/android/binder.c:5066 [inline] binder_ioctl+0x336f/0x93a0 drivers/android/binder.c:5352 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:0x7f7b0a88c169 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f7b0b667168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f7b0a9abf80 RCX: 00007f7b0a88c169 RDX: 0000000020000100 RSI: 00000000c0306201 RDI: 0000000000000004 RBP: 00007f7b0a8e7ca1 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fff1764053f R14: 00007f7b0b667300 R15: 0000000000022000