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: 494d, last: 22d
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 9d01h 49d 0/28 upstream: reported C repro on 2024/12/31 06:22
upstream WARNING in do_open_execat (2) ntfs3 C 18 302d 314d 0/28 auto-obsoleted due to no activity on 2024/06/30 18:49
linux-5.15 WARNING in do_open_execat 1 701d 701d 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 390d 549d 25/28 fixed on 2024/03/20 11:33
linux-6.1 WARNING in do_open_execat origin:upstream missing-backport C inconclusive 14 17d 521d 0/3 upstream: reported C repro on 2023/09/16 02:14
Last patch testing requests (9)
Created Duration User Patch Repo Result
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
2024/12/20 23:48 11m retest repro linux-5.15.y report log
2024/10/11 00:36 11m retest repro linux-5.15.y report log
2024/10/11 00:36 57m retest repro linux-5.15.y report log
2024/10/11 00:36 9m retest repro linux-5.15.y report log
2024/10/11 00:36 10m 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-executor332' launched './file1' with NULL argv: empty string added
------------[ cut here ]------------
WARNING: CPU: 1 PID: 4162 at fs/exec.c:928 do_open_execat+0x65f/0x7b0
Modules linked in:
CPU: 1 PID: 4162 Comm: syz-executor332 Not tainted 5.15.176-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/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 8f b9 10 00 48 83 c4 08 e9 1b fb ff ff e8 41 40 a9 ff <0f> 0b e9 1f fd ff ff e8 35 40 a9 ff 48 c7 c3 e6 ff ff ff 49 be 00
RSP: 0018:ffffc900011dfc60 EFLAGS: 00010293
RAX: ffffffff81d7449f RBX: 0000000000000000 RCX: ffff88802398d940
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000008000
RBP: ffffc900011dfd30 R08: ffffffff81d74054 R09: ffffc900011dfae0
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88806fab5de0
R13: ffff888078014f00 R14: dffffc0000000000 R15: 1ffff9200023bf90
FS:  000055558ce95380(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055748a401118 CR3: 000000002653a000 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_execveat fs/exec.c:2038 [inline]
 __do_sys_execveat fs/exec.c:2112 [inline]
 __se_sys_execveat fs/exec.c:2106 [inline]
 __x64_sys_execveat+0xc0/0xe0 fs/exec.c:2106
 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:0x7f1c12299639
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 61 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:00007ffddd0cbcb8 EFLAGS: 00000246 ORIG_RAX: 0000000000000142
RAX: ffffffffffffffda RBX: 00007ffddd0cbe98 RCX: 00007f1c12299639
RDX: 0000000000000000 RSI: 0000000020000140 RDI: 00000000ffffff9c
RBP: 00007f1c1232b610 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000001
R13: 00007ffddd0cbe88 R14: 0000000000000001 R15: 0000000000000001
 </TASK>

Crashes (11):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
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
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.