syzbot


WARNING in hfsplus_cat_read_inode

Status: upstream: reported C repro on 2023/03/21 03:51
Bug presence: origin:lts-only
[Documentation on labels]
Reported-by: syzbot+b9a563c9e91fe46ab024@syzkaller.appspotmail.com
First crash: 397d, last: 340d
Fix bisection: failed (error log, bisect log)
  
Bug presence (2)
Date Name Commit Repro Result
2023/05/17 linux-5.15.y (ToT) b0ece631f84a C [report] WARNING in hfsplus_cat_read_inode
2023/05/17 upstream (ToT) f1fcbaa18b28 C Didn't crash
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 WARNING in hfsplus_cat_read_inode hfsplus 3 434d 458d 0/1 upstream: reported on 2023/01/18 13:05
upstream WARNING in hfsplus_cat_read_inode hfs C error 599 342d 506d 22/26 fixed on 2023/06/08 14:41
linux-6.1 WARNING in hfsplus_cat_read_inode origin:lts-only C done 24 332d 374d 3/3 fixed on 2023/06/26 14:47
Fix bisection attempts (7)
Created Duration User Patch Repo Result
2024/03/28 20:47 1m fix candidate upstream error job log (0)
2024/02/26 08:04 0m fix candidate upstream error job log (0)
2024/01/16 06:37 1m fix candidate upstream error job log (0)
2023/12/17 05:30 0m fix candidate upstream error job log (0)
2023/11/15 08:31 1m fix candidate upstream error job log (0)
2023/10/02 12:03 21m fix candidate upstream error job log (0)
2023/06/16 02:29 0m bisect fix linux-5.15.y error job log (0)

Sample crash report:
loop0: detected capacity change from 0 to 1024
------------[ cut here ]------------
WARNING: CPU: 0 PID: 3962 at fs/hfsplus/inode.c:532 hfsplus_cat_read_inode+0x864/0xc38 fs/hfsplus/inode.c:532
Modules linked in:
CPU: 0 PID: 3962 Comm: syz-executor100 Not tainted 5.15.111-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : hfsplus_cat_read_inode+0x864/0xc38 fs/hfsplus/inode.c:532
lr : hfsplus_cat_read_inode+0x864/0xc38 fs/hfsplus/inode.c:532
sp : ffff80001af470e0
x29: ffff80001af473e0 x28: 1ffff000035e8e93 x27: 1ffff000035e8e95
x26: dfff800000000000 x25: ffff7000035e8e20 x24: 0000000000000002
x23: 000000000000004e x22: ffff80001af47498 x21: ffff80001af474ac
x20: ffff80001af47120 x19: ffff0000d7ef1cb0 x18: 0000000000000000
x17: ff80800008f98ff0 x16: 0000000000000000 x15: ffff800008f98ff0
x14: 0000000000000002 x13: ffffffffffffffff x12: 0000000000000000
x11: ff80800008f9974c x10: 0000000000000000 x9 : ffff800008f9974c
x8 : ffff0000d8b8d1c0 x7 : 0000000000000000 x6 : 0000000000000000
x5 : ffff80001af47062 x4 : ffff000178c93032 x3 : ffff800008fac1d0
x2 : 0000000000000002 x1 : 000000000000004e x0 : 00000000000000f8
Call trace:
 hfsplus_cat_read_inode+0x864/0xc38 fs/hfsplus/inode.c:532
 hfsplus_iget+0x4ac/0x570 fs/hfsplus/super.c:84
 hfsplus_fill_super+0x9c4/0x167c fs/hfsplus/super.c:503
 mount_bdev+0x26c/0x368 fs/super.c:1378
 hfsplus_mount+0x44/0x58 fs/hfsplus/super.c:641
 legacy_get_tree+0xd4/0x16c fs/fs_context.c:610
 vfs_get_tree+0x90/0x274 fs/super.c:1508
 do_new_mount+0x25c/0x8c8 fs/namespace.c:2994
 path_mount+0x590/0x104c fs/namespace.c:3324
 do_mount fs/namespace.c:3337 [inline]
 __do_sys_mount fs/namespace.c:3545 [inline]
 __se_sys_mount fs/namespace.c:3522 [inline]
 __arm64_sys_mount+0x510/0x5e0 fs/namespace.c:3522
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall+0x98/0x2b8 arch/arm64/kernel/syscall.c:52
 el0_svc_common+0x138/0x258 arch/arm64/kernel/syscall.c:142
 do_el0_svc+0x58/0x14c arch/arm64/kernel/syscall.c:181
 el0_svc+0x7c/0x1f0 arch/arm64/kernel/entry-common.c:596
 el0t_64_sync_handler+0x84/0xe4 arch/arm64/kernel/entry-common.c:614
 el0t_64_sync+0x1a0/0x1a4 arch/arm64/kernel/entry.S:584
irq event stamp: 16478
hardirqs last  enabled at (16477): [<ffff800011a1bbd8>] __raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:160 [inline]
hardirqs last  enabled at (16477): [<ffff800011a1bbd8>] _raw_spin_unlock_irqrestore+0xac/0x158 kernel/locking/spinlock.c:194
hardirqs last disabled at (16478): [<ffff800011943708>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:387
softirqs last  enabled at (15862): [<ffff8000080300b4>] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:31
softirqs last disabled at (15860): [<ffff800008030080>] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:18
---[ end trace 588c9a726d7046a2 ]---

Crashes (15):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2023/05/12 10:54 linux-5.15.y b0ece631f84a adb9a3cd .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-linux-5-15-kasan-arm64 WARNING in hfsplus_cat_read_inode
2023/05/09 19:28 linux-5.15.y 8a7f2a5c5aa1 30aa2a7e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in hfsplus_cat_read_inode
2023/04/28 02:31 linux-5.15.y f48aeeaaa64c 6f3d6fa7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in hfsplus_cat_read_inode
2023/04/23 10:35 linux-5.15.y 3299fb36854f 2b32bd34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in hfsplus_cat_read_inode
2023/04/20 12:33 linux-5.15.y 3299fb36854f a219f34e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in hfsplus_cat_read_inode
2023/04/16 13:19 linux-5.15.y 4fdad925aa1a ec410564 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in hfsplus_cat_read_inode
2023/04/14 07:23 linux-5.15.y 4fdad925aa1a 3cfcaa1b .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in hfsplus_cat_read_inode
2023/04/12 07:04 linux-5.15.y d86dfc4d95cd 49faf98d .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in hfsplus_cat_read_inode
2023/03/21 03:50 linux-5.15.y 8020ae3c051d 7939252e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in hfsplus_cat_read_inode
2023/05/16 08:33 linux-5.15.y b0ece631f84a 71b00cfb .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in hfsplus_cat_read_inode
2023/05/16 06:05 linux-5.15.y b0ece631f84a 71b00cfb .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in hfsplus_cat_read_inode
2023/05/15 15:53 linux-5.15.y b0ece631f84a c4d362e7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in hfsplus_cat_read_inode
2023/05/15 12:09 linux-5.15.y b0ece631f84a c4d362e7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in hfsplus_cat_read_inode
2023/05/14 19:12 linux-5.15.y b0ece631f84a 2b9ba477 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in hfsplus_cat_read_inode
2023/04/05 09:19 linux-5.15.y c957cbb87315 831373d3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in hfsplus_cat_read_inode
* Struck through repros no longer work on HEAD.