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: 1 PID: 8288 Comm: syz-executor.3 Not tainted 6.9.0-syzkaller-10323-g8f6a15f095a6 #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 88 ee 3a 0e 00 0f 84 1c 11 00 00 83 3d 6f 8a ad 0c 00 74 2c 4c 89 e0 48 c1 e8 03 <80> 3c 30 00 74 12 4c 89 e7 e8 28 8d 89 00 48 be 00 00 00 00 00 fc RSP: 0018:ffffc90002df6f90 EFLAGS: 00010016 RAX: 0000000000000003 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: dffffc0000000000 RDI: 0000000000000018 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: dffffc0000000000 R11: fffffbfff1f5a716 R12: 0000000000000018 R13: 0000000000000000 R14: ffff88807a2a1e00 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020001a38 CR3: 0000000011684000 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:375 pte_offset_map_lock include/linux/mm.h:3020 [inline] zap_pte_range mm/memory.c:1591 [inline] zap_pmd_range mm/memory.c:1730 [inline] zap_pud_range mm/memory.c:1759 [inline] zap_p4d_range mm/memory.c:1780 [inline] unmap_page_range+0xa54/0x4d00 mm/memory.c:1801 unmap_vmas+0x3cc/0x5f0 mm/memory.c:1891 exit_mmap+0x264/0xc80 mm/mmap.c:3312 __mmput+0x115/0x3c0 kernel/fork.c:1346 exit_mm+0x220/0x310 kernel/exit.c:568 do_exit+0x99e/0x27e0 kernel/exit.c:864 do_group_exit+0x207/0x2c0 kernel/exit.c:1026 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:0x7f4087a7cee9 Code: Unable to access opcode bytes at 0x7f4087a7cebf. RSP: 002b:00007f408884c178 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007f4087babf88 RCX: 00007f4087a7cee9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007f4087babf88 RBP: 00007f4087babf80 R08: 00007f408884c6c0 R09: 00007f408884c6c0 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f4087babf8c R13: 000000000000000b R14: 00007ffe497c1020 R15: 00007ffe497c1108 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 88 ee 3a 0e 00 0f 84 1c 11 00 00 83 3d 6f 8a ad 0c 00 74 2c 4c 89 e0 48 c1 e8 03 <80> 3c 30 00 74 12 4c 89 e7 e8 28 8d 89 00 48 be 00 00 00 00 00 fc RSP: 0018:ffffc90002df6f90 EFLAGS: 00010016 RAX: 0000000000000003 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: dffffc0000000000 RDI: 0000000000000018 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: dffffc0000000000 R11: fffffbfff1f5a716 R12: 0000000000000018 R13: 0000000000000000 R14: ffff88807a2a1e00 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020001a38 CR3: 0000000011684000 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 88 ee 3a 0e 00 cmpl $0x0,0xe3aee88(%rip) # 0xe3aee9c 14: 0f 84 1c 11 00 00 je 0x1136 1a: 83 3d 6f 8a ad 0c 00 cmpl $0x0,0xcad8a6f(%rip) # 0xcad8a90 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 28 8d 89 00 call 0x898d60 38: 48 rex.W 39: be 00 00 00 00 mov $0x0,%esi 3e: 00 fc add %bh,%ah