XFS (loop1): Mounting V5 Filesystem a2f82aab-77f8-4286-afd4-a8f747a74bab XFS (loop1): Ending clean mount XFS (loop1): Quotacheck needed: Please wait. XFS (loop1): Quotacheck: Done. overlayfs: failed to resolve './file0': -2 general protection fault, probably for non-canonical address 0xdffffc000000000a: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000050-0x0000000000000057] CPU: 0 PID: 20613 Comm: syz-executor.1 Not tainted 6.7.0-rc1-syzkaller-00012-g9bacdd8996c7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/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 79 c7 93 0d 00 0f 84 1c 11 00 00 83 3d f0 76 12 0c 00 74 2c 4c 89 e0 48 c1 e8 03 <80> 3c 30 00 74 12 4c 89 e7 e8 59 2e 7d 00 48 be 00 00 00 00 00 fc RSP: 0018:ffffc90015b7ebf0 EFLAGS: 00010006 RAX: 000000000000000a RBX: 0000000000000000 RCX: 0000000000000002 RDX: 0000000000000000 RSI: dffffc0000000000 RDI: 0000000000000050 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001 R10: dffffc0000000000 R11: fffffbfff1e0182e R12: 0000000000000050 R13: 0000000000000001 R14: ffff8880200c5940 R15: 0000000000000002 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3908042000 CR3: 000000000d730000 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 irqentry_exit_to_user_mode+0xa/0x50 kernel/entry/common.c:309 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:645 RIP: 0033:0x7f39118286e3 Code: Unable to access opcode bytes at 0x7f39118286b9. RSP: 002b:00007f39125e6520 EFLAGS: 00000202 RAX: 0000000000043c8c RBX: 00007f39125e65c0 RCX: 000000000000008d RDX: 0000000000000c7f RSI: 0000000000000200 RDI: 00007f39125e6660 RBP: 0000000000000102 R08: 00007f3907fff000 R09: 0000000000043c8c R10: 00000000200130c2 R11: 0000000000009808 R12: 0000000000000181 R13: 00007f39118ea5a0 R14: 0000000000000011 R15: 00007f39125e6660 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 79 c7 93 0d 00 0f 84 1c 11 00 00 83 3d f0 76 12 0c 00 74 2c 4c 89 e0 48 c1 e8 03 <80> 3c 30 00 74 12 4c 89 e7 e8 59 2e 7d 00 48 be 00 00 00 00 00 fc RSP: 0018:ffffc90015b7ebf0 EFLAGS: 00010006 RAX: 000000000000000a RBX: 0000000000000000 RCX: 0000000000000002 RDX: 0000000000000000 RSI: dffffc0000000000 RDI: 0000000000000050 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001 R10: dffffc0000000000 R11: fffffbfff1e0182e R12: 0000000000000050 R13: 0000000000000001 R14: ffff8880200c5940 R15: 0000000000000002 FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f3908042000 CR3: 000000000d730000 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 79 c7 93 0d 00 cmpl $0x0,0xd93c779(%rip) # 0xd93c78d 14: 0f 84 1c 11 00 00 je 0x1136 1a: 83 3d f0 76 12 0c 00 cmpl $0x0,0xc1276f0(%rip) # 0xc127711 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 59 2e 7d 00 call 0x7d2e91 38: 48 rex.W 39: be 00 00 00 00 mov $0x0,%esi 3e: 00 fc add %bh,%ah