[v6.6] kernel BUG in hfsplus_bnode_put

0 views
Skip to first unread message

syzbot

unread,
Sep 2, 2025, 12:59:28 PM (5 days ago) Sep 2
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: cc1a1c5b404a Linux 6.6.103
git tree: linux-6.6.y
console output: https://syzkaller.appspot.com/x/log.txt?x=145d8e62580000
kernel config: https://syzkaller.appspot.com/x/.config?x=412020841cf033b0
dashboard link: https://syzkaller.appspot.com/bug?extid=54a2d35bfc861816d757
compiler: Debian clang version 20.1.7 (++20250616065708+6146a88f6049-1~exp1~20250616065826.132), Debian LLD 20.1.7

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/46c06862a545/disk-cc1a1c5b.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/38ddabb6fc8b/vmlinux-cc1a1c5b.xz
kernel image: https://storage.googleapis.com/syzbot-assets/b130b7d031b5/bzImage-cc1a1c5b.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+54a2d3...@syzkaller.appspotmail.com

loop5: detected capacity change from 0 to 1024
------------[ cut here ]------------
kernel BUG at fs/hfsplus/bnode.c:716!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 7407 Comm: syz.5.345 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/12/2025
RIP: 0010:hfsplus_bnode_put+0x53b/0x550 fs/hfsplus/bnode.c:716
Code: a2 88 ff e9 b2 fe ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c f0 fe ff ff 48 89 df e8 9f a1 88 ff e9 e3 fe ff ff e8 75 5b 31 ff <0f> 0b e8 6e 5b 31 ff 0f 0b 66 2e 0f 1f 84 00 00 00 00 00 66 90 66
RSP: 0018:ffffc900058df568 EFLAGS: 00010287
RAX: ffffffff8254342b RBX: ffff88806ad45c00 RCX: 0000000000080000
RDX: ffffc90004882000 RSI: 000000000000af59 RDI: 000000000000af5a
RBP: 0000000000000000 R08: ffff88806ad45c83 R09: 1ffff1100d5a8b90
R10: dffffc0000000000 R11: ffffed100d5a8b91 R12: ffff88806ad45c80
R13: 1ffff92000b1bec0 R14: dffffc0000000000 R15: ffff8880755e8000
FS: 00007fb8908306c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f7103333e9c CR3: 000000005bf1d000 CR4: 00000000003506e0
Call Trace:
<TASK>
hfsplus_bmap_alloc+0x525/0x5b0 fs/hfsplus/btree.c:414
hfs_bnode_split+0xcd/0xee0 fs/hfsplus/brec.c:245
hfsplus_brec_insert+0x38f/0xcc0 fs/hfsplus/brec.c:100
hfsplus_create_cat+0x9e0/0xff0 fs/hfsplus/catalog.c:308
hfsplus_mknod+0x16a/0x280 fs/hfsplus/dir.c:494
vfs_mkdir+0x296/0x440 fs/namei.c:4113
do_mkdirat+0x1d4/0x440 fs/namei.c:4136
__do_sys_mkdirat fs/namei.c:4151 [inline]
__se_sys_mkdirat fs/namei.c:4149 [inline]
__x64_sys_mkdirat+0x89/0xa0 fs/namei.c:4149
do_syscall_x64 arch/x86/entry/common.c:51 [inline]
do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7fb88f98d457
Code: 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 b8 02 01 00 00 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:00007fb89082fe68 EFLAGS: 00000246 ORIG_RAX: 0000000000000102
RAX: ffffffffffffffda RBX: 00007fb89082fef0 RCX: 00007fb88f98d457
RDX: 00000000000001ff RSI: 0000200000000680 RDI: 00000000ffffff9c
RBP: 0000200000000080 R08: 0000200000000d40 R09: 0000000000000000
R10: 0000200000000080 R11: 0000000000000246 R12: 0000200000000680
R13: 00007fb89082feb0 R14: 0000000000000000 R15: 0000000000000000
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:hfsplus_bnode_put+0x53b/0x550 fs/hfsplus/bnode.c:716
Code: a2 88 ff e9 b2 fe ff ff 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c f0 fe ff ff 48 89 df e8 9f a1 88 ff e9 e3 fe ff ff e8 75 5b 31 ff <0f> 0b e8 6e 5b 31 ff 0f 0b 66 2e 0f 1f 84 00 00 00 00 00 66 90 66
RSP: 0018:ffffc900058df568 EFLAGS: 00010287
RAX: ffffffff8254342b RBX: ffff88806ad45c00 RCX: 0000000000080000
RDX: ffffc90004882000 RSI: 000000000000af59 RDI: 000000000000af5a
RBP: 0000000000000000 R08: ffff88806ad45c83 R09: 1ffff1100d5a8b90
R10: dffffc0000000000 R11: ffffed100d5a8b91 R12: ffff88806ad45c80
R13: 1ffff92000b1bec0 R14: dffffc0000000000 R15: ffff8880755e8000
FS: 00007fb8908306c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ff435e3db2d CR3: 000000005bf1d000 CR4: 00000000003506f0


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

If the report is already addressed, let syzbot know by replying with:
#syz fix: exact-commit-title

If you want to overwrite report's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)

If the report is a duplicate of another one, reply with:
#syz dup: exact-subject-of-another-report

If you want to undo deduplication, reply with:
#syz undup
Reply all
Reply to author
Forward
0 new messages