general protection fault, probably for non-canonical address 0xdffffc0000000025: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000128-0x000000000000012f] CPU: 0 PID: 9352 Comm: syz-executor.0 Not tainted 6.0.0-rc3-syzkaller-00107-g42e66b1cc3a0 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/22/2022 RIP: 0010:__lock_acquire+0x6b/0x1f60 kernel/locking/lockdep.c:4923 Code: ff df 8a 04 10 84 c0 0f 85 62 16 00 00 83 3d 7f 51 bc 0c 00 0f 84 13 15 00 00 83 3d 7e 93 55 0b 00 74 2c 4c 89 e8 48 c1 e8 03 <80> 3c 10 00 74 12 4c 89 ef e8 a7 f3 73 00 48 ba 00 00 00 00 00 fc RSP: 0018:ffffc90003ffefa8 EFLAGS: 00010002 RAX: 0000000000000025 RBX: 0000000000000000 RCX: 0000000000000001 RDX: dffffc0000000000 RSI: 0000000000000000 RDI: 0000000000000128 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: fffffbfff1c4ae26 R11: 1ffffffff1c4ae25 R12: 0000000000000001 R13: 0000000000000128 R14: 0000000000000000 R15: 0000000000000001 FS: 00007f69fc0ac700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff67e36bc18 CR3: 000000001cbb6000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1a7/0x400 kernel/locking/lockdep.c:5666 down_read+0x39/0x50 kernel/locking/rwsem.c:1499 mmap_read_lock include/linux/mmap_lock.h:117 [inline] binder_alloc_new_buf_locked+0x9d/0x15f0 drivers/android/binder_alloc.c:405 binder_alloc_new_buf+0x42/0x60 drivers/android/binder_alloc.c:593 binder_transaction+0x284b/0x72e0 drivers/android/binder.c:3187 binder_ioctl_write_read+0xd9a/0x8e50 drivers/android/binder.c:5024 binder_ioctl+0x385/0x18c0 drivers/android/binder.c:5311 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:870 [inline] __se_sys_ioctl+0xfb/0x170 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x2b/0x70 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f69fae89279 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 b8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f69fc0ac168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f69faf9c050 RCX: 00007f69fae89279 RDX: 00000000200007c0 RSI: 00000000c0306201 RDI: 0000000000000004 RBP: 00007f69faee32e9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffe17231a0f R14: 00007f69fc0ac300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__lock_acquire+0x6b/0x1f60 kernel/locking/lockdep.c:4923 Code: ff df 8a 04 10 84 c0 0f 85 62 16 00 00 83 3d 7f 51 bc 0c 00 0f 84 13 15 00 00 83 3d 7e 93 55 0b 00 74 2c 4c 89 e8 48 c1 e8 03 <80> 3c 10 00 74 12 4c 89 ef e8 a7 f3 73 00 48 ba 00 00 00 00 00 fc RSP: 0018:ffffc90003ffefa8 EFLAGS: 00010002 RAX: 0000000000000025 RBX: 0000000000000000 RCX: 0000000000000001 RDX: dffffc0000000000 RSI: 0000000000000000 RDI: 0000000000000128 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: fffffbfff1c4ae26 R11: 1ffffffff1c4ae25 R12: 0000000000000001 R13: 0000000000000128 R14: 0000000000000000 R15: 0000000000000001 FS: 00007f69fc0ac700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ff67e36bc18 CR3: 000000001cbb6000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: df 8a 04 10 84 c0 fisttps -0x3f7beffc(%rdx) 6: 0f 85 62 16 00 00 jne 0x166e c: 83 3d 7f 51 bc 0c 00 cmpl $0x0,0xcbc517f(%rip) # 0xcbc5192 13: 0f 84 13 15 00 00 je 0x152c 19: 83 3d 7e 93 55 0b 00 cmpl $0x0,0xb55937e(%rip) # 0xb55939e 20: 74 2c je 0x4e 22: 4c 89 e8 mov %r13,%rax 25: 48 c1 e8 03 shr $0x3,%rax * 29: 80 3c 10 00 cmpb $0x0,(%rax,%rdx,1) <-- trapping instruction 2d: 74 12 je 0x41 2f: 4c 89 ef mov %r13,%rdi 32: e8 a7 f3 73 00 callq 0x73f3de 37: 48 rex.W 38: ba 00 00 00 00 mov $0x0,%edx 3d: 00 fc add %bh,%ah