syzbot


WARNING in hfsplus_bnode_create

Status: upstream: reported C repro on 2023/04/25 07:57
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+a461be35cc94089b7f93@syzkaller.appspotmail.com
First crash: 937d, last: 14d
Fix bisection: failed (error log, bisect log)
  
Bug presence (1)
Date Name Commit Repro Result
2023/12/29 upstream (ToT) 8735c7c84d1b C [report] WARNING in hfsplus_bnode_create
Similar bugs (4)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in hfsplus_bnode_create hfs -1 C error 1072 7h17m 1081d 0/29 upstream: reported C repro on 2022/12/02 04:34
linux-5.15 WARNING in hfsplus_bnode_create origin:upstream -1 C error 49 7d22h 918d 0/3 upstream: reported C repro on 2023/05/13 19:31
linux-4.14 WARNING in hfsplus_bnode_create hfsplus -1 C 1 1015d 1053d 0/1 upstream: reported C repro on 2022/12/29 14:39
linux-4.19 WARNING in hfsplus_bnode_create hfsplus -1 C error 5 1014d 1083d 0/1 upstream: reported C repro on 2022/11/30 07:43
Fix bisection attempts (9)
Created Duration User Patch Repo Result
2024/10/15 01:09 0m bisect fix linux-6.1.y error job log
2024/09/08 09:57 1h12m bisect fix linux-6.1.y OK (0) job log log
2024/08/03 23:27 2h50m bisect fix linux-6.1.y OK (0) job log log
2024/03/30 14:20 1h28m bisect fix linux-6.1.y OK (0) job log log
2024/02/29 11:22 1h20m bisect fix linux-6.1.y OK (0) job log log
2023/12/29 08:24 1h01m bisect fix linux-6.1.y OK (0) job log log
2023/11/28 06:27 2h05m bisect fix linux-6.1.y OK (0) job log log
2023/10/29 00:07 1h29m bisect fix linux-6.1.y OK (0) job log log
2023/07/12 09:48 3h26m bisect fix linux-6.1.y OK (0) job log log

Sample crash report:
WARNING: The mand mount option has been deprecated and
         and is ignored by this kernel. Remove the mand
         option from the mount to silence this warning.
