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: 251d, last: 43d
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 (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in do_open_execat (2) ntfs3 C 18 60d 72d 0/27 upstream: reported C repro on 2024/04/09 22:42
linux-5.15 WARNING in do_open_execat 1 458d 458d 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 147d 307d 26/27 fixed on 2024/03/20 11:33
linux-6.1 WARNING in do_open_execat origin:upstream missing-backport C inconclusive 9 70d 279d 0/3 upstream: reported C repro on 2023/09/16 02:14
Fix bisection attempts (5)
Created Duration User Patch Repo Result
2024/04/26 07:27 4h03m fix candidate upstream job log (1)
2024/02/24 20:45 57m bisect fix linux-5.15.y job log (0) log
2024/01/17 02:40 1h40m bisect fix linux-5.15.y job log (0) log
2023/12/16 23:21 1h03m bisect fix linux-5.15.y job log (0) log
2023/11/15 16:46 58m bisect fix linux-5.15.y job log (0) log

Sample crash report:
loop0: detected capacity change from 0 to 4096
ntfs: volume version 3.1.
process 'syz-executor991' launched './file1' with NULL argv: empty string added
------------[ cut here ]------------
WARNING: CPU: 1 PID: 3499 at fs/exec.c:930 do_open_execat+0x330/0x7a0 fs/exec.c:929
Modules linked in:
CPU: 1 PID: 3499 Comm: syz-executor991 Not tainted 5.15.158-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
RIP: 0010:do_open_execat+0x330/0x7a0 fs/exec.c:929
Code: 89 de e8 73 57 a9 ff 31 ff 89 de e8 6a 57 a9 ff 45 84 e4 75 3d 45 85 f6 0f 8f 66 04 00 00 e8 f7 54 a9 ff eb bd e8 f0 54 a9 ff <0f> 0b 48 c7 c3 f3 ff ff ff 49 bd 00 00 00 00 00 fc ff df 4c 8b 7c
RSP: 0018:ffffc90002c07c40 EFLAGS: 00010293
RAX: ffffffff81d707d0 RBX: 0000000000000000 RCX: ffff888079335940
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000008000
RBP: ffffc90002c07d30 R08: ffffffff81d70664 R09: ffffc90002c07ac0
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88807a922000
R13: ffff8880710b9be0 R14: 00000000ffffff9c R15: ffff8880785c3300
FS:  0000555555c2a380(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055890aca8030 CR3: 00000000222c7000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 bprm_execve+0x51f/0x17c0 fs/exec.c:1823
 do_execveat_common+0x583/0x720 fs/exec.c:1953
 do_execve fs/exec.c:2023 [inline]
 __do_sys_execve fs/exec.c:2099 [inline]
 __se_sys_execve fs/exec.c:2094 [inline]
 __x64_sys_execve+0x8e/0xa0 fs/exec.c:2094
 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:0x7fcf25e0cb79
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:00007ffca6187348 EFLAGS: 00000246 ORIG_RAX: 000000000000003b
RAX: ffffffffffffffda RBX: 0031656c69662f2e RCX: 00007fcf25e0cb79
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000020000480
RBP: 00007fcf25e5505e R08: 000000000001ee3b R09: 0000000000000000
R10: 00007ffca6187210 R11: 0000000000000246 R12: 00007fcf25e55068
R13: 00007ffca6187528 R14: 0000000000000001 R15: 0000000000000001
 </TASK>

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