syzbot


memory leak in __hfs_bnode_create

Status: upstream: reported C repro on 2026/04/17 01:56
Subsystems: hfs
[Documentation on labels]
Reported-by: syzbot+98547b0428b6a6a3467c@syzkaller.appspotmail.com
First crash: 27d, last: 2d04h
Discussions (2)
Title Replies (including bot) Last reply
[PATCH] hfsplus: Supports freeing newly created tree head 5 (5) 2026/04/28 02:37
[syzbot] [hfs?] memory leak in __hfs_bnode_create 5 (11) 2026/04/17 06:58
Last patch testing requests (5)
Created Duration User Patch Repo Result
2026/04/17 06:22 22m eadavis@qq.com patch upstream OK log
2026/04/17 06:05 24m eadavis@qq.com patch upstream OK log
2026/04/17 05:04 20m eadavis@qq.com patch upstream OK log
2026/04/17 04:52 19m eadavis@qq.com patch upstream OK log
2026/04/17 03:11 17m eadavis@qq.com patch upstream report log

Sample crash report:
BUG: memory leak
unreferenced object 0xffff88810a0acba0 (size 96):
  comm "syz.0.17", pid 5936, jiffies 4294942418
  hex dump (first 32 bytes):
    00 90 e3 1c 81 88 ff ff 00 00 00 00 00 00 00 00  ................
    00 00 00 06 00 00 00 00 03 00 01 00 00 00 00 00  ................
  backtrace (crc e030b1fa):
    kmemleak_alloc_recursive include/linux/kmemleak.h:44 [inline]
    slab_post_alloc_hook mm/slub.c:4574 [inline]
    slab_alloc_node mm/slub.c:4898 [inline]
    __do_kmalloc_node mm/slub.c:5294 [inline]
    __kmalloc_noprof+0x3b7/0x550 mm/slub.c:5307
    kmalloc_noprof include/linux/slab.h:954 [inline]
    kzalloc_noprof include/linux/slab.h:1188 [inline]
    __hfs_bnode_create+0x59/0x310 fs/hfsplus/bnode.c:469
    hfsplus_bnode_find+0x13e/0x580 fs/hfsplus/bnode.c:547
    hfsplus_btree_open+0x2e1/0x5a0 fs/hfsplus/btree.c:382
    hfsplus_fill_super+0x272/0x880 fs/hfsplus/super.c:548
    get_tree_bdev_flags+0x1c0/0x290 fs/super.c:1694
    vfs_get_tree+0x30/0x120 fs/super.c:1754
    fc_mount fs/namespace.c:1193 [inline]
    do_new_mount_fc fs/namespace.c:3758 [inline]
    do_new_mount fs/namespace.c:3834 [inline]
    path_mount+0x5a9/0x1370 fs/namespace.c:4154
    do_mount fs/namespace.c:4167 [inline]
    __do_sys_mount fs/namespace.c:4383 [inline]
    __se_sys_mount fs/namespace.c:4360 [inline]
    __x64_sys_mount+0x1a3/0x1e0 fs/namespace.c:4360
    do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
    do_syscall_64+0xee/0xf80 arch/x86/entry/syscall_64.c:94
    entry_SYSCALL_64_after_hwframe+0x77/0x7f

BUG: memory leak
unreferenced object 0xffff88810b678e40 (size 96):
  comm "syz.0.18", pid 5944, jiffies 4294942422
  hex dump (first 32 bytes):
    00 c0 f4 28 81 88 ff ff 00 00 00 00 00 00 00 00  ...(............
    00 00 00 06 00 00 00 00 03 00 01 00 00 00 00 00  ................
  backtrace (crc 8442d853):
    kmemleak_alloc_recursive include/linux/kmemleak.h:44 [inline]
    slab_post_alloc_hook mm/slub.c:4574 [inline]
    slab_alloc_node mm/slub.c:4898 [inline]
    __do_kmalloc_node mm/slub.c:5294 [inline]
    __kmalloc_noprof+0x3b7/0x550 mm/slub.c:5307
    kmalloc_noprof include/linux/slab.h:954 [inline]
    kzalloc_noprof include/linux/slab.h:1188 [inline]
    __hfs_bnode_create+0x59/0x310 fs/hfsplus/bnode.c:469
    hfsplus_bnode_find+0x13e/0x580 fs/hfsplus/bnode.c:547
    hfsplus_btree_open+0x2e1/0x5a0 fs/hfsplus/btree.c:382
    hfsplus_fill_super+0x272/0x880 fs/hfsplus/super.c:548
    get_tree_bdev_flags+0x1c0/0x290 fs/super.c:1694
    vfs_get_tree+0x30/0x120 fs/super.c:1754
    fc_mount fs/namespace.c:1193 [inline]
    do_new_mount_fc fs/namespace.c:3758 [inline]
    do_new_mount fs/namespace.c:3834 [inline]
    path_mount+0x5a9/0x1370 fs/namespace.c:4154
    do_mount fs/namespace.c:4167 [inline]
    __do_sys_mount fs/namespace.c:4383 [inline]
    __se_sys_mount fs/namespace.c:4360 [inline]
    __x64_sys_mount+0x1a3/0x1e0 fs/namespace.c:4360
    do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
    do_syscall_64+0xee/0xf80 arch/x86/entry/syscall_64.c:94
    entry_SYSCALL_64_after_hwframe+0x77/0x7f

connection error: failed to recv *flatrpc.ExecutorMessageRawT: EOF

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/05/06 09:26 upstream 9207d47f966b 26da2c66 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-leak memory leak in __hfs_bnode_create
2026/04/25 09:38 upstream 27d128c1cff6 9c2d0995 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-leak memory leak in __hfs_bnode_create
2026/04/15 09:31 upstream 508fed679541 e2e976a8 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-leak memory leak in __hfs_bnode_create
2026/05/10 11:25 upstream 1bfaee9d3351 29233ece .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-leak memory leak in __hfs_bnode_create
2026/05/08 12:05 upstream 917719c412c4 5633175a .config console log report syz / log [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-leak memory leak in __hfs_bnode_create
* Struck through repros no longer work on HEAD.