syzbot


WARNING in hfsplus_cat_read_inode

Status: upstream: reported on 2023/01/18 13:05
Subsystems: hfsplus
[Documentation on labels]
Reported-by: syzbot+3deabf85bb3629bc32b2@syzkaller.appspotmail.com
First crash: 435d, last: 411d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING in hfsplus_cat_read_inode origin:lts-only C error 15 316d 373d 0/3 upstream: reported C repro on 2023/03/21 03:51
upstream WARNING in hfsplus_cat_read_inode hfs C error 599 318d 483d 22/26 fixed on 2023/06/08 14:41
linux-6.1 WARNING in hfsplus_cat_read_inode origin:lts-only C done 24 309d 350d 3/3 fixed on 2023/06/26 14:47

Sample crash report:
------------[ cut here ]------------
WARNING: CPU: 1 PID: 10270 at fs/hfsplus/inode.c:511 hfsplus_cat_read_inode+0x78b/0x900 fs/hfsplus/inode.c:511
Kernel panic - not syncing: kernel: panic_on_warn set ...

CPU: 1 PID: 10270 Comm: syz-executor.0 Not tainted 4.14.305-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023
Call Trace:
 __dump_stack lib/dump_stack.c:17 [inline]
 dump_stack+0x1b2/0x281 lib/dump_stack.c:58
 panic+0x21d/0x451 kernel/panic.c:247
 check_panic_on_warn.cold+0x19/0x35 kernel/panic.c:171
 __warn+0xdf/0x1e0 kernel/panic.c:603
 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:ffff88804b437538 EFLAGS: 00010212
RAX: 0000000000040000 RBX: ffff88804b52b418 RCX: ffffc90005bf2000
RDX: 000000000000906e RSI: ffffffff81d29b2b RDI: ffff88804b437890
RBP: ffff88804b437860 R08: 0000000000000001 R09: ffffed1009686e9f
R10: 0000000000000001 R11: ffff88804b888240 R12: 1ffff11009686ea8
R13: ffff88804b43788c R14: 0000000000000002 R15: ffff88804b437878
 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:0x7f263ac1762a
RSP: 002b:00007f2639187f88 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 0000000000000620 RCX: 00007f263ac1762a
RDX: 0000000020000600 RSI: 0000000020000080 RDI: 00007f2639187fe0
RBP: 00007f2639188020 R08: 00007f2639188020 R09: 0000000000a00010
R10: 0000000000a00010 R11: 0000000000000202 R12: 0000000020000600
R13: 0000000020000080 R14: 00007f2639187fe0 R15: 0000000020000000
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/02/11 19:29 linux-4.14.y a8ad60f2af58 93e26d60 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING in hfsplus_cat_read_inode
2023/01/18 19:37 linux-4.14.y 97205fccccdc 4620c2d9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING in hfsplus_cat_read_inode
2023/01/18 13:05 linux-4.14.y 97205fccccdc 4620c2d9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-4-14 WARNING in hfsplus_cat_read_inode
* Struck through repros no longer work on HEAD.