syzbot


kernel BUG in ntfs_end_buffer_async_read

Status: upstream: reported C repro on 2023/07/08 19:41
Bug presence: origin:upstream
Labels: missing-backport
[Documentation on labels]
Reported-by: syzbot+179193426fe51c3f26af@syzkaller.appspotmail.com
First crash: 302d, last: 16d
Fix bisection: failed (error log, bisect log)
  
Bug presence (3)
Date Name Commit Repro Result
2024/04/20 linux-5.15.y (ToT) c52b9710c83d C [report] kernel BUG in ntfs_end_buffer_async_read
2023/09/22 upstream (ToT) 27bbf45eae9c C [report] kernel BUG in ntfs_end_buffer_async_read
2024/04/20 upstream (ToT) 13a2e429f644 C Didn't crash
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 kernel BUG in ntfs_end_buffer_async_read origin:upstream missing-backport C inconclusive 3 55d 310d 0/3 upstream: reported C repro on 2023/07/01 09:57
upstream kernel BUG in ntfs_end_buffer_async_read ntfs3 C inconclusive done 8 45d 422d 0/26 upstream: reported C repro on 2023/03/11 03:27

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/ntfs/aops.c:130!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 20 Comm: ksoftirqd/1 Not tainted 5.15.132-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 08/04/2023
RIP: 0010:ntfs_end_buffer_async_read+0xbb0/0xc70 fs/ntfs/aops.c:130
Code: ff e8 64 8a e4 fe 4c 89 f7 48 c7 c6 40 99 b9 8a e8 85 a5 1a ff 0f 0b e8 4e 8a e4 fe 0f 0b e8 47 8a e4 fe 0f 0b e8 40 8a e4 fe <0f> 0b 48 85 ed 75 43 e8 34 8a e4 fe 48 8b 1c 24 eb 40 48 85 ed 75
RSP: 0018:ffffc90000da7b48 EFLAGS: 00010246
RAX: ffffffff829b9320 RBX: 0000000000000010 RCX: ffff8880129f0000
RDX: 0000000080000100 RSI: 0000000000020211 RDI: 0000000000001000
RBP: ffff8880725b0270 R08: ffffffff829b8d76 R09: ffffed100e4b600b
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001
R13: 0000000000020211 R14: dffffc0000000000 R15: 0000000000000001
FS:  0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f7c4dde4c00 CR3: 0000000023a2f000 CR4: 00000000003506e0
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:3007
 req_bio_endio block/blk-core.c:261 [inline]
 blk_update_request+0x87c/0x1470 block/blk-core.c:1447
 blk_mq_end_request+0x3a/0x70 block/blk-mq.c:575
 blk_complete_reqs block/blk-mq.c:587 [inline]
 blk_done_softirq+0xf2/0x130 block/blk-mq.c:592
 __do_softirq+0x3b3/0x93a kernel/softirq.c:558
 run_ksoftirqd+0xc1/0x120 kernel/softirq.c:921
 smpboot_thread_fn+0x51b/0x9d0 kernel/smpboot.c:164
 kthread+0x3f6/0x4f0 kernel/kthread.c:319
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298
 </TASK>
Modules linked in:
---[ end trace 665446f9897079b1 ]---
RIP: 0010:ntfs_end_buffer_async_read+0xbb0/0xc70 fs/ntfs/aops.c:130
Code: ff e8 64 8a e4 fe 4c 89 f7 48 c7 c6 40 99 b9 8a e8 85 a5 1a ff 0f 0b e8 4e 8a e4 fe 0f 0b e8 47 8a e4 fe 0f 0b e8 40 8a e4 fe <0f> 0b 48 85 ed 75 43 e8 34 8a e4 fe 48 8b 1c 24 eb 40 48 85 ed 75
RSP: 0018:ffffc90000da7b48 EFLAGS: 00010246
RAX: ffffffff829b9320 RBX: 0000000000000010 RCX: ffff8880129f0000
RDX: 0000000080000100 RSI: 0000000000020211 RDI: 0000000000001000
RBP: ffff8880725b0270 R08: ffffffff829b8d76 R09: ffffed100e4b600b
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000001
R13: 0000000000020211 R14: dffffc0000000000 R15: 0000000000000001
FS:  0000000000000000(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f7c4dde4c00 CR3: 0000000023a2f000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/09/22 09:35 linux-5.15.y 35ecaa3632bf 0b6a67ac .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan kernel BUG in ntfs_end_buffer_async_read
2023/07/08 19:41 linux-5.15.y d54cfc420586 668cb1fa .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 kernel BUG in ntfs_end_buffer_async_read
* Struck through repros no longer work on HEAD.