syzbot


WARNING in hfsplus_cat_read_inode

Status: fixed on 2023/06/08 14:41
Subsystems: hfs
[Documentation on labels]
Reported-by: syzbot+e2787430e752a92b8750@syzkaller.appspotmail.com
Fix commit: 81b21c0f0138 fs: hfsplus: remove WARN_ON() from hfsplus_cat_{read,write}_inode()
First crash: 672d, last: 507d
Cause bisection: failed (error log, bisect log)
  
Discussions (10)
Title Replies (including bot) Last reply
[PATCH AUTOSEL 4.14] fs: hfsplus: remove WARN_ON() from hfsplus_cat_{read,write}_inode() 1 (1) 2023/04/30 12:13
[PATCH AUTOSEL 4.19] fs: hfsplus: remove WARN_ON() from hfsplus_cat_{read,write}_inode() 1 (1) 2023/04/30 12:13
[PATCH AUTOSEL 5.4] fs: hfsplus: remove WARN_ON() from hfsplus_cat_{read,write}_inode() 1 (1) 2023/04/30 12:13
[PATCH AUTOSEL 5.10] fs: hfsplus: remove WARN_ON() from hfsplus_cat_{read,write}_inode() 1 (1) 2023/04/30 12:13
[PATCH AUTOSEL 5.15] fs: hfsplus: remove WARN_ON() from hfsplus_cat_{read,write}_inode() 1 (1) 2023/04/30 12:13
[PATCH AUTOSEL 6.1 2/2] fs: hfsplus: remove WARN_ON() from hfsplus_cat_{read,write}_inode() 1 (1) 2023/04/30 12:13
[PATCH AUTOSEL 6.2 2/2] fs: hfsplus: remove WARN_ON() from hfsplus_cat_{read,write}_inode() 1 (1) 2023/04/30 12:13
[PATCH AUTOSEL 6.3 2/2] fs: hfsplus: remove WARN_ON() from hfsplus_cat_{read,write}_inode() 1 (1) 2023/04/30 12:12
[PATCH] fs: hfsplus: remove WARN_ON() from hfsplus_cat_{read,write}_inode() 3 (3) 2023/04/12 09:38
[syzbot] WARNING in hfsplus_cat_read_inode 0 (1) 2022/12/01 12:49
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 505d 562d 0/3 upstream: reported C repro on 2023/03/21 03:51
linux-4.14 WARNING in hfsplus_cat_read_inode hfsplus 3 599d 623d 0/1 upstream: reported on 2023/01/18 13:05
linux-6.1 WARNING in hfsplus_cat_read_inode origin:lts-only C done 24 497d 539d 3/3 fixed on 2023/06/26 14:47

