syzbot


WARNING in hook_path_rename

Status: auto-obsoleted due to no activity on 2025/03/22 08:01
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+e26c000b9284837a3bc7@syzkaller.appspotmail.com
First crash: 205d, last: 176d
Fix bisection: failed (error log, bisect log)
  
Bug presence (2)
Date Name Commit Repro Result
2024/11/05 upstream (ToT) 2e1b3cc9d7f7 C [report] WARNING in current_check_refer_path
2025/03/22 upstream (ToT) 88d324e69ea9 C Didn't crash
Last patch testing requests (1)
Created Duration User Patch Repo Result
2024/11/25 23:37 16m retest repro linux-5.15.y report log

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 4302 at security/landlock/fs.c:576 get_mode_access security/landlock/fs.c:558 [inline]
WARNING: CPU: 1 PID: 4302 at security/landlock/fs.c:576 hook_path_rename+0x242/0x340 security/landlock/fs.c:637
Modules linked in:
CPU: 1 PID: 4302 Comm: syz.0.17 Not tainted 5.15.173-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:get_mode_access security/landlock/fs.c:576 [inline]
RIP: 0010:hook_path_rename+0x242/0x340 security/landlock/fs.c:637
Code: 48 c1 eb 0c bd 57 15 00 00 31 f6 0f a3 dd 40 0f 92 c6 31 ff e8 4f 54 a6 fd 0f a3 dd 72 12 e8 65 51 a6 fd eb 05 e8 5e 51 a6 fd <0f> 0b 31 c0 eb 24 e8 53 51 a6 fd 48 8d 9c 1b c0 c3 f4 8a 48 89 d8
RSP: 0000:ffffc900032c7bc8 EFLAGS: 00010283
RAX: ffffffff83da2242 RBX: 000000000000ffff RCX: 0000000000080000
RDX: ffffc90003dd3000 RSI: 0000000000009388 RDI: 0000000000009389
RBP: 0000000000000020 R08: ffffffff83da2210 R09: ffffed100c07583f
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff888074a83380 R14: 0000000000000020 R15: ffff8880250b5500
FS:  00007f074190f6c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c29daed CR3: 0000000075f62000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 security_path_rename+0x197/0x2a0 security/security.c:1199
 do_renameat2+0x9b6/0x1700 fs/namei.c:4972
 __do_sys_renameat2 fs/namei.c:5018 [inline]
 __se_sys_renameat2 fs/namei.c:5015 [inline]
 __x64_sys_renameat2+0xce/0xe0 fs/namei.c:5015
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f0743a99809
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:00007f074190f058 EFLAGS: 00000246 ORIG_RAX: 000000000000013c
RAX: ffffffffffffffda RBX: 00007f0743c5efa0 RCX: 00007f0743a99809
RDX: ffffffffffffff9c RSI: 0000000020000780 RDI: ffffffffffffff9c
RBP: 00007f0743b0c93e R08: 0000000000000002 R09: 0000000000000000
R10: 00000000200007c0 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f0743c5efa0 R15: 00007ffd840b3eb8
 </TASK>

Crashes (13):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/11/28 16:54 linux-5.15.y 0a51d2d4527b 5df23865 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in hook_path_rename
2024/11/28 16:52 linux-5.15.y 0a51d2d4527b 5df23865 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in hook_path_rename
2024/11/11 20:07 linux-5.15.y 3c17fc483905 0c4b1325 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in hook_path_rename
2024/11/11 20:07 linux-5.15.y 3c17fc483905 0c4b1325 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in hook_path_rename
2024/10/31 10:58 linux-5.15.y 74cdd62cb470 96eb609f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in hook_path_rename
2024/10/31 10:58 linux-5.15.y 74cdd62cb470 96eb609f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in hook_path_rename
2024/11/28 13:12 linux-5.15.y 0a51d2d4527b 5df23865 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in hook_path_rename
2024/11/28 13:09 linux-5.15.y 0a51d2d4527b 5df23865 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in hook_path_rename
2024/11/11 18:35 linux-5.15.y 3c17fc483905 0c4b1325 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in hook_path_rename
2024/11/11 18:35 linux-5.15.y 3c17fc483905 0c4b1325 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in hook_path_rename
2024/10/31 10:48 linux-5.15.y 74cdd62cb470 96eb609f .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 WARNING in hook_path_rename
2024/10/31 08:37 linux-5.15.y 74cdd62cb470 96eb609f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in hook_path_rename
2024/10/31 08:37 linux-5.15.y 74cdd62cb470 96eb609f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in hook_path_rename
* Struck through repros no longer work on HEAD.