syzbot


WARNING in current_check_refer_path

Status: upstream: reported C repro on 2024/10/31 10:33
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+757256b24eb5b59ef116@syzkaller.appspotmail.com
First crash: 44d, last: 1d13h
Bug presence (1)
Date Name Commit Repro Result
2024/11/09 upstream (ToT) da4373fbcf00 C [report] WARNING in current_check_refer_path
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in current_check_refer_path lsm C 71 1d19h 155d 0/28 upstream: reported C repro on 2024/07/11 21:53

Sample crash report:
NILFS (loop0): broken superblock, retrying with spare superblock (blocksize = 1024)
------------[ cut here ]------------
WARNING: CPU: 0 PID: 4290 at security/landlock/fs.c:687 current_check_refer_path+0x274/0x914 security/landlock/fs.c:841
Modules linked in:
CPU: 0 PID: 4290 Comm: syz-executor257 Not tainted 6.1.114-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : current_check_refer_path+0x274/0x914 security/landlock/fs.c:841
lr : get_mode_access security/landlock/fs.c:669 [inline]
lr : current_check_refer_path+0x270/0x914 security/landlock/fs.c:841
sp : ffff800020f97820
x29: ffff800020f97960 x28: 000000000000ffff x27: 1fffe0001be90ef0
x26: 0000000000000001 x25: 0000000000000001 x24: 0000000000000000
x23: ffff0000df487780 x22: ffff7000041f2f10 x21: ffff0000d1424ca8
x20: dfff800000000000 x19: ffff0000d1424c00 x18: ffff800020f96d60
x17: 0000000000000000 x16: ffff8000121deac0 x15: 0000000000000000
x14: 1ffff00002b3a0b0 x13: dfff800000000000 x12: ffff7000041f2f23
x11: 0000000000ff0100 x10: 0000000000000000 x9 : ffff80000a787a6c
x8 : ffff0000de91d340 x7 : 0000000000000000 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000010
x2 : 000000000000000c x1 : 000000000000ffff x0 : 000000000000d000
Call trace:
 current_check_refer_path+0x274/0x914 security/landlock/fs.c:841
 hook_path_rename+0x4c/0x60 security/landlock/fs.c:1113
 security_path_rename+0x154/0x1f0 security/security.c:1217
 do_renameat2+0x754/0xe64 fs/namei.c:5014
 __do_sys_renameat2 fs/namei.c:5060 [inline]
 __se_sys_renameat2 fs/namei.c:5057 [inline]
 __arm64_sys_renameat2+0xe0/0xfc fs/namei.c:5057
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140
 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:204
 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637
 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655
 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585
irq event stamp: 21736
hardirqs last  enabled at (21735): [<ffff800008343af4>] __up_console_sem+0xb4/0x100 kernel/printk/printk.c:261
hardirqs last disabled at (21736): [<ffff80001228c9f4>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405
softirqs last  enabled at (21146): [<ffff8000081c7c58>] softirq_handle_end kernel/softirq.c:414 [inline]
softirqs last  enabled at (21146): [<ffff8000081c7c58>] handle_softirqs+0xb84/0xd58 kernel/softirq.c:599
softirqs last disabled at (21091): [<ffff800008020174>] __do_softirq+0x14/0x20 kernel/softirq.c:605
---[ end trace 0000000000000000 ]---

Crashes (30):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/10/31 15:05 linux-6.1.y 7ec6f9fa3d97 96eb609f .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING in current_check_refer_path
2024/12/12 22:08 linux-6.1.y e4d90d63d385 530e80f8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in current_check_refer_path
2024/12/12 22:08 linux-6.1.y e4d90d63d385 530e80f8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in current_check_refer_path
2024/11/28 19:54 linux-6.1.y e4d90d63d385 5df23865 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in current_check_refer_path
2024/11/28 19:54 linux-6.1.y e4d90d63d385 5df23865 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in current_check_refer_path
2024/11/23 06:47 linux-6.1.y e4d90d63d385 68da6d95 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in current_check_refer_path
2024/11/23 06:47 linux-6.1.y e4d90d63d385 68da6d95 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in current_check_refer_path
2024/11/23 05:56 linux-6.1.y e4d90d63d385 68da6d95 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in current_check_refer_path
2024/11/23 05:56 linux-6.1.y e4d90d63d385 68da6d95 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in current_check_refer_path
2024/11/23 05:50 linux-6.1.y e4d90d63d385 68da6d95 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in current_check_refer_path
2024/11/23 05:50 linux-6.1.y e4d90d63d385 68da6d95 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in current_check_refer_path
2024/11/22 14:21 linux-6.1.y b67dc5c9ade9 4b25d554 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in current_check_refer_path
2024/11/22 14:21 linux-6.1.y b67dc5c9ade9 4b25d554 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in current_check_refer_path
2024/11/22 09:15 linux-6.1.y b67dc5c9ade9 4b25d554 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in current_check_refer_path
2024/11/22 09:15 linux-6.1.y b67dc5c9ade9 4b25d554 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in current_check_refer_path
2024/11/11 23:52 linux-6.1.y d7039b844a1c 0c4b1325 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in current_check_refer_path
2024/11/11 23:52 linux-6.1.y d7039b844a1c 0c4b1325 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in current_check_refer_path
2024/10/31 20:00 linux-6.1.y 7ec6f9fa3d97 96eb609f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in current_check_refer_path
2024/10/31 20:00 linux-6.1.y 7ec6f9fa3d97 96eb609f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in current_check_refer_path
2024/11/28 13:31 linux-6.1.y e4d90d63d385 5df23865 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in current_check_refer_path
2024/11/23 06:09 linux-6.1.y e4d90d63d385 68da6d95 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in current_check_refer_path
2024/11/22 15:38 linux-6.1.y b67dc5c9ade9 4b25d554 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in current_check_refer_path
2024/11/22 15:38 linux-6.1.y b67dc5c9ade9 4b25d554 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in current_check_refer_path
2024/11/22 15:36 linux-6.1.y b67dc5c9ade9 4b25d554 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in current_check_refer_path
2024/11/22 15:36 linux-6.1.y b67dc5c9ade9 4b25d554 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in current_check_refer_path
2024/11/22 11:53 linux-6.1.y b67dc5c9ade9 4b25d554 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in current_check_refer_path
2024/11/22 11:50 linux-6.1.y b67dc5c9ade9 4b25d554 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in current_check_refer_path
2024/11/22 00:53 linux-6.1.y b67dc5c9ade9 4b25d554 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in current_check_refer_path
2024/11/22 00:53 linux-6.1.y b67dc5c9ade9 4b25d554 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in current_check_refer_path
2024/10/31 10:33 linux-6.1.y 7ec6f9fa3d97 96eb609f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in current_check_refer_path
* Struck through repros no longer work on HEAD.