WARNING in free_ruleset

Status: premoderation: reported syz repro on 2026/11/02 02:52
Reported-by: syzbot+31a3f21240e590b83e12@syzkaller.appspotmail.com
First crash: 3d13h, last: 3d11h
▶ ▼ Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in free_ruleset lsm -1 syz, C 76 559d 585d 28/29 fixed on 2025/06/10 16:19

Sample crash report:
RSP: 002b:00007ffd477a6778 EFLAGS: 00000246 ORIG_RAX: 00000000000001be
RAX: ffffffffffffffda RBX: 00007fdc36425fa0 RCX: 00007fdc3619f559
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003
RBP: 00007fdc36236b50 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fdc36425fac R14: 00007fdc36425fa0 R15: 00007fdc36425fa0
 </TASK>
------------[ cut here ]------------
WARNING: CPU: 1 PID: 392 at security/landlock/domain.h:133 landlock_free_hierarchy_details security/landlock/domain.h:133 [inline]
WARNING: CPU: 1 PID: 392 at security/landlock/domain.h:133 landlock_put_hierarchy security/landlock/domain.h:168 [inline]
WARNING: CPU: 1 PID: 392 at security/landlock/domain.h:133 free_ruleset+0x1c0/0x220 security/landlock/ruleset.c:490
Modules linked in:
CPU: 1 UID: 0 PID: 392 Comm: syz.1.18 Not tainted syzkaller #0 51e652a054f6365e28d1d9b6834c4d7c058f4b23
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/07/2026
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+0x1c0/0x220 security/landlock/ruleset.c:490
Code: 4c 89 f7 e8 e2 74 62 ff 49 8b 1e 4c 89 f7 e8 c7 23 5e ff 48 85 db 74 36 e8 fd e1 08 ff 49 89 de e9 34 ff ff ff e8 f0 e1 08 ff <0f> 0b eb c4 e8 e7 e1 08 ff eb 1e bf 01 00 00 00 44 89 e6 e8 18 e6
RSP: 0018:ffffc90000fafdb0 EFLAGS: 00010293
RAX: ffffffff82807540 RBX: ffff88811c21ab20 RCX: ffff8881093c62c0
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90000fafde0 R08: ffff88811c21ab0b R09: 1ffff11023843561
R10: dffffc0000000000 R11: ffffed1023843562 R12: 0000000000000000
R13: dffffc0000000000 R14: ffff88811c21ab00 R15: 1ffff11023843564
FS:  000055555a1b7500(0000) GS:ffff8881f6d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fdc36427dac CR3: 000000011abc4000 CR4: 00000000003526b0
Call Trace:
 <TASK>
 landlock_put_ruleset security/landlock/ruleset.c:498 [inline]
 __free_landlock_put_ruleset security/landlock/ruleset.h:201 [inline]
 landlock_merge_ruleset+0x780/0xae0 security/landlock/ruleset.c:577
 __do_sys_landlock_restrict_self security/landlock/syscalls.c:556 [inline]
 __se_sys_landlock_restrict_self+0x293/0x780 security/landlock/syscalls.c:486
 __x64_sys_landlock_restrict_self+0x5f/0x80 security/landlock/syscalls.c:486
 x64_sys_call+0x2860/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:447
 do_syscall_x64 arch/x86/entry/common.c:47 [inline]
 do_syscall_64+0x57/0xf0 arch/x86/entry/common.c:78
 entry_SYSCALL_64_after_hwframe+0x76/0x7e
RIP: 0033:0x7fdc3619f559
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffd477a6778 EFLAGS: 00000246 ORIG_RAX: 00000000000001be
RAX: ffffffffffffffda RBX: 00007fdc36425fa0 RCX: 00007fdc3619f559
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003
RBP: 00007fdc36236b50 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fdc36425fac R14: 00007fdc36425fa0 R15: 00007fdc36425fa0
 </TASK>
---[ end trace 0000000000000000 ]---

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/11/02 05:16 android16-6.12 82e784616179 25a0ae84 .config strace log report syz / log [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust WARNING in free_ruleset
2026/11/02 04:35 android16-6.12 82e784616179 25a0ae84 .config strace log report syz / log [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust WARNING in free_ruleset
2026/11/02 03:35 android16-6.12 82e784616179 25a0ae84 .config strace log report syz / log [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust WARNING in free_ruleset
2026/11/02 02:51 android16-6.12 82e784616179 25a0ae84 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-12-rust WARNING in free_ruleset
* Struck through repros no longer work on HEAD.