[hfsplus?] WARNING in hfsplus_cat_read_inode

5 views
Skip to first unread message

syzbot

unread,
Jan 18, 2023, 8:05:47 AM1/18/23
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 97205fccccdc Linux 4.14.303
git tree: linux-4.14.y
console output: https://syzkaller.appspot.com/x/log.txt?x=12a73061480000
kernel config: https://syzkaller.appspot.com/x/.config?x=9082325d51b8e29e
dashboard link: https://syzkaller.appspot.com/bug?extid=3deabf85bb3629bc32b2
compiler: gcc version 10.2.1 20210110 (Debian 10.2.1-6)

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

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/743935faa88a/disk-97205fcc.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/c24286de77a6/vmlinux-97205fcc.xz
kernel image: https://storage.googleapis.com/syzbot-assets/a69348a09157/bzImage-97205fcc.xz

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

------------[ cut here ]------------
WARNING: CPU: 1 PID: 9877 at fs/hfsplus/inode.c:511 hfsplus_cat_read_inode+0x78b/0x900 fs/hfsplus/inode.c:511
netlink: 20 bytes leftover after parsing attributes in process `syz-executor.1'.
Kernel panic - not syncing: panic_on_warn set ...

CPU: 1 PID: 9877 Comm: syz-executor.5 Not tainted 4.14.303-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/12/2023
Call Trace:
__dump_stack lib/dump_stack.c:17 [inline]
dump_stack+0x1b2/0x281 lib/dump_stack.c:58
panic+0x1f9/0x42d kernel/panic.c:183
__warn.cold+0x20/0x44 kernel/panic.c:547
report_bug+0x208/0x250 lib/bug.c:183
fixup_bug arch/x86/kernel/traps.c:177 [inline]
fixup_bug arch/x86/kernel/traps.c:172 [inline]
do_error_trap+0x195/0x2d0 arch/x86/kernel/traps.c:295
invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:967
RIP: 0010:hfsplus_cat_read_inode+0x78b/0x900 fs/hfsplus/inode.c:511
RSP: 0018:ffff88809583f538 EFLAGS: 00010216
RAX: 0000000000040000 RBX: ffff88808d65a318 RCX: ffffc900060c0000
RDX: 00000000000104e9 RSI: ffffffff81d29aeb RDI: ffff88809583f890
RBP: ffff88809583f860 R08: 0000000000000001 R09: ffffed1012b07e9f
R10: 0000000000000001 R11: ffff8880955ae480 R12: 1ffff11012b07ea8
R13: ffff88809583f88c R14: 0000000000000002 R15: ffff88809583f878
hfsplus_iget+0x3c5/0x700 fs/hfsplus/super.c:83
hfsplus_fill_super+0xbd0/0x1850 fs/hfsplus/super.c:503
mount_bdev+0x2b3/0x360 fs/super.c:1134
mount_fs+0x92/0x2a0 fs/super.c:1237
vfs_kern_mount.part.0+0x5b/0x470 fs/namespace.c:1046
vfs_kern_mount fs/namespace.c:1036 [inline]
do_new_mount fs/namespace.c:2572 [inline]
do_mount+0xe65/0x2a30 fs/namespace.c:2905
SYSC_mount fs/namespace.c:3121 [inline]
SyS_mount+0xa8/0x120 fs/namespace.c:3098
do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
entry_SYSCALL_64_after_hwframe+0x5e/0xd3
RIP: 0033:0x7f10f04015fa
RSP: 002b:00007f10ee971f88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 0000000000000626 RCX: 00007f10f04015fa
RDX: 0000000020000600 RSI: 0000000020000040 RDI: 00007f10ee971fe0
RBP: 00007f10ee972020 R08: 00007f10ee972020 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 0000000020000600
R13: 0000000020000040 R14: 00007f10ee971fe0 R15: 0000000020000240
Kernel Offset: disabled
Rebooting in 86400 seconds..


---
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.
Reply all
Reply to author
Forward
0 new messages