------------[ cut here ]------------ WARNING: CPU: 1 PID: 14590 at security/landlock/fs.c:880 collect_domain_accesses+0x251/0x2b0 security/landlock/fs.c:880 Modules linked in: CPU: 1 PID: 14590 Comm: syz-executor.0 Not tainted 6.9.0-rc7-syzkaller-00056-g45db3ab70092 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/02/2024 RIP: 0010:collect_domain_accesses+0x251/0x2b0 security/landlock/fs.c:880 Code: e8 b4 e0 a1 fd eb 08 e8 bd c2 25 fd 40 b5 01 89 e8 48 83 c4 08 5b 41 5c 41 5d 41 5e 41 5f 5d c3 cc cc cc cc e8 a0 c2 25 fd 90 <0f> 0b 90 31 ed 49 89 df eb c9 e8 90 c2 25 fd 90 0f 0b 90 eb cd 44 RSP: 0018:ffffc900050cfba0 EFLAGS: 00010287 RAX: ffffffff847045e0 RBX: ffff888068d3f608 RCX: 0000000000040000 RDX: ffffc90009a79000 RSI: 000000000000044f RDI: 0000000000000450 RBP: 0000000000000000 R08: ffffffff846fccdb R09: 1ffffffff1f51f15 R10: dffffc0000000000 R11: fffffbfff1f51f16 R12: ffffc900050cfc80 R13: 0000000000003fff R14: ffff8880623145e0 R15: ffff888068d3f608 FS: 00007f85e95f96c0(0000) GS:ffff8880b9500000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2d121000 CR3: 000000005a3fe000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: current_check_refer_path+0x9b6/0xe70 security/landlock/fs.c:1001 security_path_link+0xc5/0x120 security/security.c:1894 do_linkat+0x2db/0x760 fs/namei.c:4673 __do_sys_linkat fs/namei.c:4704 [inline] __se_sys_linkat fs/namei.c:4701 [inline] __x64_sys_linkat+0xdd/0xf0 fs/namei.c:4701 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf5/0x240 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f85e887dd69 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:00007f85e95f90c8 EFLAGS: 00000246 ORIG_RAX: 0000000000000109 RAX: ffffffffffffffda RBX: 00007f85e89abf80 RCX: 00007f85e887dd69 RDX: ffffffffffffff9c RSI: 0000000020000000 RDI: ffffffffffffff9c RBP: 00007f85e88ca49e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000020000700 R11: 0000000000000246 R12: 0000000000000000 R13: 000000000000000b R14: 00007f85e89abf80 R15: 00007f85e8acfa98