------------[ cut here ]------------
WARNING: CPU: 1 PID: 5929 at security/landlock/fs.c:748 collect_domain_accesses+0x7b6/0x820 security/landlock/fs.c:748
Modules linked in:
CPU: 1 PID: 5929 Comm: syz.0.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
RIP: 0010:collect_domain_accesses+0x7b6/0x820 security/landlock/fs.c:748
Code: e8 48 83 c4 58 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 5f a2 a0 fd 31 ed eb dd e8 56 a2 a0 fd 0f 0b 40 b5 01 eb da e8 4a a2 a0 fd <0f> 0b eb e7 89 d1 80 e1 07 80 c1 03 38 c1 0f 8c 0e f9 ff ff 48 89
RSP: 0018:ffffc90003277ad0 EFLAGS: 00010293
RAX: ffffffff83e4ee76 RBX: ffff88807371b490 RCX: ffff888023371e00
RDX: 0000000000000000 RSI: ffffffff8aaace60 RDI: ffff88807371b4e0
RBP: 1ffff11003af2195 R08: ffffffff8e4a212f R09: 1ffffffff1c94425
R10: dffffc0000000000 R11: fffffbfff1c94426 R12: 0000000000000001
R13: 0000000000000000 R14: ffff88807371b490 R15: 0000000000002004
FS: 0000555578a8c500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b34463fff CR3: 000000006fa0d000 CR4: 00000000003506e0
Call Trace:
<TASK>
current_check_refer_path+0x541/0xc20 security/landlock/fs.c:880
security_path_rename+0x16c/0x200 security/security.c:1828
do_renameat2+0x685/0xc70 fs/namei.c:5020
__do_sys_renameat2 fs/namei.c:5066 [inline]
__se_sys_renameat2 fs/namei.c:5063 [inline]
__x64_sys_renameat2+0xd2/0xe0 fs/namei.c:5063
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f6848f8f749
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffff91f2588 EFLAGS: 00000246 ORIG_RAX: 000000000000013c
RAX: ffffffffffffffda RBX: 00007f68491e5fa0 RCX: 00007f6848f8f749
RDX: 0000000000000003 RSI: 0000200000000540 RDI: 0000000000000003
RBP: 00007f6849013f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000200000000580 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f68491e5fa0 R14: 00007f68491e5fa0 R15: 0000000000000005
</TASK>