Sample crash report:
loop0: detected capacity change from 0 to 1024
------------[ cut here ]------------
WARNING: CPU: 1 PID: 5061 at fs/hfsplus/inode.c:534 hfsplus_cat_read_inode+0x843/0x9c0 fs/hfsplus/inode.c:534
Modules linked in:
CPU: 1 PID: 5061 Comm: syz-executor996 Not tainted 6.1.0-syzkaller-14446-g8395ae05cb5a #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/26/2022
RIP: 0010:hfsplus_cat_read_inode+0x843/0x9c0 fs/hfsplus/inode.c:534
Code: 8b 6b 30 48 8d bd b8 01 00 00 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 84 b4 fc ff ff e8 c7 9a 88 ff e9 aa fc ff ff e8 ad 92 3a ff <0f> 0b e9 52 f9 ff ff e8 91 9a 88 ff e9 c4 f8 ff ff 4c 89 f7 e8 e4
RSP: 0018:ffffc90003e2f510 EFLAGS: 00010293
RAX: 0000000000000000 RBX: ffff88807c331cb0 RCX: 0000000000000000
RDX: ffff88801e6d0000 RSI: ffffffff8246bf33 RDI: 0000000000000005
RBP: ffffc90003e2f858 R08: 0000000000000005 R09: 00000000000000f7
R10: 0000000000000058 R11: 0000000000000000 R12: 1ffff920007c5ea3
R13: 0000000000000058 R14: ffffc90003e2f884 R15: ffffc90003e2f870
FS:  00005555569e1300(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000005fdeb8 CR3: 000000002006c000 CR4: 0000000000350ee0
Call Trace:
 <TASK>
 hfsplus_iget+0x4be/0x7c0 fs/hfsplus/super.c:84
 hfsplus_fill_super+0xd15/0x1a30 fs/hfsplus/super.c:503
 mount_bdev+0x351/0x410 fs/super.c:1359
 legacy_get_tree+0x109/0x220 fs/fs_context.c:610
 vfs_get_tree+0x8d/0x2f0 fs/super.c:1489
 do_new_mount fs/namespace.c:3145 [inline]
 path_mount+0x132a/0x1e20 fs/namespace.c:3475
 do_mount fs/namespace.c:3488 [inline]
 __do_sys_mount fs/namespace.c:3697 [inline]
 __se_sys_mount fs/namespace.c:3674 [inline]
 __x64_sys_mount+0x283/0x300 fs/namespace.c:3674
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x39/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x63/0xcd
RIP: 0033:0x7f4d25682aea
Code: 83 c4 08 5b 5d c3 66 2e 0f 1f 84 00 00 00 00 00 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 c0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fff2e5a11d8 EFLAGS: 00000286 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f4d25682aea
RDX: 0000000020000180 RSI: 0000000020000640 RDI: 00007fff2e5a11f0
RBP: 00007fff2e5a11f0 R08: 00007fff2e5a1230 R09: 00000000000005d1
R10: 0000000000000000 R11: 0000000000000286 R12: 0000000000000004
R13: 00005555569e12c0 R14: 0000000000000000 R15: 00007fff2e5a1230
 </TASK>

Crashes (599):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2022/12/23 12:31 upstream 8395ae05cb5a 9da18ae8 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-kasan-gce-root WARNING in hfsplus_cat_read_inode
2022/12/18 07:58 upstream f9ff5644bcc0 05494336 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in hfsplus_cat_read_inode
2022/12/01 13:42 upstream 04aa64375f48 4c2a66e8 .config strace log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci2-upstream-fs WARNING in hfsplus_cat_read_inode
2023/05/06 12:24 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 90c93c40 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-arm64 WARNING in hfsplus_cat_read_inode
2022/12/18 17:04 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 05494336 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-arm64 WARNING in hfsplus_cat_read_inode
2022/11/30 18:48 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci cdb931b58ff5 4c2a66e8 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] ci-upstream-gce-arm64 WARNING in hfsplus_cat_read_inode
2023/04/25 07:10 upstream 1a0beef98b58 fdc18293 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-smack-root WARNING in hfsplus_cat_read_inode
2023/04/24 18:58 upstream 457391b03803 fdc18293 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-kasan-gce-root WARNING in hfsplus_cat_read_inode
2023/04/22 10:20 upstream 8e41e0a57566 2b32bd34 .config console log report info ci-qemu-upstream WARNING in hfsplus_cat_read_inode
2023/04/18 09:09 upstream 6a8f57ae2eb0 436577a9 .config console log report info ci-upstream-kasan-gce-selinux-root WARNING in hfsplus_cat_read_inode
2023/03/18 18:58 upstream 478a351ce0d6 7939252e .config console log report info [disk image] [vmlinux] [kernel image] ci2-upstream-fs WARNING in hfsplus_cat_read_inode
2023/04/25 03:16 upstream 1a0beef98b58 65320f8e .config console log report info ci-qemu-upstream-386 WARNING in hfsplus_cat_read_inode
2023/04/07 06:34 linux-next e134c93f788f 00ce4c67 .config console log report info ci-upstream-linux-next-kasan-gce-root WARNING in hfsplus_cat_read_inode
2023/05/15 05:16 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 2b9ba477 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in hfsplus_cat_read_inode
2023/05/15 00:58 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 2b9ba477 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in hfsplus_cat_read_inode
2023/05/14 18:39 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 2b9ba477 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in hfsplus_cat_read_inode
2023/05/12 21:16 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a ecca8a24 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in hfsplus_cat_read_inode
2023/05/04 03:53 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a b5918830 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in hfsplus_cat_read_inode
2023/05/03 15:42 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a b5918830 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in hfsplus_cat_read_inode
2023/05/03 13:19 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a b5918830 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in hfsplus_cat_read_inode
2023/05/03 09:11 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 48e0a81d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in hfsplus_cat_read_inode
2023/05/03 05:48 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 48e0a81d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in hfsplus_cat_read_inode
2023/05/02 17:32 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 48e0a81d .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in hfsplus_cat_read_inode
2023/05/01 22:14 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 62df2017 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in hfsplus_cat_read_inode
2023/05/01 14:42 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 62df2017 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in hfsplus_cat_read_inode
2023/05/01 12:46 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 62df2017 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in hfsplus_cat_read_inode
2023/05/01 06:27 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 62df2017 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in hfsplus_cat_read_inode
2023/04/30 20:48 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 62df2017 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in hfsplus_cat_read_inode
2023/04/30 19:27 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 62df2017 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in hfsplus_cat_read_inode
2023/04/30 19:07 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 62df2017 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in hfsplus_cat_read_inode
2023/04/30 13:18 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 62df2017 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in hfsplus_cat_read_inode
2023/04/29 23:30 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 62df2017 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in hfsplus_cat_read_inode
2023/04/29 00:41 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 62df2017 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in hfsplus_cat_read_inode
2023/04/28 22:08 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 62df2017 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in hfsplus_cat_read_inode
2023/04/28 19:23 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 457a6e0a .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in hfsplus_cat_read_inode
2023/04/28 07:58 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 70a605de .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in hfsplus_cat_read_inode
2023/04/28 01:54 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 70a605de .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in hfsplus_cat_read_inode
2023/04/27 23:27 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 70a605de .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in hfsplus_cat_read_inode
2023/04/27 17:59 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 6f5b1cc4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in hfsplus_cat_read_inode
2023/04/27 14:37 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 6f5b1cc4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in hfsplus_cat_read_inode
2023/04/27 12:34 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 6f5b1cc4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in hfsplus_cat_read_inode
2023/04/27 10:07 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 6f5b1cc4 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in hfsplus_cat_read_inode
2023/04/27 07:32 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 19a3dabe .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in hfsplus_cat_read_inode
2023/04/27 03:25 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 19a3dabe .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in hfsplus_cat_read_inode
2023/04/27 00:08 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 19a3dabe .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in hfsplus_cat_read_inode
2023/04/26 21:21 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 19a3dabe .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in hfsplus_cat_read_inode
2023/04/26 20:08 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 19a3dabe .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in hfsplus_cat_read_inode
2023/04/26 15:33 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 19a3dabe .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in hfsplus_cat_read_inode
2023/04/26 12:28 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 7560799c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in hfsplus_cat_read_inode
2023/04/26 10:59 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 7560799c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in hfsplus_cat_read_inode
2023/04/26 09:36 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 7560799c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in hfsplus_cat_read_inode
2023/04/26 04:18 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 7560799c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in hfsplus_cat_read_inode
2023/04/26 02:06 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 7560799c .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in hfsplus_cat_read_inode
2023/04/26 00:48 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 65320f8e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in hfsplus_cat_read_inode
2023/04/25 21:25 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 65320f8e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in hfsplus_cat_read_inode
2023/04/25 16:43 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 65320f8e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in hfsplus_cat_read_inode
2023/04/25 14:48 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 65320f8e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in hfsplus_cat_read_inode
2023/04/25 11:05 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a 65320f8e .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in hfsplus_cat_read_inode
2023/04/25 08:32 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a fdc18293 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in hfsplus_cat_read_inode
2023/04/25 02:09 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a fdc18293 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in hfsplus_cat_read_inode
2023/04/24 22:41 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 14f8db1c0f9a fdc18293 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 WARNING in hfsplus_cat_read_inode
* Struck through repros no longer work on HEAD.