syzbot


kernel BUG in hfs_btree_open (4)

Status: upstream: reported on 2024/10/07 22:49
Reported-by: syzbot+aae1af68d86b2276e914@syzkaller.appspotmail.com
First crash: 44d, last: 44d
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-6.1 kernel BUG in hfs_btree_open 2 10d 16d 0/3 upstream: reported on 2024/11/05 05:00
linux-5.15 kernel BUG in hfs_btree_open (2) 1 415d 415d 0/3 auto-obsoleted due to no activity on 2024/01/11 08:28
upstream kernel BUG in hfs_btree_open hfs 20 582d 724d 0/28 auto-obsoleted due to no activity on 2023/08/17 04:22
linux-5.15 kernel BUG in hfs_btree_open (3) 1 200d 200d 0/3 auto-obsoleted due to no activity on 2024/08/12 21:24
upstream kernel BUG in hfs_btree_open (2) hfs 94 414d 436d 0/28 auto-obsoleted due to no activity on 2023/12/12 22:31
linux-5.15 kernel BUG in hfs_btree_open 1 530d 530d 0/3 auto-obsoleted due to no activity on 2023/09/17 17:47

Sample crash report:
------------[ cut here ]------------
kernel BUG at fs/hfs/btree.c:41!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 7388 Comm: syz.3.702 Not tainted 5.15.167-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:hfs_btree_open+0x1002/0x1140 fs/hfs/btree.c:41
Code: 86 ff e9 e4 f9 ff ff 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c 01 fa ff ff 4c 89 f7 e8 38 86 86 ff e9 f4 f9 ff ff e8 ae bb 3c ff <0f> 0b e8 a7 bb 3c ff 0f 0b 49 89 ee 48 89 e8 48 c1 e8 03 42 80 3c
RSP: 0018:ffffc90002fb7798 EFLAGS: 00010287
RAX: ffffffff82439ec2 RBX: ffff888071cb4280 RCX: 0000000000040000
RDX: ffffc90013609000 RSI: 0000000000004470 RDI: 0000000000004471
RBP: 0000000000000000 R08: ffffffff82439023 R09: ffffed100e39686c
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88807d8ae000
R13: ffff88807bd70008 R14: ffff88807bd70000 R15: dffffc0000000000
FS:  00007f4435a006c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fa634036d58 CR3: 0000000058225000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 hfs_mdb_get+0x1463/0x21d0 fs/hfs/mdb.c:199
 hfs_fill_super+0x100c/0x1730 fs/hfs/super.c:406
 mount_bdev+0x2c9/0x3f0 fs/super.c:1398
 legacy_get_tree+0xeb/0x180 fs/fs_context.c:611
 vfs_get_tree+0x88/0x270 fs/super.c:1528
 do_new_mount+0x2ba/0xb40 fs/namespace.c:3005
 do_mount fs/namespace.c:3348 [inline]
 __do_sys_mount fs/namespace.c:3556 [inline]
 __se_sys_mount+0x2d5/0x3c0 fs/namespace.c:3533
 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:0x7f443758979a
Code: d8 64 89 02 48 c7 c0 ff ff ff ff eb a6 e8 de 1a 00 00 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 49 89 ca b8 a5 00 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:00007f44359ffe68 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f44359ffef0 RCX: 00007f443758979a
RDX: 000000002001fa80 RSI: 0000000020000100 RDI: 00007f44359ffeb0
RBP: 000000002001fa80 R08: 00007f44359ffef0 R09: 00000000030000c0
R10: 00000000030000c0 R11: 0000000000000246 R12: 0000000020000100
R13: 00007f44359ffeb0 R14: 00000000000002b6 R15: 00000000200004c0
 </TASK>
Modules linked in:
---[ end trace 9afafaf8e326c7fd ]---
RIP: 0010:hfs_btree_open+0x1002/0x1140 fs/hfs/btree.c:41
Code: 86 ff e9 e4 f9 ff ff 44 89 f1 80 e1 07 80 c1 03 38 c1 0f 8c 01 fa ff ff 4c 89 f7 e8 38 86 86 ff e9 f4 f9 ff ff e8 ae bb 3c ff <0f> 0b e8 a7 bb 3c ff 0f 0b 49 89 ee 48 89 e8 48 c1 e8 03 42 80 3c
RSP: 0018:ffffc90002fb7798 EFLAGS: 00010287
RAX: ffffffff82439ec2 RBX: ffff888071cb4280 RCX: 0000000000040000
RDX: ffffc90013609000 RSI: 0000000000004470 RDI: 0000000000004471
RBP: 0000000000000000 R08: ffffffff82439023 R09: ffffed100e39686c
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff88807d8ae000
R13: ffff88807bd70008 R14: ffff88807bd70000 R15: dffffc0000000000
FS:  00007f4435a006c0(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fa634036d58 CR3: 0000000058225000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/10/07 22:48 linux-5.15.y 3a5928702e71 d7906eff .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan kernel BUG in hfs_btree_open
* Struck through repros no longer work on HEAD.