syzbot


WARNING in do_open_execat

Status: upstream: reported C repro on 2023/09/16 02:14
Bug presence: origin:upstream
Labels: missing-backport
[Documentation on labels]
Reported-by: syzbot+966287e895af04ec4106@syzkaller.appspotmail.com
First crash: 611d, last: 108d
Fix bisection: the issue occurs on the latest tested release (bisect log)
Crash: WARNING in do_open_execat (log)
Repro: C syz .config
  
Bug presence (3)
Date Name Commit Repro Result
2024/03/14 linux-6.1.y (ToT) 61adba85cc40 C [report] WARNING in do_open_execat
2023/09/16 upstream (ToT) 57d88e8a5974 C [report] WARNING in do_open_execat
2024/03/14 upstream (ToT) 480e035fc4c7 C Didn't crash
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING in do_open_execat (2) origin:upstream missing-backport C done 13 38d 584d 0/3 upstream: reported C repro on 2023/10/13 04:40
upstream WARNING in do_open_execat (3) squashfs C 5 59d 139d 0/28 upstream: reported C repro on 2024/12/31 06:22
upstream WARNING in do_open_execat (2) ntfs3 C 18 393d 404d 0/28 auto-obsoleted due to no activity on 2024/06/30 18:49
linux-5.15 WARNING in do_open_execat 1 791d 791d 0/3 auto-obsoleted due to no activity on 2023/07/18 02:48
upstream WARNING in do_open_execat ntfs3 C error done 12 480d 640d 25/28 fixed on 2024/03/20 11:33
Fix bisection attempts (4)
Created Duration User Patch Repo Result
2024/03/20 20:34 1h43m fix candidate upstream OK (0) job log
2024/03/02 02:02 1h54m bisect fix linux-6.1.y OK (0) job log log
2024/01/09 08:55 1h37m bisect fix linux-6.1.y OK (0) job log log
2023/10/21 15:34 1h34m bisect fix linux-6.1.y OK (0) job log log

Sample crash report:
loop0: detected capacity change from 0 to 4096
ntfs: volume version 3.1.
process 'syz-executor651' launched './file2' with NULL argv: empty string added
------------[ cut here ]------------
WARNING: CPU: 0 PID: 4297 at fs/exec.c:936 do_open_execat+0x52c/0x64c
Modules linked in:
CPU: 0 PID: 4297 Comm: syz-executor651 Not tainted 6.1.126-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 : do_open_execat+0x52c/0x64c
lr : do_open_execat+0x528/0x64c fs/exec.c:936
sp : ffff800021007a60
x29: ffff800021007ad0 x28: ffff0000cadedbe8 x27: ffff0000da7ad500
x26: dfff800000000000 x25: ffff700004200f4c x24: dfff800000000000
x23: 0000000000000000 x22: ffff0000e48476a0 x21: ffff0000da7ad500
x20: fffffffffffffff3 x19: ffff0000c3918500 x18: ffff800021007260
x17: ffff800018b7c000 x16: ffff80001227e580 x15: 0000000000000000
x14: 1ffff00002b520b2 x13: dfff800000000000 x12: 0000000000000002
x11: 0000000000ff0100 x10: 0000000000000000 x9 : ffff800008a5b0c0
x8 : ffff0000caded340 x7 : 0000000000000000 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000010
x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000008000
Call trace:
 do_open_execat+0x52c/0x64c
 bprm_execve+0x480/0x162c fs/exec.c:1826
 do_execveat_common+0x668/0x814 fs/exec.c:1956
 do_execveat fs/exec.c:2041 [inline]
 __do_sys_execveat fs/exec.c:2115 [inline]
 __se_sys_execveat fs/exec.c:2109 [inline]
 __arm64_sys_execveat+0xd0/0xec fs/exec.c:2109
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x2bc arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:140
 do_el0_svc+0x58/0x13c 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: 14210
hardirqs last  enabled at (14209): [<ffff800012412924>] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:151 [inline]
hardirqs last  enabled at (14209): [<ffff800012412924>] _raw_spin_unlock_irqrestore+0x48/0xac kernel/locking/spinlock.c:194
hardirqs last disabled at (14210): [<ffff80001232c744>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405
softirqs last  enabled at (13934): [<ffff800008030408>] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32
softirqs last disabled at (13932): [<ffff8000080303d4>] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19
---[ end trace 0000000000000000 ]---

Crashes (14):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/01/21 08:48 linux-6.1.y f4f677285b38 6e87cfa2 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING in do_open_execat
2025/01/13 06:38 linux-6.1.y c63962be84ef 6dbc6a9b .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING in do_open_execat
2024/03/04 09:38 linux-6.1.y a3eb3a74aa8c 25905f5d .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING in do_open_execat
2024/01/22 01:24 linux-6.1.y 8fd7f4462453 9bd8dcda .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING in do_open_execat
2023/12/10 08:55 linux-6.1.y 6c6a6c7e211c 28b24332 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING in do_open_execat
2023/09/16 02:28 linux-6.1.y 09045dae0d90 0b6a67ac .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING in do_open_execat
2024/04/11 22:47 linux-6.1.y bf1e3b1cb1e0 95ed9ece .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in do_open_execat
2024/04/11 22:17 linux-6.1.y bf1e3b1cb1e0 95ed9ece .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in do_open_execat
2023/11/18 21:15 linux-6.1.y fb2635ac69ab cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in do_open_execat
2025/01/31 14:31 linux-6.1.y 75cefdf153f5 4c6ac32f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in do_open_execat
2025/01/23 13:38 linux-6.1.y f4f677285b38 a44b0418 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in do_open_execat
2025/01/13 05:47 linux-6.1.y c63962be84ef 6dbc6a9b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in do_open_execat
2023/11/16 11:55 linux-6.1.y fb2635ac69ab cb976f63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in do_open_execat
2023/09/16 02:12 linux-6.1.y 09045dae0d90 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in do_open_execat
* Struck through repros no longer work on HEAD.