=======================================================
hfsplus: new node 0 already hashed?
------------[ cut here ]------------
WARNING: CPU: 1 PID: 4431 at fs/hfsplus/bnode.c:630 hfsplus_bnode_create+0x37a/0x400 fs/hfsplus/bnode.c:629
Modules linked in:
CPU: 1 PID: 4431 Comm: syz.0.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/02/2025
RIP: 0010:hfsplus_bnode_create+0x37a/0x400 fs/hfsplus/bnode.c:630
Code: 82 a2 8a 89 ee e8 f6 13 c7 07 e9 ab fd ff ff e8 9c 24 3b ff 48 89 df e8 14 37 dc 07 48 c7 c7 a0 82 a2 8a 89 ee e8 d6 13 c7 07 <0f> 0b eb b7 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c b7 fc ff ff 4c
RSP: 0018:ffffc90003446fa0 EFLAGS: 00010246
RAX: 0000000000000023 RBX: ffff88807b20e0e0 RCX: f9ef2a8a674c6a00
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: dffffc0000000000 R09: fffff52000688d95
R10: fffff52000688d95 R11: 1ffff92000688d94 R12: 0000000000000000
R13: ffff88807b20e000 R14: ffff888073f1d200 R15: dffffc0000000000
FS:  000055557cd38500(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000018000 CR3: 0000000026a33000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 hfsplus_bmap_alloc+0x609/0x9b0 fs/hfsplus/btree.c:421
 hfs_btree_inc_height+0xf3/0xb60 fs/hfsplus/brec.c:475
 hfsplus_brec_insert+0x12a/0xcc0 fs/hfsplus/brec.c:75
 __hfsplus_ext_write_extent+0x353/0x5b0 fs/hfsplus/extents.c:107
 __hfsplus_ext_cache_extent+0x89/0xe20 fs/hfsplus/extents.c:186
 hfsplus_ext_read_extent fs/hfsplus/extents.c:218 [inline]
 hfsplus_file_extend+0x445/0x1950 fs/hfsplus/extents.c:459
 hfsplus_get_block+0x40e/0x1530 fs/hfsplus/extents.c:245
 __block_write_begin_int+0x54b/0x1a70 fs/buffer.c:1991
 __block_write_begin fs/buffer.c:2041 [inline]
 block_write_begin+0x96/0x1e0 fs/buffer.c:2102
 cont_write_begin+0x5c4/0x7d0 fs/buffer.c:2456
 hfsplus_write_begin+0x87/0xd0 fs/hfsplus/inode.c:52
 generic_perform_write+0x2db/0x560 mm/filemap.c:3846
 __generic_file_write_iter+0x172/0x430 mm/filemap.c:3974
 generic_file_write_iter+0xab/0x2e0 mm/filemap.c:4006
 call_write_iter include/linux/fs.h:2265 [inline]
 new_sync_write fs/read_write.c:491 [inline]
 vfs_write+0x44c/0x960 fs/read_write.c:584
 ksys_write+0x143/0x240 fs/read_write.c:637
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f4b0578efc9
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:00007ffeba921208 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f4b059e5fa0 RCX: 00007f4b0578efc9
RDX: 00000000175d9003 RSI: 0000200000000200 RDI: 0000000000000004
RBP: 00007f4b05811f91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f4b059e5fa0 R14: 00007f4b059e5fa0 R15: 0000000000000003
 </TASK>

Crashes (34):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/11/02 16:31 linux-6.1.y f6e38ae624cf 2c50b6a9 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan WARNING in hfsplus_bnode_create
2025/10/12 11:19 linux-6.1.y 882efbdd9d34 ff1712fe .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan WARNING in hfsplus_bnode_create
2023/08/13 03:11 linux-6.1.y 1321ab403b38 39990d51 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan WARNING in hfsplus_bnode_create
2025/10/14 16:08 linux-6.1.y 882efbdd9d34 b6605ba8 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING in hfsplus_bnode_create
2025/09/30 12:04 linux-6.1.y 7b34dc04e4ff 86341da6 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING in hfsplus_bnode_create
2025/04/26 17:56 linux-6.1.y 535ec20c5027 c6b4fb39 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING in hfsplus_bnode_create
2025/02/26 20:11 linux-6.1.y 3a8358583626 d34966d1 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING in hfsplus_bnode_create
2025/01/11 21:31 linux-6.1.y c63962be84ef 6dbc6a9b .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING in hfsplus_bnode_create
2024/06/24 17:50 linux-6.1.y eb44d83053d6 edc5149a .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING in hfsplus_bnode_create
2024/05/09 19:08 linux-6.1.y 909ba1f1b414 05079661 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING in hfsplus_bnode_create
2024/05/06 06:58 linux-6.1.y 909ba1f1b414 610f2a54 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING in hfsplus_bnode_create
2024/01/21 03:49 linux-6.1.y 8fd7f4462453 9bd8dcda .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING in hfsplus_bnode_create
2023/05/07 16:49 linux-6.1.y ca48fc16c493 90c93c40 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING in hfsplus_bnode_create
2023/06/05 07:16 linux-6.1.y d2869ace6eeb a4ae4f42 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan WARNING in hfsplus_bnode_create
2023/06/07 09:18 linux-6.1.y 76ba310227d2 a4ae4f42 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING in hfsplus_bnode_create
2025/04/22 02:11 linux-6.1.y 420102835862 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in hfsplus_bnode_create
2025/03/03 19:46 linux-6.1.y 3a8358583626 c3901742 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in hfsplus_bnode_create
2024/06/06 20:11 linux-6.1.y 88690811da69 121701b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in hfsplus_bnode_create
2024/04/23 07:21 linux-6.1.y 6741e066ec76 36c961ad .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in hfsplus_bnode_create
2024/04/02 02:56 linux-6.1.y e5cd595e23c1 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in hfsplus_bnode_create
2023/09/27 03:15 linux-6.1.y d23900f974e0 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in hfsplus_bnode_create
2025/10/12 15:39 linux-6.1.y 882efbdd9d34 ff1712fe .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in hfsplus_bnode_create
2025/09/30 11:20 linux-6.1.y 7b34dc04e4ff 86341da6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in hfsplus_bnode_create
2025/06/10 14:01 linux-6.1.y 58485ff1a74f 4826c28e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in hfsplus_bnode_create
2025/03/07 07:54 linux-6.1.y 3a8358583626 831e3629 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in hfsplus_bnode_create
2025/02/27 12:29 linux-6.1.y 3a8358583626 6a8fcbc4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in hfsplus_bnode_create
2025/01/11 21:05 linux-6.1.y c63962be84ef 6dbc6a9b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in hfsplus_bnode_create
2024/05/06 03:39 linux-6.1.y 909ba1f1b414 610f2a54 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in hfsplus_bnode_create
2024/04/13 03:49 linux-6.1.y bf1e3b1cb1e0 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in hfsplus_bnode_create
2024/01/21 03:33 linux-6.1.y 8fd7f4462453 9bd8dcda .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in hfsplus_bnode_create
2023/08/10 10:36 linux-6.1.y 0a4a7855302d 13ca4cd6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in hfsplus_bnode_create
2023/05/30 07:31 linux-6.1.y a343b0dd87b4 cf184559 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in hfsplus_bnode_create
2023/05/22 20:35 linux-6.1.y fa74641fb6b9 4bce1a3e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in hfsplus_bnode_create
2023/04/25 07:56 linux-6.1.y f17b0ab65d17 65320f8e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in hfsplus_bnode_create
* Struck through repros no longer work on HEAD.