[v5.15] kernel BUG in hfs_btree_open

0 views
Skip to first unread message

syzbot

unread,
Jun 9, 2023, 1:47:45 PM6/9/23
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 7349e40704a0 Linux 5.15.116
git tree: linux-5.15.y
console output: https://syzkaller.appspot.com/x/log.txt?x=15ce00d9280000
kernel config: https://syzkaller.appspot.com/x/.config?x=831c3122ac9c9145
dashboard link: https://syzkaller.appspot.com/bug?extid=8349edc18417cb5b678c
compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2

Unfortunately, I don't have any reproducer for this issue yet.

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/8c03c3ad4501/disk-7349e407.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/350c3d79bc87/vmlinux-7349e407.xz
kernel image: https://storage.googleapis.com/syzbot-assets/73a4ed3d5438/bzImage-7349e407.xz

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+8349ed...@syzkaller.appspotmail.com

kernel BUG at fs/hfs/btree.c:41!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 14652 Comm: syz-executor.1 Not tainted 5.15.116-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/25/2023
RIP: 0010:hfs_btree_open+0x1002/0x1140 fs/hfs/btree.c:41
Code: 87 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 a8 40 87 ff e9 f4 f9 ff ff e8 1e e5 3d ff <0f> 0b e8 17 e5 3d ff 0f 0b 49 89 ee 48 89 e8 48 c1 e8 03 42 80 3c
RSP: 0018:ffffc90002def798 EFLAGS: 00010283
RAX: ffffffff82421432 RBX: ffff88804551a600 RCX: 0000000000040000
RDX: ffffc90005d19000 RSI: 0000000000003112 RDI: 0000000000003113
RBP: 0000000000000000 R08: ffffffff82420593 R09: ffffed1008aa34dc
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880479b0000
R13: ffff888024fc0008 R14: ffff888024fc0000 R15: dffffc0000000000
FS: 00007f4112d38700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c00f2f8000 CR3: 000000007cb6b000 CR4: 00000000003506e0
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:1378
legacy_get_tree+0xeb/0x180 fs/fs_context.c:610
vfs_get_tree+0x88/0x270 fs/super.c:1508
do_new_mount+0x28b/0xae0 fs/namespace.c:2994
do_mount fs/namespace.c:3337 [inline]
__do_sys_mount fs/namespace.c:3545 [inline]
__se_sys_mount+0x2d5/0x3c0 fs/namespace.c:3522
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f41147c769a
Code: 48 c7 c2 b8 ff ff ff f7 d8 64 89 02 b8 ff ff ff ff eb d2 e8 b8 04 00 00 0f 1f 84 00 00 00 00 00 49 89 ca b8 a5 00 00 00 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:00007f4112d37f88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00000000000002c1 RCX: 00007f41147c769a
RDX: 00000000200001c0 RSI: 0000000020000040 RDI: 00007f4112d37fe0
RBP: 00007f4112d38020 R08: 00007f4112d38020 R09: 0000000003000000
R10: 0000000003000000 R11: 0000000000000202 R12: 00000000200001c0
R13: 0000000020000040 R14: 00007f4112d37fe0 R15: 0000000020000540
</TASK>
Modules linked in:
---[ end trace 52fe847b1e0120d9 ]---
RIP: 0010:hfs_btree_open+0x1002/0x1140 fs/hfs/btree.c:41
Code: 87 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 a8 40 87 ff e9 f4 f9 ff ff e8 1e e5 3d ff <0f> 0b e8 17 e5 3d ff 0f 0b 49 89 ee 48 89 e8 48 c1 e8 03 42 80 3c
RSP: 0018:ffffc90002def798 EFLAGS: 00010283
RAX: ffffffff82421432 RBX: ffff88804551a600 RCX: 0000000000040000
RDX: ffffc90005d19000 RSI: 0000000000003112 RDI: 0000000000003113
RBP: 0000000000000000 R08: ffffffff82420593 R09: ffffed1008aa34dc
R10: 0000000000000000 R11: dffffc0000000001 R12: ffff8880479b0000
R13: ffff888024fc0008 R14: ffff888024fc0000 R15: dffffc0000000000
FS: 00007f4112d38700(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2c47345058 CR3: 000000007cb6b000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

If the bug is already fixed, let syzbot know by replying with:
#syz fix: exact-commit-title

If you want to change bug's subsystems, reply with:
#syz set subsystems: new-subsystem
(See the list of subsystem names on the web dashboard)

If the bug is a duplicate of another bug, reply with:
#syz dup: exact-subject-of-another-report

If you want to undo deduplication, reply with:
#syz undup

syzbot

unread,
Sep 17, 2023, 1:47:54 PM9/17/23
to syzkaller...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.
Reply all
Reply to author
Forward
0 new messages