syzbot


kernel BUG in ntfs_end_buffer_async_read

Status: auto-obsoleted due to no activity on 2024/06/30 13:04
Subsystems: ntfs3
[Documentation on labels]
Reported-by: syzbot+72ba5fe5556d82ad118b@syzkaller.appspotmail.com
First crash: 637d, last: 256d
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 missing-backport C done 2 51d 514d 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 4 22h07m 521d 0/3 upstream: reported C repro on 2023/07/01 09:57
Last patch testing requests (10)
Created Duration User Patch Repo Result
2024/06/01 02:40 26m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci OK log
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
Fix bisection attempts (2)
Created Duration User Patch Repo Result
2024/02/17 08:12 4h52m bisect fix upstream OK (1) job log
2023/10/29 16:23 1h26m bisect fix upstream OK (0) job log log
Cause bisection attempts (2)
Created Duration User Patch Repo Result
2023/08/27 06:44 9h55m bisect upstream OK (0) job log log
2023/07/04 14:37 12h15m bisect upstream error job log
marked invalid by nogikh@google.com

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/ntfs/aops.c:130!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 22 Comm: ksoftirqd/1 Not tainted 6.7.0-rc3-syzkaller-00033-g3b47bc037bd4 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/10/2023
RIP: 0010:ntfs_end_buffer_async_read+0xd34/0x15d0 fs/ntfs/aops.c:130
Code: c3 fe 4c 89 ef 48 c7 c6 a0 2d 9b 8b e8 95 29 06 ff 90 0f 0b e8 6d 24 c3 fe 90 0f 0b e8 65 24 c3 fe 90 0f 0b e8 5d 24 c3 fe 90 <0f> 0b e8 55 24 c3 fe 4c 89 e7 e8 3d 97 ff ff 48 89 c7 48 c7 c6 a0
RSP: 0018:ffffc900001c7b20 EFLAGS: 00010246
RAX: ffffffff82cb55e3 RBX: ffff88804ff18270 RCX: ffff88801767bb80
RDX: 0000000080000100 RSI: 0000000000020211 RDI: 0000000000001000
RBP: 1ffff11009faff3f R08: ffffffff82cb4fe5 R09: 1ffff11009fe300a
R10: dffffc0000000000 R11: ffffed1009fe300b R12: ffffea0001dc1680
R13: 0000000000020211 R14: 0000000000000001 R15: 0000000000000001
FS:  0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffd289c4000 CR3: 0000000028fcf000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 end_bio_bh_io_sync+0xb7/0x110 fs/buffer.c:2775
 req_bio_endio block/blk-mq.c:788 [inline]
 blk_update_request+0x53f/0x1020 block/blk-mq.c:933
 blk_mq_end_request+0x3e/0x70 block/blk-mq.c:1056
 blk_complete_reqs block/blk-mq.c:1131 [inline]
 blk_done_softirq+0x103/0x150 block/blk-mq.c:1136
 __do_softirq+0x2b8/0x939 kernel/softirq.c:553
 run_ksoftirqd+0xc5/0x120 kernel/softirq.c:921
 smpboot_thread_fn+0x530/0x9f0 kernel/smpboot.c:164
 kthread+0x2d3/0x370 kernel/kthread.c:388
 ret_from_fork+0x48/0x80 arch/x86/kernel/process.c:147
 ret_from_fork_asm+0x11/0x20 arch/x86/entry/entry_64.S:242
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:ntfs_end_buffer_async_read+0xd34/0x15d0 fs/ntfs/aops.c:130
Code: c3 fe 4c 89 ef 48 c7 c6 a0 2d 9b 8b e8 95 29 06 ff 90 0f 0b e8 6d 24 c3 fe 90 0f 0b e8 65 24 c3 fe 90 0f 0b e8 5d 24 c3 fe 90 <0f> 0b e8 55 24 c3 fe 4c 89 e7 e8 3d 97 ff ff 48 89 c7 48 c7 c6 a0
RSP: 0018:ffffc900001c7b20 EFLAGS: 00010246
RAX: ffffffff82cb55e3 RBX: ffff88804ff18270 RCX: ffff88801767bb80
RDX: 0000000080000100 RSI: 0000000000020211 RDI: 0000000000001000
RBP: 1ffff11009faff3f R08: ffffffff82cb4fe5 R09: 1ffff11009fe300a
R10: dffffc0000000000 R11: ffffed1009fe300b R12: ffffea0001dc1680
R13: 0000000000020211 R14: 0000000000000001 R15: 0000000000000001
FS:  0000000000000000(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffd289c4000 CR3: 0000000028fcf000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

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