RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007f98dff8a090 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 00007f98df3a5fa0 R15: 00007f98df4cfa28 ------------[ cut here ]------------ WARNING: CPU: 1 PID: 13341 at security/landlock/domain.h:133 landlock_free_hierarchy_details security/landlock/domain.h:133 [inline] WARNING: CPU: 1 PID: 13341 at security/landlock/domain.h:133 landlock_put_hierarchy security/landlock/domain.h:168 [inline] WARNING: CPU: 1 PID: 13341 at security/landlock/domain.h:133 free_ruleset+0x1f3/0x250 security/landlock/ruleset.c:490 Modules linked in: CPU: 1 UID: 0 PID: 13341 Comm: syz.2.10769 Not tainted 6.14.0-syzkaller-10514-g7f2ff7b62617 #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025 RIP: 0010:landlock_free_hierarchy_details security/landlock/domain.h:133 [inline] RIP: 0010:landlock_put_hierarchy security/landlock/domain.h:168 [inline] RIP: 0010:free_ruleset+0x1f3/0x250 security/landlock/ruleset.c:490 Code: 89 ff e8 a0 6b 6d fd 49 8b 1f 4c 89 ff e8 25 c4 61 fd 48 85 db 74 36 e8 2b 31 05 fd 49 89 df e9 34 ff ff ff e8 1e 31 05 fd 90 <0f> 0b 90 eb c2 e8 13 31 05 fd eb 1c bf 01 00 00 00 89 ee e8 45 35 RSP: 0018:ffffc9001b497dd8 EFLAGS: 00010293 RAX: ffffffff84be39d2 RBX: 0000000000000000 RCX: ffff888058298000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 1ffff11005b0d854 R08: ffffffff84bf456f R09: 1ffff11005b0d851 R10: dffffc0000000000 R11: ffffed1005b0d852 R12: ffff88802d86c2a0 R13: dffffc0000000000 R14: ffff88805d36e200 R15: ffff88802d86c280 FS: 00007f98dff8a6c0(0000) GS:ffff8881250b7000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f98dff69d58 CR3: 0000000033ef4000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 000000000000000e DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: landlock_put_ruleset security/landlock/ruleset.c:498 [inline] __free_landlock_put_ruleset security/landlock/ruleset.h:200 [inline] landlock_merge_ruleset+0x6d8/0x900 security/landlock/ruleset.c:577 __do_sys_landlock_restrict_self security/landlock/syscalls.c:549 [inline] __se_sys_landlock_restrict_self+0x2ce/0x7d0 security/landlock/syscalls.c:479 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f98df18d169 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:00007f98dff8a038 EFLAGS: 00000246 ORIG_RAX: 00000000000001be RAX: ffffffffffffffda RBX: 00007f98df3a5fa0 RCX: 00007f98df18d169 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007f98dff8a090 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 00007f98df3a5fa0 R15: 00007f98df4cfa28