syzbot


WARNING in do_open_execat (2)

Status: upstream: reported C repro on 2023/10/13 04:40
Bug presence: origin:upstream
Labels: missing-backport
[Documentation on labels]
Reported-by: syzbot+e5c24ff201100b18d690@syzkaller.appspotmail.com
First crash: 532d, last: 18h44m
Fix commit to backport (bisect log) :
tree: upstream
commit 7ffa8f3d30236e0ab897c30bdb01224ff1fe1c89
Author: Matthew Wilcox (Oracle) <willy@infradead.org>
Date: Mon Jan 15 07:20:25 2024 +0000

  fs: Remove NTFS classic

  
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/04/24 linux-5.15.y (ToT) c52b9710c83d C [report] WARNING in do_open_execat
2023/10/13 upstream (ToT) 10a6e5feccb8 C [report] WARNING in do_open_execat
2024/04/24 upstream (ToT) e88c4cfcb7b8 C Didn't crash
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in do_open_execat (3) squashfs C 5 7d15h 87d 0/28 upstream: reported C repro on 2024/12/31 06:22
upstream WARNING in do_open_execat (2) ntfs3 C 18 341d 353d 0/28 auto-obsoleted due to no activity on 2024/06/30 18:49
linux-5.15 WARNING in do_open_execat 1 739d 739d 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 428d 588d 25/28 fixed on 2024/03/20 11:33
linux-6.1 WARNING in do_open_execat origin:upstream missing-backport C inconclusive 14 56d 559d 0/3 upstream: reported C repro on 2023/09/16 02:14
Last patch testing requests (10)
Created Duration User Patch Repo Result
2025/03/28 04:48 16m retest repro linux-5.15.y report log
2025/03/28 04:48 12m retest repro linux-5.15.y report log
2025/03/28 04:48 12m retest repro linux-5.15.y report log
2025/03/12 22:58 14m retest repro linux-5.15.y report log
2025/03/12 22:58 10m retest repro linux-5.15.y report log
2025/03/12 22:58 11m retest repro linux-5.15.y report log
2025/01/27 01:02 15m retest repro linux-5.15.y report log
2024/12/20 23:48 10m retest repro linux-5.15.y report log
2024/12/20 23:48 12m retest repro linux-5.15.y report log
2024/12/20 23:48 9m retest repro linux-5.15.y report log
Fix bisection attempts (5)
Created Duration User Patch Repo Result
2024/04/26 07:27 4h03m fix candidate upstream OK (1) job log
2024/02/24 20:45 57m bisect fix linux-5.15.y OK (0) job log log
2024/01/17 02:40 1h40m bisect fix linux-5.15.y OK (0) job log log
2023/12/16 23:21 1h03m bisect fix linux-5.15.y OK (0) job log log
2023/11/15 16:46 58m bisect fix linux-5.15.y OK (0) job log log

Sample crash report:
loop0: detected capacity change from 0 to 4096
ntfs: volume version 3.1.
process 'syz-executor592' launched './file1' with NULL argv: empty string added
------------[ cut here ]------------
WARNING: CPU: 0 PID: 4165 at fs/exec.c:928 do_open_execat+0x65f/0x7b0
Modules linked in:
CPU: 1 PID: 4165 Comm: syz-executor592 Not tainted 5.15.178-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024
RIP: 0010:do_open_execat+0x65f/0x7b0 fs/exec.c:928
Code: 44 89 f7 48 89 de ba 01 00 00 00 31 c9 45 31 c0 4c 8b 4c 24 08 6a 00 e8 9f b9 10 00 48 83 c4 08 e9 1b fb ff ff e8 11 40 a9 ff <0f> 0b e9 1f fd ff ff e8 05 40 a9 ff 48 c7 c3 e6 ff ff ff 49 be 00
RSP: 0018:ffffc90002f1fc60 EFLAGS: 00010293
RAX: ffffffff81d7457f RBX: 0000000000000000 RCX: ffff888073115940
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000008000
RBP: ffffc90002f1fd30 R08: ffffffff81d74134 R09: ffffc90002f1fae0
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880744bb4a0
R13: ffff88807801e780 R14: dffffc0000000000 R15: 1ffff920005e3f90
FS:  000055557e96d380(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000559c880a8488 CR3: 000000001c3d8000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 bprm_execve+0x51f/0x17c0 fs/exec.c:1827
 do_execveat_common+0x583/0x720 fs/exec.c:1957
 do_execve fs/exec.c:2027 [inline]
 __do_sys_execve fs/exec.c:2103 [inline]
 __se_sys_execve fs/exec.c:2098 [inline]
 __x64_sys_execve+0x8e/0xa0 fs/exec.c:2098
 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:0x7fbe1f950f19
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fff6937de08 EFLAGS: 00000246 ORIG_RAX: 000000000000003b
RAX: ffffffffffffffda RBX: 0031656c69662f2e RCX: 00007fbe1f950f19
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000400000000040
RBP: 00007fbe1f99a095 R08: 000000000001ee3b R09: 000055557e96e4c0
R10: 00007fff6937dcd0 R11: 0000000000000246 R12: 00007fbe1f99a09f
R13: 00007fff6937e058 R14: 431bde82d7b634db R15: 00007fbe1f99a03b
 </TASK>

Crashes (13):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/02/24 18:09 linux-5.15.y c16c81c81336 d34966d1 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan WARNING in do_open_execat
2025/01/12 15:52 linux-5.15.y 4735586da88e 6dbc6a9b .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan WARNING in do_open_execat
2024/05/08 07:17 linux-5.15.y 284087d4f7d5 4cf3f9b3 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan WARNING in do_open_execat
2023/10/13 11:09 linux-5.15.y 02e21884dcf2 6388bc36 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan WARNING in do_open_execat
2025/02/26 18:08 linux-5.15.y c16c81c81336 d34966d1 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 WARNING in do_open_execat
2024/04/22 07:52 linux-5.15.y c52b9710c83d af24b050 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 WARNING in do_open_execat
2024/03/11 19:27 linux-5.15.y 574362648507 6ee49f2e .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 WARNING in do_open_execat
2025/01/12 15:08 linux-5.15.y 4735586da88e 6dbc6a9b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in do_open_execat
2024/04/11 22:46 linux-5.15.y cdfd0a7f0139 95ed9ece .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in do_open_execat
2024/04/11 22:13 linux-5.15.y cdfd0a7f0139 95ed9ece .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in do_open_execat
2023/10/13 04:39 linux-5.15.y 02e21884dcf2 6388bc36 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in do_open_execat
2024/07/18 07:38 linux-5.15.y f45bea23c39c 0f902625 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in do_open_execat
2024/05/03 20:28 linux-5.15.y 284087d4f7d5 dd26401e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in do_open_execat
* Struck through repros no longer work on HEAD.