syzbot


kernel BUG in ntfs_end_buffer_async_read

Status: upstream: reported C repro on 2023/03/11 03:27
Subsystems: ntfs3
[Documentation on labels]
Reported-by: syzbot+72ba5fe5556d82ad118b@syzkaller.appspotmail.com
First crash: 409d, last: 28d
Cause bisection: the issue happens on the oldest tested release (bisect log)
Crash: kernel BUG in ntfs_end_buffer_async_read (log)
Repro: C syz .config
  
Fix bisection: fixed by (bisect log) :
commit 6f861765464f43a71462d52026fbddfc858239a5
Author: Jan Kara <jack@suse.cz>
Date: Wed Nov 1 17:43:10 2023 +0000

  fs: Block writes to mounted block devices

  
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [ntfs?] kernel BUG in ntfs_end_buffer_async_read 0 (3) 2024/02/17 13:05
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 C error 2 210d 286d 0/3 upstream: reported C repro on 2023/07/08 19:41
linux-6.1 kernel BUG in ntfs_end_buffer_async_read origin:upstream missing-backport C inconclusive 3 38d 293d 0/3 upstream: reported C repro on 2023/07/01 09:57
Last patch testing requests (10)
Created Duration User Patch Repo Result
2024/03/22 12:45 18m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log
2024/02/22 20:26 1h47m retest repro upstream OK log
2024/02/04 20:55 23m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci OK log
2024/01/26 14:42 20m retest repro upstream OK log
2024/01/07 18:22 10m retest repro upstream report log
2023/12/14 19:47 14m retest repro upstream report log
2023/12/14 19:09 20m retest repro linux-next OK log
2023/11/26 19:44 20m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log
2023/11/12 18:49 17m retest repro upstream report log
2023/09/28 17:34 14m retest repro linux-next report log
Fix bisection attempts (2)
Created Duration User Patch Repo Result
2024/02/17 08:12 4h52m bisect fix upstream job log (1)
2023/10/29 16:23 1h26m bisect fix upstream job log (0) log
Cause bisection attempts (2)
Created Duration User Patch Repo Result
2023/08/27 06:44 9h55m bisect upstream job log (0) log
2023/07/04 14:37 12h15m bisect upstream error job log (0)
marked invalid by nogikh@google.com

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/ntfs/aops.c:130!
Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP
Modules linked in:
CPU: 1 PID: 22 Comm: ksoftirqd/1 Not tainted 6.8.0-rc6-syzkaller-g9910665503b3 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/25/2024
pstate: 00400005 (nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : ntfs_end_buffer_async_read+0xabc/0xc0c fs/ntfs/aops.c:130
lr : ntfs_end_buffer_async_read+0xabc/0xc0c fs/ntfs/aops.c:130
sp : ffff800093a579c0
x29: ffff800093a579d0 x28: fffffdffc6195640 x27: 1fffe0001bb15b74
x26: 0000000000001000 x25: dfff800000000000 x24: ffff0000dd8adaa8
x23: 0000000000000000 x22: ffff0000dd8adc08 x21: 0000000000000001
x20: 0000000000042611 x19: 0000000000000330 x18: 1fffe00036804396
x17: ffff80008ec9d000 x16: ffff800080275eb0 x15: 0000000000000001
x14: 1fffe0001bb15b81 x13: 0000000000000000 x12: 0000000000000003
x11: 0000000000000101 x10: 0000000000ff0100 x9 : 0000000000000000
x8 : ffff0000c1c6bc00 x7 : ffff8000816f3404 x6 : 0000000000000000
x5 : 0000000000000001 x4 : 0000000000000001 x3 : 0000000000000000
x2 : ffff0000c1c6bc00 x1 : 0000000000042611 x0 : 0000000000001000
Call trace:
 ntfs_end_buffer_async_read+0xabc/0xc0c fs/ntfs/aops.c:130
 end_bio_bh_io_sync+0xb0/0x194 fs/buffer.c:2754
 bio_endio+0x740/0x784 block/bio.c:1608
 req_bio_endio block/blk-mq.c:792 [inline]
 blk_update_request+0x540/0x1090 block/blk-mq.c:937
 blk_mq_end_request+0x54/0x88 block/blk-mq.c:1060
 lo_complete_rq+0x188/0x2f4 drivers/block/loop.c:366
 blk_complete_reqs block/blk-mq.c:1135 [inline]
 blk_done_softirq+0x11c/0x168 block/blk-mq.c:1140
 __do_softirq+0x2d8/0xce4 kernel/softirq.c:553
 run_ksoftirqd+0x6c/0x14c kernel/softirq.c:921
 smpboot_thread_fn+0x4b0/0x90c kernel/smpboot.c:164
 kthread+0x288/0x310 kernel/kthread.c:388
 ret_from_fork+0x10/0x20 arch/arm64/kernel/entry.S:860
Code: c8097e88 35ffffa9 17fffd8e 97b8d25a (d4210000) 
---[ end trace 0000000000000000 ]---

Crashes (8):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/03/06 13:06 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9910665503b3 f39a7eed .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-arm64 kernel BUG in ntfs_end_buffer_async_read
2023/11/30 18:54 upstream 3b47bc037bd4 f819d6f7 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-smack-root kernel BUG in ntfs_end_buffer_async_read
2023/08/07 17:14 upstream 52a93d39b17d 0ef3dfda .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-root kernel BUG in ntfs_end_buffer_async_read
2023/07/02 15:24 upstream dfab92f27c60 bfc47836 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs kernel BUG in ntfs_end_buffer_async_read
2023/09/14 14:40 linux-next 98897dc735cf 0b6a67ac .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-linux-next-kasan-gce-root kernel BUG in ntfs_end_buffer_async_read
2023/07/02 17:50 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci e40939bbfc68 bfc47836 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-arm64 kernel BUG in ntfs_end_buffer_async_read
2024/03/06 12:52 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9910665503b3 f39a7eed .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in ntfs_end_buffer_async_read
2023/03/07 03:23 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci fe15c26ee26e f8902b57 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 kernel BUG in ntfs_end_buffer_async_read
* Struck through repros no longer work on HEAD.