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: 625d, last: 9d01h
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 100d 180d 0/29 upstream: reported C repro on 2024/12/31 06:22
upstream WARNING in do_open_execat (2) ntfs3 C 18 433d 445d 0/29 auto-obsoleted due to no activity on 2024/06/30 18:49
linux-5.15 WARNING in do_open_execat 1 832d 832d 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 521d 680d 25/29 fixed on 2024/03/20 11:33
linux-6.1 WARNING in do_open_execat missing-backport origin:lts-only C inconclusive 15 1d06h 652d 0/3 upstream: reported C repro on 2023/09/16 02:14
Last patch testing requests (10)
Created Duration User Patch Repo Result
2025/06/17 10:53 10m retest repro linux-5.15.y report log
2025/06/17 10:53 12m retest repro linux-5.15.y report log
2025/06/17 10:53 11m retest repro linux-5.15.y report log
2025/05/27 15:41 14m retest repro linux-5.15.y report log
2025/05/27 15:41 15m retest repro linux-5.15.y report log
2025/05/27 15:41 9m retest repro linux-5.15.y report log
2025/04/11 07:45 9m retest repro linux-5.15.y report log
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
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:
ntfs: (device loop0): ntfs_read_block(): Failed to read from inode 0xa, attribute type 0x80, vcn 0x1, offset 0x0 because its location on disk could not be determined even after retrying (error code -5).
ntfs: (device loop0): ntfs_mapping_pairs_decompress(): Corrupt attribute.
ntfs: volume version 3.1.
process 'syz-executor279' launched './file1' with NULL argv: empty string added
------------[ cut here ]------------
WARNING: CPU: 0 PID: 4165 at fs/exec.c:928 do_open_execat+0x631/0x740 fs/exec.c:928
Modules linked in:
CPU: 0 PID: 4165 Comm: syz-executor279 Not tainted 5.15.185-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:do_open_execat+0x631/0x740 fs/exec.c:928
Code: 00 48 83 c4 08 49 bd 00 00 00 00 00 fc ff df e9 df fc ff ff e8 90 a5 ae ff 49 c7 c6 e6 ff ff ff e9 ab fc ff ff e8 7f a5 ae ff <0f> 0b e9 b0 fc ff ff e8 03 50 d8 07 44 89 e1 80 e1 07 fe c1 38 c1
RSP: 0018:ffffc90002e8fc40 EFLAGS: 00010293
RAX: ffffffff81c91ca1 RBX: ffff8880235cf900 RCX: ffff88807b708000
RDX: 0000000000000000 RSI: 00000000000001ff RDI: 0000000000008fff
RBP: ffffc90002e8fd10 R08: dffffc0000000000 R09: ffffc90002e8fac0
R10: fffff520005d1f5a R11: 1ffff920005d1f58 R12: ffff888070e25de0
R13: dffffc0000000000 R14: 00000000000001ff R15: ffff88801a9ee600
FS:  000055557c9b3380(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f38d902e000 CR3: 000000001f2c1000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 bprm_execve+0x511/0x17d0 fs/exec.c:1827
 do_execveat_common+0x51e/0x6d0 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+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f515732b6f9
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:00007fff0b30ce18 EFLAGS: 00000246 ORIG_RAX: 000000000000003b
RAX: ffffffffffffffda RBX: 00007fff0b30cff8 RCX: 00007f515732b6f9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00002000000000c0
RBP: 00007f51573bd610 R08: 000000000001ec65 R09: 0000000000000000
R10: 00007fff0b30cce0 R11: 0000000000000246 R12: 0000000000000001
R13: 00007fff0b30cfe8 R14: 0000000000000001 R15: 0000000000000001
 </TASK>

Crashes (14):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/06/20 09:19 linux-5.15.y 1c700860e8bc ed3e87f7 .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/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.