syzbot


kernel BUG in folio_set_bh (2)

Status: upstream: reported C repro on 2026/01/13 01:31
Subsystems: ntfs3
[Documentation on labels]
Reported-by: syzbot+9c4e33e12283d9437c25@syzkaller.appspotmail.com
First crash: 2d23h, last: 20h39m
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [ntfs3?] kernel BUG in folio_set_bh (2) 0 (2) 2026/01/13 07:59
Similar bugs (1)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream kernel BUG in folio_set_bh ntfs3 -1 C done 202 6d12h 194d 29/29 fixed on 2026/01/07 12:29
Last patch testing requests (1)
Created Duration User Patch Repo Result
2026/01/13 07:59 kartikey406@gmail.com patch upstream pending

Sample crash report:
ntfs3: block size(32768) > page size(4096) not supported by filesystem
------------[ cut here ]------------
kernel BUG at fs/buffer.c:1582!
Oops: invalid opcode: 0000 [#1] SMP KASAN NOPTI
CPU: 0 UID: 0 PID: 5660 Comm: syz.0.28 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014
RIP: 0010:folio_set_bh+0x1dc/0x1e0 fs/buffer.c:1582
Code: 4c 89 e2 e8 a6 8f 7b 02 e9 42 ff ff ff e8 dc 0f 74 ff 48 89 df 48 c7 c6 80 8a 7a 8b e8 0d 0f db fe 90 0f 0b e8 c5 0f 74 ff 90 <0f> 0b 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f
RSP: 0018:ffffc9000365f938 EFLAGS: 00010293
RAX: ffffffff824cf79b RBX: ffffea000161a100 RCX: ffff888042f38000
RDX: 0000000000000000 RSI: 0000000000001000 RDI: 0000000000001000
RBP: dffffc0000000000 R08: ffffea000161a107 R09: 1ffffd40002c3420
R10: dffffc0000000000 R11: fffff940002c3421 R12: 0000000000000000
R13: 0000000000001000 R14: ffff888048834658 R15: 0000000000001000
FS:  00005555565a0500(0000) GS:ffff88808d414000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fad523b5000 CR3: 00000000529ff000 CR4: 0000000000352ef0
Call Trace:
 <TASK>
 folio_alloc_buffers+0x3a0/0x640 fs/buffer.c:946
 grow_dev_folio fs/buffer.c:1075 [inline]
 grow_buffers fs/buffer.c:1116 [inline]
 __getblk_slow fs/buffer.c:1134 [inline]
 bdev_getblk+0x2cc/0x6e0 fs/buffer.c:1461
 __bread_gfp+0x89/0x3b0 fs/buffer.c:1515
 sb_bread include/linux/buffer_head.h:346 [inline]
 romfs_blk_read fs/romfs/storage.c:114 [inline]
 romfs_dev_read+0x22b/0x350 fs/romfs/storage.c:229
 romfs_fill_super+0x20e/0x720 fs/romfs/super.c:486
 get_tree_bdev_flags+0x40e/0x4d0 fs/super.c:1691
 vfs_get_tree+0x92/0x2a0 fs/super.c:1751
 fc_mount fs/namespace.c:1199 [inline]
 do_new_mount_fc fs/namespace.c:3636 [inline]
 do_new_mount+0x302/0xa10 fs/namespace.c:3712
 do_mount fs/namespace.c:4035 [inline]
 __do_sys_mount fs/namespace.c:4224 [inline]
 __se_sys_mount+0x313/0x410 fs/namespace.c:4201
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0xec/0xf80 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f99b118f7c9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fffee29d558 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f99b13e5fa0 RCX: 00007f99b118f7c9
RDX: 0000200000000000 RSI: 00002000000001c0 RDI: 0000200000000140
RBP: 00007f99b1213f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000008000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f99b13e5fa0 R14: 00007f99b13e5fa0 R15: 0000000000000005
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:folio_set_bh+0x1dc/0x1e0 fs/buffer.c:1582
Code: 4c 89 e2 e8 a6 8f 7b 02 e9 42 ff ff ff e8 dc 0f 74 ff 48 89 df 48 c7 c6 80 8a 7a 8b e8 0d 0f db fe 90 0f 0b e8 c5 0f 74 ff 90 <0f> 0b 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f
RSP: 0018:ffffc9000365f938 EFLAGS: 00010293
RAX: ffffffff824cf79b RBX: ffffea000161a100 RCX: ffff888042f38000
RDX: 0000000000000000 RSI: 0000000000001000 RDI: 0000000000001000
RBP: dffffc0000000000 R08: ffffea000161a107 R09: 1ffffd40002c3420
R10: dffffc0000000000 R11: fffff940002c3421 R12: 0000000000000000
R13: 0000000000001000 R14: ffff888048834658 R15: 0000000000001000
FS:  00005555565a0500(0000) GS:ffff88808d414000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c0094f8000 CR3: 00000000529ff000 CR4: 0000000000352ef0

Crashes (8):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/01/10 10:39 upstream 54e82e93ca93 d1b870e1 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro] ci-snapshot-upstream-root kernel BUG in folio_set_bh
2026/01/10 09:54 upstream 54e82e93ca93 d1b870e1 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro] ci-snapshot-upstream-root kernel BUG in folio_set_bh
2026/01/10 09:15 upstream 54e82e93ca93 d1b870e1 .config console log report syz / log C [disk image (non-bootable)] [vmlinux] [kernel image] [mounted in repro] ci-snapshot-upstream-root kernel BUG in folio_set_bh
2026/01/12 11:29 upstream 54e82e93ca93 d1b870e1 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in folio_set_bh
2026/01/11 15:28 upstream 54e82e93ca93 d1b870e1 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in folio_set_bh
2026/01/10 23:59 upstream 54e82e93ca93 d1b870e1 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in folio_set_bh
2026/01/10 11:56 upstream 54e82e93ca93 d1b870e1 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in folio_set_bh
2026/01/10 08:35 upstream 54e82e93ca93 d1b870e1 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root kernel BUG in folio_set_bh
* Struck through repros no longer work on HEAD.