syzbot


WARNING in hfsplus_bnode_create

Status: upstream: reported C repro on 2023/05/13 19:31
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+b9a11951980cf86e1899@syzkaller.appspotmail.com
First crash: 509d, last: 6d21h
Fix bisection: failed (error log, bisect log)
  
Bug presence (1)
Date Name Commit Repro Result
2024/07/29 upstream (ToT) dc1c8034e31b C [report] WARNING in hfsplus_bnode_create
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in hfsplus_bnode_create hfs C error 404 2h26m 671d 0/28 upstream: reported C repro on 2022/12/02 04:34
linux-4.14 WARNING in hfsplus_bnode_create hfsplus C 1 606d 644d 0/1 upstream: reported C repro on 2022/12/29 14:39
linux-4.19 WARNING in hfsplus_bnode_create hfsplus C error 5 605d 673d 0/1 upstream: reported C repro on 2022/11/30 07:43
linux-6.1 WARNING in hfsplus_bnode_create origin:upstream C 19 25d 527d 0/3 upstream: reported C repro on 2023/04/25 07:57

Sample crash report:
loop0: detected capacity change from 0 to 1024
hfsplus: new node 0 already hashed?
------------[ cut here ]------------
WARNING: CPU: 0 PID: 3565 at fs/hfsplus/bnode.c:584 hfsplus_bnode_create+0x3dd/0x460 fs/hfsplus/bnode.c:583
Modules linked in:
CPU: 0 PID: 3565 Comm: syz-executor237 Not tainted 5.15.164-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
RIP: 0010:hfsplus_bnode_create+0x3dd/0x460 fs/hfsplus/bnode.c:584
Code: 8a 44 89 e6 e8 74 40 f0 07 e9 4c fd ff ff e8 fa be 3e ff 4c 89 ef e8 e2 00 fb 07 48 c7 c7 e0 7b 9f 8a 44 89 e6 e8 53 40 f0 07 <0f> 0b eb b5 89 d9 80 e1 07 80 c1 03 38 c1 0f 8c 59 fc ff ff 48 89
RSP: 0018:ffffc90002e37370 EFLAGS: 00010246
RAX: 0000000000000023 RBX: ffff8880167ac300 RCX: cf4e0d014367c800
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: 0000000000000000 R08: ffffffff8166892c R09: ffffed10173467a8
R10: 0000000000000000 R11: dffffc0000000001 R12: 0000000000000000
R13: ffff888077cea0e0 R14: ffff888077cea000 R15: dffffc0000000000
FS:  0000555556365380(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f47ea22d100 CR3: 0000000019fe5000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 hfsplus_bmap_alloc+0x63c/0x720 fs/hfsplus/btree.c:414
 hfs_bnode_split+0xda/0x1100 fs/hfsplus/brec.c:245
 hfsplus_brec_insert+0x3a2/0xdd0 fs/hfsplus/brec.c:100
 hfsplus_create_cat+0xeea/0x1ba0 fs/hfsplus/catalog.c:308
 hfsplus_link+0x4b6/0x840 fs/hfsplus/dir.c:342
 vfs_link+0x65e/0x810 fs/namei.c:4557
 do_linkat+0x5c8/0x9d0 fs/namei.c:4628
 __do_sys_linkat fs/namei.c:4656 [inline]
 __se_sys_linkat fs/namei.c:4653 [inline]
 __x64_sys_linkat+0xd9/0xf0 fs/namei.c:4653
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f47ea1b4f19
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 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 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffec9abb0d8 EFLAGS: 00000246 ORIG_RAX: 0000000000000109
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f47ea1b4f19
RDX: 0000000000000005 RSI: 0000000020000180 RDI: 0000000000000005
RBP: 00007f47ea2295f0 R08: 0000000000000000 R09: 00005555563664c0
R10: 0000000020000640 R11: 0000000000000246 R12: 00007ffec9abb100
R13: 00007ffec9abb328 R14: 431bde82d7b634db R15: 00007f47ea1fe03b
 </TASK>

Crashes (26):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/07/29 08:51 linux-5.15.y 7e89efd3ae1c 46eb10b7 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan WARNING in hfsplus_bnode_create
2024/09/15 22:38 linux-5.15.y 3a5928702e71 08d8a733 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 WARNING in hfsplus_bnode_create
2024/04/19 18:59 linux-5.15.y c52b9710c83d af24b050 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 WARNING in hfsplus_bnode_create
2024/01/13 06:13 linux-5.15.y 26c690eff0a5 551587c1 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 WARNING in hfsplus_bnode_create
2023/05/13 19:31 linux-5.15.y b0ece631f84a 2b9ba477 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 WARNING in hfsplus_bnode_create
2023/06/27 17:56 linux-5.15.y f67653019430 4cd5bb25 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan WARNING in hfsplus_bnode_create
2023/05/30 05:30 linux-5.15.y 1fe619a7d252 cf184559 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan WARNING in hfsplus_bnode_create
2023/06/07 05:44 linux-5.15.y d7af3e5ba454 a4ae4f42 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 WARNING in hfsplus_bnode_create
2024/09/19 09:39 linux-5.15.y 3a5928702e71 c673ca06 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in hfsplus_bnode_create
2024/08/12 09:02 linux-5.15.y 7e89efd3ae1c 6f4edef4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in hfsplus_bnode_create
2024/07/29 07:45 linux-5.15.y 7e89efd3ae1c 46eb10b7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in hfsplus_bnode_create
2024/07/22 01:57 linux-5.15.y 7c6d66f0266f b88348e9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in hfsplus_bnode_create
2024/06/10 10:42 linux-5.15.y c61bd26ae81a 82c05ab8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in hfsplus_bnode_create
2024/04/01 19:19 linux-5.15.y 9465fef4ae35 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in hfsplus_bnode_create
2024/02/20 15:53 linux-5.15.y 6139f2a02fe0 3af7dd65 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in hfsplus_bnode_create
2023/10/01 06:32 linux-5.15.y b911329317b4 8e26a358 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in hfsplus_bnode_create
2024/09/27 05:44 linux-5.15.y 3a5928702e71 9314348a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in hfsplus_bnode_create
2024/09/07 01:12 linux-5.15.y 14e468424d3e 9750182a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in hfsplus_bnode_create
2024/08/25 17:02 linux-5.15.y fa93fa65db6e d7d32352 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in hfsplus_bnode_create
2024/08/12 20:17 linux-5.15.y 7e89efd3ae1c 842184b3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in hfsplus_bnode_create
2024/04/22 06:37 linux-5.15.y c52b9710c83d af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in hfsplus_bnode_create
2024/04/13 07:44 linux-5.15.y cdfd0a7f0139 c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in hfsplus_bnode_create
2024/04/01 11:26 linux-5.15.y 9465fef4ae35 6baf5069 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in hfsplus_bnode_create
2024/01/12 20:05 linux-5.15.y 26c690eff0a5 551587c1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in hfsplus_bnode_create
2023/09/22 03:21 linux-5.15.y 35ecaa3632bf 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in hfsplus_bnode_create
2023/05/30 05:23 linux-5.15.y 1fe619a7d252 cf184559 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in hfsplus_bnode_create
* Struck through repros no longer work on HEAD.