syzbot


kernel BUG in ntfs_end_buffer_async_read

Status: upstream: reported C repro on 2023/07/01 09:57
Bug presence: origin:upstream
Labels: missing-backport
[Documentation on labels]
Reported-by: syzbot+98127c03503f75a1a4d7@syzkaller.appspotmail.com
First crash: 359d, last: 104d
Fix bisection: the issue occurs on the latest tested release (bisect log)
Crash: kernel BUG in ntfs_end_buffer_async_read (log)
Repro: C syz .config
  
Bug presence (3)
Date Name Commit Repro Result
2024/03/12 linux-6.1.y (ToT) 61adba85cc40 C [report] kernel BUG in ntfs_end_buffer_async_read
2023/10/29 upstream (ToT) 2af9b20dbb39 C [report] kernel BUG in ntfs_end_buffer_async_read
2024/03/12 upstream (ToT) 855684c7d938 C Didn't crash
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 kernel BUG in ntfs_end_buffer_async_read origin:upstream missing-backport C done 2 65d 352d 0/3 upstream: reported C repro on 2023/07/08 19:41
upstream kernel BUG in ntfs_end_buffer_async_read ntfs3 C inconclusive done 8 94d 471d 0/27 upstream: reported C repro on 2023/03/11 03:27
Fix bisection attempts (7)
Created Duration User Patch Repo Result
2024/03/21 16:10 1h24m fix candidate upstream job log (0)
2024/03/09 14:54 1h32m bisect fix linux-6.1.y job log (0) log
2024/01/30 18:25 1h47m bisect fix linux-6.1.y job log (0) log
2023/12/29 22:22 1h34m bisect fix linux-6.1.y job log (0) log
2023/11/28 23:32 1h45m bisect fix linux-6.1.y job log (0) log
2023/10/18 06:41 1h35m bisect fix linux-6.1.y job log (0) log
2023/09/14 17:21 1h52m bisect fix linux-6.1.y job log (0) log

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/ntfs/aops.c:130!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 15 Comm: ksoftirqd/0 Not tainted 6.1.60-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/09/2023
RIP: 0010:ntfs_end_buffer_async_read+0xc7b/0x1510 fs/ntfs/aops.c:130
Code: ff e8 29 14 cb fe 4c 89 ff 48 c7 c6 a0 27 1d 8b e8 ea 99 0a ff 0f 0b e8 13 14 cb fe 0f 0b e8 0c 14 cb fe 0f 0b e8 05 14 cb fe <0f> 0b e8 fe 13 cb fe 4c 89 ff e8 66 96 ff ff 48 89 c7 48 c7 c6 40
RSP: 0018:ffffc90000147b28 EFLAGS: 00010246
RAX: ffffffff82bf6a6b RBX: 0000000000000010 RCX: ffff88813feebb80
RDX: 0000000080000100 RSI: 0000000000020211 RDI: 0000000000001000
RBP: ffff888070ca0270 R08: ffffffff82bf6466 R09: ffffed100e19400b
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000
R13: 0000000000020211 R14: 0000000000000001 R15: ffffea0001fde800
FS:  0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055f917150000 CR3: 0000000029b17000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 end_bio_bh_io_sync+0xb3/0x110 fs/buffer.c:2655
 req_bio_endio block/blk-mq.c:763 [inline]
 blk_update_request+0x53b/0x1010 block/blk-mq.c:908
 blk_mq_end_request+0x3a/0x70 block/blk-mq.c:1035
 blk_complete_reqs block/blk-mq.c:1113 [inline]
 blk_done_softirq+0xf8/0x140 block/blk-mq.c:1118
 __do_softirq+0x2e9/0xa4c kernel/softirq.c:571
 run_ksoftirqd+0xc1/0x120 kernel/softirq.c:934
 smpboot_thread_fn+0x52c/0xa30 kernel/smpboot.c:164
 kthread+0x28d/0x320 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:306
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:ntfs_end_buffer_async_read+0xc7b/0x1510 fs/ntfs/aops.c:130
Code: ff e8 29 14 cb fe 4c 89 ff 48 c7 c6 a0 27 1d 8b e8 ea 99 0a ff 0f 0b e8 13 14 cb fe 0f 0b e8 0c 14 cb fe 0f 0b e8 05 14 cb fe <0f> 0b e8 fe 13 cb fe 4c 89 ff e8 66 96 ff ff 48 89 c7 48 c7 c6 40
RSP: 0018:ffffc90000147b28 EFLAGS: 00010246
RAX: ffffffff82bf6a6b RBX: 0000000000000010 RCX: ffff88813feebb80
RDX: 0000000080000100 RSI: 0000000000020211 RDI: 0000000000001000
RBP: ffff888070ca0270 R08: ffffffff82bf6466 R09: ffffed100e19400b
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000
R13: 0000000000020211 R14: 0000000000000001 R15: ffffea0001fde800
FS:  0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055f917150000 CR3: 0000000029b17000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/10/29 01:48 linux-6.1.y 32c9cdbe383c 3c418d72 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan kernel BUG in ntfs_end_buffer_async_read
2023/07/01 10:07 linux-6.1.y a1c449d00ff8 af3053d2 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 kernel BUG in ntfs_end_buffer_async_read
2023/07/01 09:56 linux-6.1.y a1c449d00ff8 af3053d2 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 kernel BUG in ntfs_end_buffer_async_read
* Struck through repros no longer work on HEAD.