------------[ cut here ]------------ WARNING: CPU: 1 PID: 1100 at security/landlock/fs.c:753 collect_domain_accesses+0x2bc/0x2d0 security/landlock/fs.c:753 Modules linked in: CPU: 1 PID: 1100 Comm: syz-executor.0 Not tainted 5.19.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:collect_domain_accesses+0x2bc/0x2d0 security/landlock/fs.c:753 Code: 24 eb 08 45 31 f6 48 8b 5c 24 08 48 89 df e8 eb 8d dd ff 44 89 f0 48 83 c4 38 5b 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc 90 <0f> 0b 90 45 31 f6 eb d9 90 0f 0b 90 41 b6 01 eb d8 0f 1f 00 55 53 RSP: 0018:ffffc900011b3d00 EFLAGS: 00010246 RAX: 069e37e8648a5000 RBX: ffff888111033d68 RCX: 0000000000000010 RDX: 0000000035b6ba85 RSI: ffffffff822d6605 RDI: ffffffff823181cd RBP: ffff888111033d68 R08: 0000000080000000 R09: 0000000000003fff R10: 0000000000000000 R11: ffffffff814f23d0 R12: 0000000000000000 R13: 0000000000003ffe R14: 0000000000003fff R15: ffffc900011b3dd0 FS: 00007f46b2e1c6c0(0000) GS:ffff888237d00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000010c6f6000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: current_check_refer_path+0x270/0x410 security/landlock/fs.c:874 security_path_link+0x42/0x60 security/security.c:1190 do_linkat+0x138/0x360 fs/namei.c:4537 __do_sys_linkat fs/namei.c:4568 [inline] __se_sys_linkat fs/namei.c:4565 [inline] __x64_sys_linkat+0x59/0x70 fs/namei.c:4565 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x46/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x64/0xce RIP: 0033:0x7f46b329ad69 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 e1 20 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f46b2e1c0c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000109 RAX: ffffffffffffffda RBX: 00007f46b33c8f80 RCX: 00007f46b329ad69 RDX: ffffffffffffff9c RSI: 0000000020000000 RDI: ffffffffffffff9c RBP: 00007f46b32e749e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000020000700 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000006 R14: 00007f46b33c8f80 R15: 00007ffe90fd8348