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: 206d, last: 2d14h
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 14d 26d 0/26 upstream: reported C repro on 2024/04/09 22:42
linux-5.15 WARNING in do_open_execat 1 413d 413d 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 102d 261d 26/26 fixed on 2024/03/20 11:33
linux-6.1 WARNING in do_open_execat origin:upstream missing-backport C inconclusive 9 24d 233d 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:
ntfs: (device loop0): ntfs_mapping_pairs_decompress(): Corrupt attribute.
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-executor274' launched './file1' with NULL argv: empty string added
------------[ cut here ]------------
WARNING: CPU: 0 PID: 3503 at fs/exec.c:929 do_open_execat+0x330/0x7a0 fs/exec.c:928
Modules linked in:
CPU: 0 PID: 3503 Comm: syz-executor274 Not tainted 5.15.135-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/06/2023
RIP: 0010:do_open_execat+0x330/0x7a0 fs/exec.c:928
Code: 89 de e8 f3 86 a9 ff 31 ff 89 de e8 ea 86 a9 ff 45 84 e4 75 3d 45 85 f6 0f 8f 66 04 00 00 e8 77 84 a9 ff eb bd e8 70 84 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:ffffc900020afc40 EFLAGS: 00010293
RAX: ffffffff81d69d70 RBX: 0000000000000000 RCX: ffff8880789ebb80
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000008000
RBP: ffffc900020afd30 R08: ffffffff81d69c04 R09: ffffc900020afac0
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88807d3b1180
R13: ffff888072686620 R14: 00000000ffffff9c R15: ffff8880780ad500
FS:  0000555555768380(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f1bbde2ee00 CR3: 0000000023464000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 bprm_execve+0x51f/0x17c0 fs/exec.c:1819
 do_execveat_common+0x583/0x720 fs/exec.c:1949
 do_execve fs/exec.c:2019 [inline]
 __do_sys_execve fs/exec.c:2095 [inline]
 __se_sys_execve fs/exec.c:2090 [inline]
 __x64_sys_execve+0x8e/0xa0 fs/exec.c:2090
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f1bc606c6f9
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:00007ffc31a80bd8 EFLAGS: 00000246 ORIG_RAX: 000000000000003b
RAX: ffffffffffffffda RBX: 00007ffc31a80db8 RCX: 00007f1bc606c6f9
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 00000000200000c0
RBP: 00007f1bc60fe610 R08: 000000000001ec65 R09: 0000000000000000
R10: 00007ffc31a80aa0 R11: 0000000000000246 R12: 0000000000000001
R13: 00007ffc31a80da8 R14: 0000000000000001 R15: 0000000000000001
 </TASK>

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