R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 00007f0c457a5fa0 R15: 00007ffee5ed7f58 ------------[ cut here ]------------ WARNING: CPU: 0 PID: 9272 at security/landlock/domain.h:133 landlock_free_hierarchy_details security/landlock/domain.h:133 [inline] WARNING: CPU: 0 PID: 9272 at security/landlock/domain.h:133 landlock_put_hierarchy security/landlock/domain.h:168 [inline] WARNING: CPU: 0 PID: 9272 at security/landlock/domain.h:133 free_ruleset+0x226/0x270 security/landlock/ruleset.c:490 Modules linked in: CPU: 0 UID: 0 PID: 9272 Comm: syz.0.1300 Not tainted 6.14.0-syzkaller-07540-geff5f16bfd87 #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 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+0x226/0x270 security/landlock/ruleset.c:490 Code: 84 61 ff ff ff 48 89 eb e9 12 ff ff ff e8 f2 92 2d fd be 03 00 00 00 4c 89 f7 e8 f5 a9 3e 00 e9 42 ff ff ff e8 db 92 2d fd 90 <0f> 0b 90 eb af e8 60 37 91 fd e9 4a fe ff ff 48 89 df e8 53 37 91 RSP: 0018:ffffc900072a7e38 EFLAGS: 00010293 RAX: 0000000000000000 RBX: ffff8880296c8a80 RCX: ffffffff848eba3f RDX: ffff888058202440 RSI: ffffffff848dc325 RDI: 0000000000000005 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff888035bbb200 R13: dffffc0000000000 R14: ffff8880296c8aa0 R15: fffffffffffffff4 FS: 00007f0c463896c0(0000) GS:ffff8880d6a14000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f0c46388f98 CR3: 000000004e2ee000 CR4: 0000000000352ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: landlock_put_ruleset security/landlock/ruleset.c:498 [inline] landlock_put_ruleset+0xa5/0xb0 security/landlock/ruleset.c:494 __free_landlock_put_ruleset security/landlock/ruleset.h:200 [inline] landlock_merge_ruleset+0x218/0x870 security/landlock/ruleset.c:534 __do_sys_landlock_restrict_self+0x2a2/0x910 security/landlock/syscalls.c:549 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0x260 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f0c4558d169 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:00007f0c46389038 EFLAGS: 00000246 ORIG_RAX: 00000000000001be RAX: ffffffffffffffda RBX: 00007f0c457a5fa0 RCX: 00007f0c4558d169 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000004 RBP: 00007f0c46389090 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001 R13: 0000000000000000 R14: 00007f0c457a5fa0 R15: 00007ffee5ed7f58