WARNING in landlock_merge_ruleset

Status: upstream: reported C repro on 2026/10/09 17:04
Subsystems: lsm
Labels: prio:high
[Documentation on labels]
Reported-by: syzbot+a0eecb22de4d821a9e5d@syzkaller.appspotmail.com
First crash: 20h12m, last: now
▶ ▼ ✨ AI Jobs (1)
ID Workflow Result Correct Bug Created Started Finished Revision
2be7fc8c assessment-security DenialOfService: ✅ Exploitable: ❌ FilesystemTrigger: ❌ NetworkTrigger: ❌ PeripheralTrigger: ❌ RemoteTrigger: ❌ Unprivileged: ✅ UserNamespace: ❌ VMGuestTrigger: ❌ VMHostTrigger: ❌ ❓ WARNING in landlock_merge_ruleset 2026/10/10 00:02 2026/10/10 00:02 2026/10/10 00:41 549ef7e3
▶ ▼ Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [lsm?] WARNING in landlock_merge_ruleset 0 (1) 2026/10/09 17:04

Sample crash report:
------------[ cut here ]------------
memcpy: detected buffer overflow: 16 byte read of buffer size 0
WARNING: lib/string_helpers.c:1037 at __fortify_report+0x6b/0xa0 lib/string_helpers.c:1036, CPU#1: syz-executor824/5630
Modules linked in:
CPU: 1 UID: 0 PID: 5630 Comm: syz-executor824 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:__fortify_report+0x89/0xa0 lib/string_helpers.c:1036
Code: e8 ec f1 4b fd 48 8d 3d c5 7e d7 0c 45 84 e4 49 8b 37 48 c7 c0 40 8d 8d 8c 48 c7 c1 60 8d 8d 8c 48 0f 44 c8 4c 89 f2 49 89 d8 <67> 48 0f b9 3a 5b 41 5c 41 5e 41 5f 5d e9 45 84 14 07 cc cc cc cc
RSP: 0018:ffffc900039dfdc8 EFLAGS: 00010246
RAX: ffffffff8c8d8d40 RBX: 0000000000000000 RCX: ffffffff8c8d8d40
RDX: 0000000000000010 RSI: ffffffff8c8d8c20 RDI: ffffffff91c743f0
RBP: 000000000000000e R08: 0000000000000000 R09: 1ffff11005506ad1
R10: dffffc0000000000 R11: ffffed1005506ad2 R12: 0000000000000000
R13: 0000000000000000 R14: 0000000000000010 R15: ffffffff8c8d8a78
FS:  0000555580eae400(0000) GS:ffff888123529000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000000300 CR3: 00000000725da000 CR4: 00000000003526f0
Call Trace:
 <TASK>
 __fortify_panic+0x9/0x10 lib/string_helpers.c:1043
 fortify_memcpy_chk include/linux/fortify-string.h:547 [inline]
 inherit_ruleset security/landlock/domain.c:407 [inline]
 landlock_merge_ruleset+0xc46/0xc90 security/landlock/domain.c:468
 __do_sys_landlock_restrict_self security/landlock/syscalls.c:809 [inline]
 __se_sys_landlock_restrict_self+0x2bc/0xd40 security/landlock/syscalls.c:732
 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
 do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f6479859969
Code: c0 79 93 eb d5 48 8d 7c 1d 00 eb 99 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 d8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fff6967a478 EFLAGS: 00000246 ORIG_RAX: 00000000000001be
RAX: ffffffffffffffda RBX: 00007fff6967a5a8 RCX: 00007f6479859969
RDX: 00007f6479859969 RSI: 0000000000000000 RDI: 0000000000000004
RBP: 0000000000000001 R08: 00007fff6967a5a8 R09: 00007fff6967a5a8
R10: 0000000000000000 R11: 0000000000000246 R12: 00007fff6967a598
R13: 0000000000000002 R14: 00007f64798e9ca0 R15: 0000000000000002
 </TASK>
----------------
Code disassembly (best guess):
   0:	e8 ec f1 4b fd       	call   0xfd4bf1f1
   5:	48 8d 3d c5 7e d7 0c 	lea    0xcd77ec5(%rip),%rdi        # 0xcd77ed1
   c:	45 84 e4             	test   %r12b,%r12b
   f:	49 8b 37             	mov    (%r15),%rsi
  12:	48 c7 c0 40 8d 8d 8c 	mov    $0xffffffff8c8d8d40,%rax
  19:	48 c7 c1 60 8d 8d 8c 	mov    $0xffffffff8c8d8d60,%rcx
  20:	48 0f 44 c8          	cmove  %rax,%rcx
  24:	4c 89 f2             	mov    %r14,%rdx
  27:	49 89 d8             	mov    %rbx,%r8
* 2a:	67 48 0f b9 3a       	ud1    (%edx),%rdi <-- trapping instruction
  2f:	5b                   	pop    %rbx
  30:	41 5c                	pop    %r12
  32:	41 5e                	pop    %r14
  34:	41 5f                	pop    %r15
  36:	5d                   	pop    %rbp
  37:	e9 45 84 14 07       	jmp    0x7148481
  3c:	cc                   	int3
  3d:	cc                   	int3
  3e:	cc                   	int3
  3f:	cc                   	int3

