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: 0 PID: 18694 Comm: syz-executor.5 Not tainted 6.9.0-syzkaller-05151-g1b294a1f3561 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:__lock_acquire+0x6a/0x1fd0 kernel/locking/lockdep.c:5005 Code: df 0f b6 04 30 84 c0 0f 85 4b 16 00 00 83 3d 18 fe 39 0e 00 0f 84 1c 11 00 00 83 3d cf 58 ad 0c 00 74 2c 4c 89 e0 48 c1 e8 03 <80> 3c 30 00 74 12 4c 89 e7 e8 78 9f 88 00 48 be 00 00 00 00 00 fc RSP: 0018:ffffc90008f4efb0 EFLAGS: 00010016 RAX: 0000000000000003 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: dffffc0000000000 RDI: 0000000000000018 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: dffffc0000000000 R11: fffffbfff1f593a6 R12: 0000000000000018 R13: 0000000000000000 R14: ffff888064c98000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2c627000 CR3: 000000005d1b4000 CR4: 0000000000350ef0 Call Trace: lock_acquire+0x1ed/0x550 kernel/locking/lockdep.c:5754 __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+0x1ba/0x300 mm/pgtable-generic.c:373 pte_offset_map_lock include/linux/mm.h:2980 [inline] zap_pte_range mm/memory.c:1584 [inline] zap_pmd_range mm/memory.c:1722 [inline] zap_pud_range mm/memory.c:1751 [inline] zap_p4d_range mm/memory.c:1772 [inline] unmap_page_range+0xa12/0x4870 mm/memory.c:1793 unmap_vmas+0x3cc/0x5f0 mm/memory.c:1883 exit_mmap+0x2cb/0xd60 mm/mmap.c:3269 __mmput+0x115/0x3c0 kernel/fork.c:1346 exit_mm+0x220/0x310 kernel/exit.c:569 do_exit+0x99e/0x27e0 kernel/exit.c:865 do_group_exit+0x207/0x2c0 kernel/exit.c:1027 get_signal+0x16a1/0x1740 kernel/signal.c:2911 arch_do_signal_or_restart+0x96/0x860 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+0xc9/0x370 kernel/entry/common.c:218 do_syscall_64+0x102/0x240 arch/x86/entry/common.c:89 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fb007c7cee9 Code: Unable to access opcode bytes at 0x7fb007c7cebf. RSP: 002b:00007fb00896c178 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007fb007dabf88 RCX: 00007fb007c7cee9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007fb007dabf88 RBP: 00007fb007dabf80 R08: 00007fb00896c6c0 R09: 00007fb00896c6c0 R10: 0000000000000000 R11: 0000000000000246 R12: 00007fb007dabf8c R13: 000000000000000b R14: 00007ffc7d4401d0 R15: 00007ffc7d4402b8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__lock_acquire+0x6a/0x1fd0 kernel/locking/lockdep.c:5005 Code: df 0f b6 04 30 84 c0 0f 85 4b 16 00 00 83 3d 18 fe 39 0e 00 0f 84 1c 11 00 00 83 3d cf 58 ad 0c 00 74 2c 4c 89 e0 48 c1 e8 03 <80> 3c 30 00 74 12 4c 89 e7 e8 78 9f 88 00 48 be 00 00 00 00 00 fc RSP: 0018:ffffc90008f4efb0 EFLAGS: 00010016 RAX: 0000000000000003 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: dffffc0000000000 RDI: 0000000000000018 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: dffffc0000000000 R11: fffffbfff1f593a6 R12: 0000000000000018 R13: 0000000000000000 R14: ffff888064c98000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9400000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2c627000 CR3: 000000005d1b4000 CR4: 0000000000350ef0 ---------------- Code disassembly (best guess): 0: df 0f fisttps (%rdi) 2: b6 04 mov $0x4,%dh 4: 30 84 c0 0f 85 4b 16 xor %al,0x164b850f(%rax,%rax,8) b: 00 00 add %al,(%rax) d: 83 3d 18 fe 39 0e 00 cmpl $0x0,0xe39fe18(%rip) # 0xe39fe2c 14: 0f 84 1c 11 00 00 je 0x1136 1a: 83 3d cf 58 ad 0c 00 cmpl $0x0,0xcad58cf(%rip) # 0xcad58f0 21: 74 2c je 0x4f 23: 4c 89 e0 mov %r12,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 80 3c 30 00 cmpb $0x0,(%rax,%rsi,1) <-- trapping instruction 2e: 74 12 je 0x42 30: 4c 89 e7 mov %r12,%rdi 33: e8 78 9f 88 00 call 0x889fb0 38: 48 rex.W 39: be 00 00 00 00 mov $0x0,%esi 3e: 00 fc add %bh,%ah