general protection fault, probably for non-canonical address 0xdffffc000000000a: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000050-0x0000000000000057] CPU: 1 PID: 29212 Comm: syz-executor.2 Not tainted 6.6.0-syzkaller-14500-g1c41041124bd #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023 RIP: 0010:__lock_acquire+0x10d/0x7f70 kernel/locking/lockdep.c:5004 Code: 85 75 18 00 00 83 3d ed 49 93 0d 00 48 89 9c 24 10 01 00 00 0f 84 f8 0f 00 00 83 3d bc 50 12 0c 00 74 34 48 89 d0 48 c1 e8 03 <42> 80 3c 00 00 74 1a 48 89 d7 e8 04 8a 7d 00 48 8b 94 24 80 00 00 RSP: 0018:ffffc9000d3669a0 EFLAGS: 00010006 RAX: 000000000000000a RBX: 1ffff92001a6cd58 RCX: 0000000000000002 RDX: 0000000000000050 RSI: 0000000000000000 RDI: 0000000000000050 RBP: ffffc9000d366c68 R08: dffffc0000000000 R09: 0000000000000001 R10: dffffc0000000000 R11: fffffbfff1e00d4e R12: 0000000000000000 R13: 0000000000000001 R14: 0000000000000002 R15: ffff888025318000 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000556db9930000 CR3: 000000002fd7f000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1e3/0x520 kernel/locking/lockdep.c:5753 seqcount_lockdep_reader_access+0x139/0x220 include/linux/seqlock.h:102 get_fs_root_rcu fs/d_path.c:244 [inline] d_path+0x31b/0x710 fs/d_path.c:286 audit_log_d_path+0xd3/0x310 kernel/audit.c:2138 dump_common_audit_data security/lsm_audit.c:224 [inline] common_lsm_audit+0x7f6/0x1ad0 security/lsm_audit.c:458 smack_log+0x421/0x540 security/smack/smack_access.c:383 smk_tskacc+0x2ff/0x360 security/smack/smack_access.c:253 smack_inode_getattr+0x203/0x270 security/smack/smack_lsm.c:1271 security_inode_getattr+0xd3/0x120 security/security.c:2153 vfs_getattr+0x2a/0x3a0 fs/stat.c:169 ovl_getattr+0x1b8/0xfc0 fs/overlayfs/inode.c:174 ima_check_last_writer security/integrity/ima/ima_main.c:172 [inline] ima_file_free+0x26e/0x4b0 security/integrity/ima/ima_main.c:204 __fput+0x33d/0xa10 fs/file_table.c:388 task_work_run+0x24a/0x300 kernel/task_work.c:180 exit_task_work include/linux/task_work.h:38 [inline] do_exit+0xa34/0x2750 kernel/exit.c:871 do_group_exit+0x206/0x2c0 kernel/exit.c:1021 get_signal+0x1769/0x1840 kernel/signal.c:2904 arch_do_signal_or_restart+0x96/0x860 arch/x86/kernel/signal.c:309 exit_to_user_mode_loop+0x6a/0x100 kernel/entry/common.c:168 exit_to_user_mode_prepare+0xb1/0x140 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x64/0x280 kernel/entry/common.c:296 do_syscall_64+0x50/0x110 arch/x86/entry/common.c:88 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f45c207cae9 Code: Unable to access opcode bytes at 0x7f45c207cabf. RSP: 002b:00007f45c2e670c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101 RAX: 0000000000000005 RBX: 00007f45c219c050 RCX: 00007f45c207cae9 RDX: 000000000000275a RSI: 0000000020000080 RDI: ffffffffffffff9c RBP: 00007f45c20c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f45c219c050 R15: 00007ffc88c87ef8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__lock_acquire+0x10d/0x7f70 kernel/locking/lockdep.c:5004 Code: 85 75 18 00 00 83 3d ed 49 93 0d 00 48 89 9c 24 10 01 00 00 0f 84 f8 0f 00 00 83 3d bc 50 12 0c 00 74 34 48 89 d0 48 c1 e8 03 <42> 80 3c 00 00 74 1a 48 89 d7 e8 04 8a 7d 00 48 8b 94 24 80 00 00 RSP: 0018:ffffc9000d3669a0 EFLAGS: 00010006 RAX: 000000000000000a RBX: 1ffff92001a6cd58 RCX: 0000000000000002 RDX: 0000000000000050 RSI: 0000000000000000 RDI: 0000000000000050 RBP: ffffc9000d366c68 R08: dffffc0000000000 R09: 0000000000000001 R10: dffffc0000000000 R11: fffffbfff1e00d4e R12: 0000000000000000 R13: 0000000000000001 R14: 0000000000000002 R15: ffff888025318000 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000556db9930000 CR3: 000000002fd7f000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 85 75 18 test %esi,0x18(%rbp) 3: 00 00 add %al,(%rax) 5: 83 3d ed 49 93 0d 00 cmpl $0x0,0xd9349ed(%rip) # 0xd9349f9 c: 48 89 9c 24 10 01 00 mov %rbx,0x110(%rsp) 13: 00 14: 0f 84 f8 0f 00 00 je 0x1012 1a: 83 3d bc 50 12 0c 00 cmpl $0x0,0xc1250bc(%rip) # 0xc1250dd 21: 74 34 je 0x57 23: 48 89 d0 mov %rdx,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 80 3c 00 00 cmpb $0x0,(%rax,%r8,1) <-- trapping instruction 2f: 74 1a je 0x4b 31: 48 89 d7 mov %rdx,%rdi 34: e8 04 8a 7d 00 call 0x7d8a3d 39: 48 rex.W 3a: 8b .byte 0x8b 3b: 94 xchg %eax,%esp 3c: 24 80 and $0x80,%al