Oops: general protection fault, probably for non-canonical address 0xdffffc0000000003: 0000 [#1] PREEMPT SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000018-0x000000000000001f] CPU: 3 UID: 0 PID: 6071 Comm: syz.2.227 Not tainted 6.11.0-rc1-syzkaller-00154-gc0ecd6388360 #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:__lock_acquire+0xe1/0x3cb0 kernel/locking/lockdep.c:5007 Code: d0 7c 08 84 d2 0f 85 78 14 00 00 8b 0d a0 c0 aa 0e 85 c9 0f 84 dd 0d 00 00 48 b8 00 00 00 00 00 fc ff df 4c 89 e2 48 c1 ea 03 <80> 3c 02 00 0f 85 e4 2c 00 00 49 8b 04 24 48 3d a0 01 26 93 0f 84 RSP: 0018:ffffc9000328f398 EFLAGS: 00010006 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000001 RDX: 0000000000000003 RSI: 1ffff92000651e85 RDI: 0000000000000018 RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000 R10: ffffffff9012b4df R11: 0000000000000000 R12: 0000000000000018 R13: 0000000000000000 R14: 0000000000000000 R15: ffff888022fe4880 FS: 0000000000000000(0000) GS:ffff88806b300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555945f5808 CR3: 000000002081e000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire kernel/locking/lockdep.c:5759 [inline] lock_acquire+0x1b1/0x560 kernel/locking/lockdep.c:5724 __raw_spin_lock include/linux/spinlock_api_smp.h:133 [inline] _raw_spin_lock+0x2e/0x40 kernel/locking/spinlock.c:154 spin_lock include/linux/spinlock.h:351 [inline] __pte_offset_map_lock+0xf1/0x300 mm/pgtable-generic.c:375 pte_offset_map_lock include/linux/mm.h:2985 [inline] zap_pte_range mm/memory.c:1597 [inline] zap_pmd_range mm/memory.c:1736 [inline] zap_pud_range mm/memory.c:1765 [inline] zap_p4d_range mm/memory.c:1786 [inline] unmap_page_range+0x7e5/0x3c10 mm/memory.c:1807 unmap_single_vma+0x194/0x2b0 mm/memory.c:1853 unmap_vmas+0x22f/0x490 mm/memory.c:1897 exit_mmap+0x1b8/0xb20 mm/mmap.c:3412 __mmput+0x12a/0x480 kernel/fork.c:1345 mmput+0x62/0x70 kernel/fork.c:1367 exit_mm kernel/exit.c:571 [inline] do_exit+0x9bf/0x2bb0 kernel/exit.c:869 do_group_exit+0xd3/0x2a0 kernel/exit.c:1031 get_signal+0x25fd/0x2770 kernel/signal.c:2917 arch_do_signal_or_restart+0x90/0x7e0 arch/x86/kernel/signal.c:310 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x150/0x2a0 kernel/entry/common.c:218 do_syscall_64+0xda/0x250 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fc3843773b9 Code: Unable to access opcode bytes at 0x7fc38437738f. RSP: 002b:00007fc3852170f8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007fc384505f88 RCX: 00007fc3843773b9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007fc384505f88 RBP: 00007fc384505f80 R08: 00007fc3852176c0 R09: 00007fc3852176c0 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fc384505f8c R13: 000000000000000b R14: 00007ffed5290f30 R15: 00007ffed5291018 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__lock_acquire+0xe1/0x3cb0 kernel/locking/lockdep.c:5007 Code: d0 7c 08 84 d2 0f 85 78 14 00 00 8b 0d a0 c0 aa 0e 85 c9 0f 84 dd 0d 00 00 48 b8 00 00 00 00 00 fc ff df 4c 89 e2 48 c1 ea 03 <80> 3c 02 00 0f 85 e4 2c 00 00 49 8b 04 24 48 3d a0 01 26 93 0f 84 RSP: 0018:ffffc9000328f398 EFLAGS: 00010006 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000001 RDX: 0000000000000003 RSI: 1ffff92000651e85 RDI: 0000000000000018 RBP: 0000000000000001 R08: 0000000000000001 R09: 0000000000000000 R10: ffffffff9012b4df R11: 0000000000000000 R12: 0000000000000018 R13: 0000000000000000 R14: 0000000000000000 R15: ffff888022fe4880 FS: 0000000000000000(0000) GS:ffff88806b300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555945f5808 CR3: 000000002081e000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: d0 7c 08 84 sarb -0x7c(%rax,%rcx,1) 4: d2 0f rorb %cl,(%rdi) 6: 85 78 14 test %edi,0x14(%rax) 9: 00 00 add %al,(%rax) b: 8b 0d a0 c0 aa 0e mov 0xeaac0a0(%rip),%ecx # 0xeaac0b1 11: 85 c9 test %ecx,%ecx 13: 0f 84 dd 0d 00 00 je 0xdf6 19: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 20: fc ff df 23: 4c 89 e2 mov %r12,%rdx 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2e: 0f 85 e4 2c 00 00 jne 0x2d18 34: 49 8b 04 24 mov (%r12),%rax 38: 48 3d a0 01 26 93 cmp $0xffffffff932601a0,%rax 3e: 0f .byte 0xf 3f: 84 .byte 0x84