syzbot


WARNING in hfs_bnode_create

Status: upstream: reported C repro on 2023/04/02 22:27
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+628893e821712702f0ee@syzkaller.appspotmail.com
First crash: 420d, last: 2d15h
Bug presence (1)
Date Name Commit Repro Result
2023/05/15 upstream (ToT) f1fcbaa18b28 C [report] WARNING in hfs_bnode_create
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in hfs_bnode_create hfs C done error 1239 2h47m 2245d 0/26 upstream: reported C repro on 2018/04/04 03:02
linux-4.19 WARNING in hfs_bnode_create hfs C 16 452d 548d 0/1 upstream: reported C repro on 2022/11/26 06:17
linux-5.15 WARNING in hfs_bnode_create origin:upstream C error 94 2h55m 419d 0/3 upstream: reported C repro on 2023/04/04 01:35
linux-4.14 WARNING in hfs_bnode_create C 2 452d 534d 0/1 upstream: reported C repro on 2022/12/10 13:46
Fix bisection attempts (1)
Created Duration User Patch Repo Result
2023/10/18 16:01 1h33m bisect fix linux-6.1.y job log (0) log

Sample crash report:
 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637
 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655
 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585
hfs: new node 0 already hashed?
------------[ cut here ]------------
WARNING: CPU: 1 PID: 4288 at fs/hfs/bnode.c:422 hfs_bnode_create+0x428/0x4dc fs/hfs/bnode.c:421
Modules linked in:
CPU: 1 PID: 4288 Comm: syz-executor418 Not tainted 6.1.77-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : hfs_bnode_create+0x428/0x4dc fs/hfs/bnode.c:421
lr : hfs_bnode_create+0x428/0x4dc fs/hfs/bnode.c:421
sp : ffff80001dcb6cf0
x29: ffff80001dcb6d00 x28: dfff800000000000 x27: dfff800000000000
x26: 000000000000016c x25: ffff0000c31b9488 x24: 0000000000000000
x23: 0000000000000000 x22: ffff0000e2daa0e0 x21: ffff0000e2daa000
x20: 0000000000000000 x19: ffff0000c31b9400 x18: ffff0000e2daa020
x17: 0000000000000000 x16: ffff8000120a15c0 x15: 0000000000000000
x14: 00000000ffffffff x13: 0000000000000001 x12: 0000000000000001
x11: 0000000000ff0100 x10: 0000000000000000 x9 : d63f916fb550be00
x8 : d63f916fb550be00 x7 : 0000000000000001 x6 : 0000000000000001
x5 : ffff80001dcb65f8 x4 : ffff800015922b60 x3 : ffff80000834d3b4
x2 : 0000000000000001 x1 : 0000000100000000 x0 : 000000000000001f
Call trace:
 hfs_bnode_create+0x428/0x4dc fs/hfs/bnode.c:421
 hfs_bmap_alloc+0x59c/0x664 fs/hfs/btree.c:291
 hfs_btree_inc_height+0xf8/0x9d0 fs/hfs/brec.c:471
 hfs_brec_insert+0x580/0x97c fs/hfs/brec.c:148
 __hfs_ext_write_extent+0x240/0x468 fs/hfs/extent.c:124
 __hfs_ext_cache_extent+0x84/0x754 fs/hfs/extent.c:174
 hfs_ext_read_extent fs/hfs/extent.c:202 [inline]
 hfs_extend_file+0x29c/0x1130 fs/hfs/extent.c:401
 hfs_get_block+0x3b8/0x9e0 fs/hfs/extent.c:353
 __block_write_begin_int+0x340/0x13b4 fs/buffer.c:1991
 __block_write_begin fs/buffer.c:2041 [inline]
 block_write_begin fs/buffer.c:2102 [inline]
 cont_write_begin+0x5c0/0x7d8 fs/buffer.c:2456
 hfs_write_begin+0x98/0xe4 fs/hfs/inode.c:58
 generic_perform_write+0x278/0x55c mm/filemap.c:3817
 __generic_file_write_iter+0x168/0x388 mm/filemap.c:3945
 generic_file_write_iter+0xb8/0x2b4 mm/filemap.c:3977
 call_write_iter include/linux/fs.h:2249 [inline]
 new_sync_write fs/read_write.c:491 [inline]
 vfs_write+0x610/0x914 fs/read_write.c:584
 ksys_write+0x15c/0x26c fs/read_write.c:637
 __do_sys_write fs/read_write.c:649 [inline]
 __se_sys_write fs/read_write.c:646 [inline]
 __arm64_sys_write+0x7c/0x90 fs/read_write.c:646
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:206
 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637
 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655
 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585