Crashes (1094):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/10/09 17:41 linux-next aac26bee2287 a8add9cd .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce WARNING in landlock_merge_ruleset
2026/10/09 16:30 linux-next aac26bee2287 a8add9cd .config strace log report syz / log C [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce WARNING in landlock_merge_ruleset
2026/10/10 01:00 linux-next aac26bee2287 a8add9cd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce WARNING in landlock_merge_ruleset
2026/10/10 00:35 linux-next aac26bee2287 a8add9cd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce WARNING in landlock_merge_ruleset
2026/10/10 00:17 linux-next aac26bee2287 a8add9cd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce WARNING in landlock_merge_ruleset
2026/10/10 00:08 linux-next aac26bee2287 a8add9cd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in landlock_merge_ruleset
2026/10/09 23:57 linux-next aac26bee2287 a8add9cd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in landlock_merge_ruleset
2026/10/09 21:26 linux-next aac26bee2287 a8add9cd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce WARNING in landlock_merge_ruleset
2026/10/09 21:25 linux-next aac26bee2287 a8add9cd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in landlock_merge_ruleset
2026/10/09 20:13 linux-next aac26bee2287 a8add9cd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in landlock_merge_ruleset
2026/10/09 20:13 linux-next aac26bee2287 a8add9cd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in landlock_merge_ruleset
2026/10/09 19:10 linux-next aac26bee2287 a8add9cd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in landlock_merge_ruleset
2026/10/09 18:37 linux-next aac26bee2287 a8add9cd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce WARNING in landlock_merge_ruleset
2026/10/09 17:48 linux-next aac26bee2287 a8add9cd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in landlock_merge_ruleset
2026/10/09 17:34 linux-next aac26bee2287 a8add9cd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in landlock_merge_ruleset
2026/10/09 17:27 linux-next aac26bee2287 a8add9cd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in landlock_merge_ruleset
2026/10/09 17:19 linux-next aac26bee2287 a8add9cd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in landlock_merge_ruleset
2026/10/09 17:10 linux-next aac26bee2287 a8add9cd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in landlock_merge_ruleset
2026/10/09 16:53 linux-next aac26bee2287 a8add9cd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in landlock_merge_ruleset
2026/10/09 16:45 linux-next aac26bee2287 a8add9cd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in landlock_merge_ruleset
2026/10/09 16:36 linux-next aac26bee2287 a8add9cd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in landlock_merge_ruleset
2026/10/09 16:28 linux-next aac26bee2287 a8add9cd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in landlock_merge_ruleset
2026/10/09 16:16 linux-next aac26bee2287 a8add9cd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in landlock_merge_ruleset
2026/10/09 15:51 linux-next aac26bee2287 a8add9cd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce WARNING in landlock_merge_ruleset
2026/10/09 15:09 linux-next aac26bee2287 a8add9cd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in landlock_merge_ruleset
2026/10/09 14:51 linux-next aac26bee2287 a8add9cd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in landlock_merge_ruleset
2026/10/09 14:35 linux-next aac26bee2287 a8add9cd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in landlock_merge_ruleset
2026/10/09 14:25 linux-next aac26bee2287 a8add9cd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in landlock_merge_ruleset
2026/10/09 14:16 linux-next aac26bee2287 a8add9cd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in landlock_merge_ruleset
2026/10/09 14:00 linux-next aac26bee2287 a8add9cd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in landlock_merge_ruleset
2026/10/09 13:50 linux-next aac26bee2287 a8add9cd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in landlock_merge_ruleset
2026/10/09 13:35 linux-next aac26bee2287 a8add9cd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in landlock_merge_ruleset
2026/10/09 13:20 linux-next aac26bee2287 a8add9cd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in landlock_merge_ruleset
2026/10/09 12:59 linux-next aac26bee2287 a8add9cd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in landlock_merge_ruleset
2026/10/09 12:38 linux-next aac26bee2287 a8add9cd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in landlock_merge_ruleset
2026/10/09 12:28 linux-next aac26bee2287 a8add9cd .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in landlock_merge_ruleset
2026/10/09 11:06 linux-next aac26bee2287 b2734a59 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in landlock_merge_ruleset
2026/10/09 10:53 linux-next aac26bee2287 b2734a59 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in landlock_merge_ruleset
2026/10/09 10:43 linux-next aac26bee2287 b2734a59 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in landlock_merge_ruleset
2026/10/09 10:33 linux-next aac26bee2287 b2734a59 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce WARNING in landlock_merge_ruleset
2026/10/09 10:24 linux-next aac26bee2287 b2734a59 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in landlock_merge_ruleset
2026/10/09 10:19 linux-next aac26bee2287 b2734a59 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce WARNING in landlock_merge_ruleset
2026/10/09 10:11 linux-next aac26bee2287 b2734a59 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce WARNING in landlock_merge_ruleset
2026/10/09 10:02 linux-next aac26bee2287 b2734a59 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-linux-next-kasan-gce-root WARNING in landlock_merge_ruleset
2026/10/09 09:55 linux-next aac26bee2287 b2734a59 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce WARNING in landlock_merge_ruleset
2026/10/09 05:21 linux-next aac26bee2287 b2734a59 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-rust-kasan-gce WARNING in landlock_merge_ruleset
* Struck through repros no longer work on HEAD.