general protection fault, probably for non-canonical address 0xdffffc0000000025: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000128-0x000000000000012f] CPU: 1 PID: 15396 Comm: syz-executor.2 Not tainted 6.0.0-rc3-syzkaller-00107-g42e66b1cc3a0 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014 RIP: 0010:__lock_acquire+0xd83/0x56d0 kernel/locking/lockdep.c:4923 Code: 9b 0e 41 bf 01 00 00 00 0f 86 c8 00 00 00 89 05 23 ec 9b 0e e9 bd 00 00 00 48 b8 00 00 00 00 00 fc ff df 4c 89 f2 48 c1 ea 03 <80> 3c 02 00 0f 85 4e 31 00 00 49 81 3e 60 34 51 8f 0f 84 4c f3 ff RSP: 0018:ffffc900051d7268 EFLAGS: 00010002 RAX: dffffc0000000000 RBX: 1ffff92000a3ae7c RCX: 0000000000000001 RDX: 0000000000000025 RSI: 0000000000000000 RDI: 0000000000000001 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: fffffbfff1bbbf12 R11: 0000000000000000 R12: 0000000000000000 R13: ffff88801dd5e040 R14: 0000000000000128 R15: 0000000000000001 FS: 00007f3275734700(0000) GS:ffff88802c900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fbb0dba0000 CR3: 00000000784ab000 CR4: 0000000000150ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire kernel/locking/lockdep.c:5666 [inline] lock_acquire+0x1ab/0x570 kernel/locking/lockdep.c:5631 down_read+0x98/0x450 kernel/locking/rwsem.c:1499 mmap_read_lock include/linux/mmap_lock.h:117 [inline] binder_alloc_new_buf_locked drivers/android/binder_alloc.c:405 [inline] binder_alloc_new_buf+0xa5/0x19e0 drivers/android/binder_alloc.c:593 binder_transaction+0x242e/0x9a80 drivers/android/binder.c:3187 binder_thread_write+0x664/0x3220 drivers/android/binder.c:3974 binder_ioctl_write_read drivers/android/binder.c:5024 [inline] binder_ioctl+0x3470/0x6d00 drivers/android/binder.c:5311 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+0x193/0x200 fs/ioctl.c:856 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x63/0xcd RIP: 0033:0x7f3274689279 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:00007f3275734168 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 00007f327479bf80 RCX: 00007f3274689279 RDX: 00000000200007c0 RSI: 00000000c0306201 RDI: 0000000000000004 RBP: 00007f32746e32e9 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007ffcc3b316ef R14: 00007f3275734300 R15: 0000000000022000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__lock_acquire+0xd83/0x56d0 kernel/locking/lockdep.c:4923 Code: 9b 0e 41 bf 01 00 00 00 0f 86 c8 00 00 00 89 05 23 ec 9b 0e e9 bd 00 00 00 48 b8 00 00 00 00 00 fc ff df 4c 89 f2 48 c1 ea 03 <80> 3c 02 00 0f 85 4e 31 00 00 49 81 3e 60 34 51 8f 0f 84 4c f3 ff RSP: 0018:ffffc900051d7268 EFLAGS: 00010002 RAX: dffffc0000000000 RBX: 1ffff92000a3ae7c RCX: 0000000000000001 RDX: 0000000000000025 RSI: 0000000000000000 RDI: 0000000000000001 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: fffffbfff1bbbf12 R11: 0000000000000000 R12: 0000000000000000 R13: ffff88801dd5e040 R14: 0000000000000128 R15: 0000000000000001 FS: 00007f3275734700(0000) GS:ffff88802c900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fbb0dba0000 CR3: 00000000784ab000 CR4: 0000000000150ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 2 bytes skipped: 0: 41 bf 01 00 00 00 mov $0x1,%r15d 6: 0f 86 c8 00 00 00 jbe 0xd4 c: 89 05 23 ec 9b 0e mov %eax,0xe9bec23(%rip) # 0xe9bec35 12: e9 bd 00 00 00 jmpq 0xd4 17: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 1e: fc ff df 21: 4c 89 f2 mov %r14,%rdx 24: 48 c1 ea 03 shr $0x3,%rdx * 28: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2c: 0f 85 4e 31 00 00 jne 0x3180 32: 49 81 3e 60 34 51 8f cmpq $0xffffffff8f513460,(%r14) 39: 0f .byte 0xf 3a: 84 4c f3 ff test %cl,-0x1(%rbx,%rsi,8)