irq event stamp: 2720
hardirqs last  enabled at (2719): [<ffff800008342890>] __up_console_sem+0xb4/0x100 kernel/printk/printk.c:261
hardirqs last disabled at (2720): [<ffff80001214ef04>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:405
softirqs last  enabled at (2662): [<ffff800008020d7c>] softirq_handle_end kernel/softirq.c:414 [inline]
softirqs last  enabled at (2662): [<ffff800008020d7c>] __do_softirq+0xc1c/0xe38 kernel/softirq.c:600
softirqs last disabled at (2555): [<ffff80000802a99c>] ____do_softirq+0x14/0x20 arch/arm64/kernel/irq.c:80
---[ end trace 0000000000000000 ]---
------------[ cut here ]------------
kernel BUG at fs/hfs/bnode.c:467!
Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP
Modules linked in:
CPU: 1 PID: 4288 Comm: syz-executor418 Tainted: G        W          6.1.77-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/17/2023
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : hfs_bnode_put+0x318/0x324 fs/hfs/bnode.c:467
lr : hfs_bnode_put+0x318/0x324 fs/hfs/bnode.c:467
sp : ffff80001dcb6e10
x29: ffff80001dcb6e10 x28: dfff800000000000 x27: ffff700003b96dd8
x26: 1fffe0001c5b5403 x25: 0000000000000200 x24: 1fffe00018637280
x23: dfff800000000000 x22: ffff0000e2daa000 x21: ffff0000c31b9480
x20: 0000000000000000 x19: ffff0000c31b9400 x18: ffff0000e2daa020
x17: 0000000000000000 x16: ffff80001215337c x15: 0000000000000000
x14: 1ffff00002b080b0 x13: dfff800000000000 x12: 0000000000000001
x11: 0000000000ff0100 x10: 0000000000000000 x9 : ffff80000909a5ac
x8 : ffff0000d2119bc0 x7 : ffff8000089d2424 x6 : 0000000000000000
x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff80000909a2ec
x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000000
Call trace:
 hfs_bnode_put+0x318/0x324 fs/hfs/bnode.c:467
 hfs_btree_inc_height+0x4c0/0x9d0 fs/hfs/brec.c:525
 hfs_brec_insert+0x580/0x97c fs/hfs/brec.c:148
 __hfs_ext_write_extent+0x240/0x468 fs/hfs/extent.c:124
 __hfs_ext_cache_extent+0x84/0x754 fs/hfs/extent.c:174
 hfs_ext_read_extent fs/hfs/extent.c:202 [inline]
 hfs_extend_file+0x29c/0x1130 fs/hfs/extent.c:401
 hfs_get_block+0x3b8/0x9e0 fs/hfs/extent.c:353
 __block_write_begin_int+0x340/0x13b4 fs/buffer.c:1991
 __block_write_begin fs/buffer.c:2041 [inline]
 block_write_begin fs/buffer.c:2102 [inline]
 cont_write_begin+0x5c0/0x7d8 fs/buffer.c:2456
 hfs_write_begin+0x98/0xe4 fs/hfs/inode.c:58
 generic_perform_write+0x278/0x55c mm/filemap.c:3817
 __generic_file_write_iter+0x168/0x388 mm/filemap.c:3945
 generic_file_write_iter+0xb8/0x2b4 mm/filemap.c:3977
 call_write_iter include/linux/fs.h:2249 [inline]
 new_sync_write fs/read_write.c:491 [inline]
 vfs_write+0x610/0x914 fs/read_write.c:584
 ksys_write+0x15c/0x26c fs/read_write.c:637
 __do_sys_write fs/read_write.c:649 [inline]
 __se_sys_write fs/read_write.c:646 [inline]
 __arm64_sys_write+0x7c/0x90 fs/read_write.c:646
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x2c0 arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
 do_el0_svc+0x64/0x218 arch/arm64/kernel/syscall.c:206
 el0_svc+0x58/0x168 arch/arm64/kernel/entry-common.c:637
 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655
 el0t_64_sync+0x18c/0x190 arch/arm64/kernel/entry.S:585
Code: aa1503e0 97e363bc 17ffffd5 97d179b5 (d4210000) 
---[ end trace 0000000000000000 ]---

Crashes (47):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/02/08 14:10 linux-6.1.y f1bb70486c9c 6404acf9 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING in hfs_bnode_create
2023/10/23 03:37 linux-6.1.y 7d24402875c7 361b23dc .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING in hfs_bnode_create
2023/05/14 17:41 linux-6.1.y bf4ad6fa4e53 2b9ba477 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan-arm64 WARNING in hfs_bnode_create
2023/06/18 00:15 linux-6.1.y ca87e77a2ef8 f3921d4d .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan WARNING in hfs_bnode_create
2023/05/29 14:44 linux-6.1.y a343b0dd87b4 cf184559 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-6-1-kasan WARNING in hfs_bnode_create
2024/05/25 00:38 linux-6.1.y 4078fa637fcd a10a183e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in hfs_bnode_create
2024/05/20 16:14 linux-6.1.y 4078fa637fcd c0f1611a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in hfs_bnode_create
2024/04/28 20:00 linux-6.1.y f2295faba5e8 07b455f9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in hfs_bnode_create
2024/04/21 20:06 linux-6.1.y 6741e066ec76 af24b050 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in hfs_bnode_create
2024/04/14 23:14 linux-6.1.y cd5d98c0556c c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in hfs_bnode_create
2024/04/14 23:11 linux-6.1.y cd5d98c0556c c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in hfs_bnode_create
2024/04/14 23:11 linux-6.1.y cd5d98c0556c c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in hfs_bnode_create
2024/04/08 10:32 linux-6.1.y 347385861c50 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in hfs_bnode_create
2024/04/08 09:51 linux-6.1.y 347385861c50 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in hfs_bnode_create
2024/04/08 03:12 linux-6.1.y 347385861c50 ca620dd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in hfs_bnode_create
2024/03/11 11:26 linux-6.1.y 61adba85cc40 6ee49f2e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in hfs_bnode_create
2023/12/12 02:45 linux-6.1.y e7cddbb41b63 28b24332 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in hfs_bnode_create
2024/05/12 20:30 linux-6.1.y 909ba1f1b414 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in hfs_bnode_create
2024/05/11 23:07 linux-6.1.y 909ba1f1b414 9026e142 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in hfs_bnode_create
2024/03/11 22:02 linux-6.1.y 61adba85cc40 6ee49f2e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in hfs_bnode_create
2024/03/11 12:08 linux-6.1.y 61adba85cc40 6ee49f2e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in hfs_bnode_create
2024/03/11 10:58 linux-6.1.y 61adba85cc40 6ee49f2e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in hfs_bnode_create
2024/02/08 12:01 linux-6.1.y f1bb70486c9c 6404acf9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in hfs_bnode_create
2024/01/20 16:43 linux-6.1.y 8fd7f4462453 9bd8dcda .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in hfs_bnode_create
2024/01/07 07:20 linux-6.1.y 38fb82ecd144 d0304e9c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in hfs_bnode_create
2023/12/30 23:05 linux-6.1.y 4aa6747d9352 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in hfs_bnode_create
2023/12/27 06:27 linux-6.1.y 4aa6747d9352 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in hfs_bnode_create
2023/12/24 09:39 linux-6.1.y 4aa6747d9352 fb427a07 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in hfs_bnode_create
2023/11/26 08:46 linux-6.1.y 69e434a1cb21 5b429f39 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in hfs_bnode_create
2023/10/27 23:19 linux-6.1.y 32c9cdbe383c 3c418d72 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in hfs_bnode_create
2023/10/23 00:56 linux-6.1.y 7d24402875c7 361b23dc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in hfs_bnode_create
2023/09/15 02:45 linux-6.1.y 09045dae0d90 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in hfs_bnode_create
2023/09/13 21:22 linux-6.1.y 09045dae0d90 0b6a67ac .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in hfs_bnode_create
2023/04/22 20:21 linux-6.1.y f17b0ab65d17 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in hfs_bnode_create
2023/08/18 00:19 linux-6.1.y 6c44e13dc284 74b106b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in hfs_bnode_create
2023/07/11 04:05 linux-6.1.y 61fd484b2cf6 d47e94ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in hfs_bnode_create
2023/06/23 09:59 linux-6.1.y e84a4e368abe 79782afc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in hfs_bnode_create
2023/06/23 08:08 linux-6.1.y e84a4e368abe 79782afc .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in hfs_bnode_create
2023/05/30 07:12 linux-6.1.y a343b0dd87b4 cf184559 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in hfs_bnode_create
2023/05/28 14:26 linux-6.1.y a343b0dd87b4 cf184559 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in hfs_bnode_create
2023/05/14 17:26 linux-6.1.y bf4ad6fa4e53 2b9ba477 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in hfs_bnode_create
2023/04/27 19:35 linux-6.1.y ca1c9012c941 6f3d6fa7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in hfs_bnode_create
2023/04/22 02:34 linux-6.1.y f17b0ab65d17 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in hfs_bnode_create
2023/04/13 05:48 linux-6.1.y 543aff194ab6 82d5e53e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in hfs_bnode_create
2023/04/09 02:07 linux-6.1.y 543aff194ab6 71147e29 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in hfs_bnode_create
2023/04/04 05:35 linux-6.1.y 3b29299e5f60 41147e3e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in hfs_bnode_create
2023/04/02 22:27 linux-6.1.y 3b29299e5f60 f325deb0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in hfs_bnode_create
* Struck through repros no longer work on HEAD.