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: 11463 Comm: syz-executor.0 Not tainted 6.7.0-rc2-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023 RIP: 0010:__lock_acquire+0x69/0x1fd0 kernel/locking/lockdep.c:5004 Code: df 0f b6 04 30 84 c0 0f 85 47 16 00 00 83 3d 29 c8 93 0d 00 0f 84 1c 11 00 00 83 3d 80 78 12 0c 00 74 2c 4c 89 e0 48 c1 e8 03 <80> 3c 30 00 74 12 4c 89 e7 e8 b9 2c 7d 00 48 be 00 00 00 00 00 fc RSP: 0018:ffffc9000a7aebb0 EFLAGS: 00010006 RAX: 000000000000000a RBX: 0000000000000000 RCX: 0000000000000002 RDX: 0000000000000000 RSI: dffffc0000000000 RDI: 0000000000000050 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001 R10: dffffc0000000000 R11: fffffbfff1e01816 R12: 0000000000000050 R13: 0000000000000001 R14: ffff888016738000 R15: 0000000000000002 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb8e7cc66e4 CR3: 000000003069f000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: lock_acquire+0x1e3/0x530 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/0xfd0 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/0x150 kernel/entry/common.c:204 __syscall_exit_to_user_mode_work kernel/entry/common.c:285 [inline] syscall_exit_to_user_mode+0x69/0x2a0 kernel/entry/common.c:296 do_syscall_64+0x52/0x110 arch/x86/entry/common.c:88 entry_SYSCALL_64_after_hwframe+0x63/0x6b RIP: 0033:0x7f801487cae9 Code: Unable to access opcode bytes at 0x7f801487cabf. RSP: 002b:00007f80133fe0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000002 RAX: 0000000000000004 RBX: 00007f801499c050 RCX: 00007f801487cae9 RDX: 0000000000000000 RSI: 0000000000064342 RDI: 00000000200001c0 RBP: 00007f80148c847a R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f801499c050 R15: 00007ffe287f4078 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:__lock_acquire+0x69/0x1fd0 kernel/locking/lockdep.c:5004 Code: df 0f b6 04 30 84 c0 0f 85 47 16 00 00 83 3d 29 c8 93 0d 00 0f 84 1c 11 00 00 83 3d 80 78 12 0c 00 74 2c 4c 89 e0 48 c1 e8 03 <80> 3c 30 00 74 12 4c 89 e7 e8 b9 2c 7d 00 48 be 00 00 00 00 00 fc RSP: 0018:ffffc9000a7aebb0 EFLAGS: 00010006 RAX: 000000000000000a RBX: 0000000000000000 RCX: 0000000000000002 RDX: 0000000000000000 RSI: dffffc0000000000 RDI: 0000000000000050 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001 R10: dffffc0000000000 R11: fffffbfff1e01816 R12: 0000000000000050 R13: 0000000000000001 R14: ffff888016738000 R15: 0000000000000002 FS: 0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fb8e7cc66e4 CR3: 000000003069f000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: df 0f fisttps (%rdi) 2: b6 04 mov $0x4,%dh 4: 30 84 c0 0f 85 47 16 xor %al,0x1647850f(%rax,%rax,8) b: 00 00 add %al,(%rax) d: 83 3d 29 c8 93 0d 00 cmpl $0x0,0xd93c829(%rip) # 0xd93c83d 14: 0f 84 1c 11 00 00 je 0x1136 1a: 83 3d 80 78 12 0c 00 cmpl $0x0,0xc127880(%rip) # 0xc1278a1 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 b9 2c 7d 00 call 0x7d2cf1 38: 48 rex.W 39: be 00 00 00 00 mov $0x0,%esi 3e: 00 fc add %bh,%ah