syzbot


kernel BUG in hfsplus_create_attributes_file

Status: upstream: reported C repro on 2022/11/26 08:06
Reported-by: syzbot+a313c6d1d9ef87de2a66@syzkaller.appspotmail.com
First crash: 71d, last: 1d06h

Sample crash report:
loop0: detected capacity change from 0 to 1024
------------[ cut here ]------------
kernel BUG at fs/hfsplus/xattr.c:175!
Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP
Modules linked in:
CPU: 0 PID: 3072 Comm: syz-executor506 Not tainted 6.1.0-rc7-syzkaller-33097-ge3cb714fb489 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/30/2022
pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : hfsplus_create_attributes_file+0x6d4/0x6fc fs/hfsplus/xattr.c:175
lr : hfsplus_create_attributes_file+0x6d4/0x6fc fs/hfsplus/xattr.c:175
sp : ffff80000ff836d0
x29: ffff80000ff836f0 x28: 000000000000006f x27: ffff0000c7de6000
x26: ffff0000c7cfe000 x25: ffff80000cbd8c54 x24: 0000000000000088
x23: 0000000000000003 x22: 0000000000010000 x21: 0000000000000001
x20: ffff0000cb1da8b0 x19: ffff0000c7de6038 x18: 00000000000000c0
x17: ffff80000dda8198 x16: ffff80000dbe6158 x15: ffff0000c687cec0
x14: 0000000000000000 x13: 0000000000000007 x12: ffff0000c687cec0
x11: ff808000088f8be4 x10: 0000000000000000 x9 : ffff8000088f8be4
x8 : ffff0000c687cec0 x7 : ffff8000085f9994 x6 : 0000000000000000
x5 : ffff80000e0b3b68 x4 : 0000000000000008 x3 : ffff80000dc2d588
x2 : 0000000000000001 x1 : 0000000000010000 x0 : 0000000000000000
Call trace:
 hfsplus_create_attributes_file+0x6d4/0x6fc fs/hfsplus/xattr.c:175
 __hfsplus_setxattr+0x180/0x4e8 fs/hfsplus/xattr.c:331
 hfsplus_setxattr+0x8c/0xc4 fs/hfsplus/xattr.c:434
 hfsplus_trusted_setxattr+0x54/0x6c fs/hfsplus/xattr_trusted.c:30
 __vfs_setxattr+0x250/0x260 fs/xattr.c:182
 __vfs_setxattr_noperm+0xcc/0x320 fs/xattr.c:216
 __vfs_setxattr_locked+0x16c/0x194 fs/xattr.c:277
 vfs_setxattr+0xf4/0x1f4 fs/xattr.c:309
 do_setxattr fs/xattr.c:594 [inline]
 setxattr fs/xattr.c:617 [inline]
 path_setxattr+0x354/0x414 fs/xattr.c:636
 __do_sys_lsetxattr fs/xattr.c:659 [inline]
 __se_sys_lsetxattr fs/xattr.c:655 [inline]
 __arm64_sys_lsetxattr+0x2c/0x40 fs/xattr.c:655
 __invoke_syscall arch/arm64/kernel/syscall.c:38 [inline]
 invoke_syscall arch/arm64/kernel/syscall.c:52 [inline]
 el0_svc_common+0x138/0x220 arch/arm64/kernel/syscall.c:142
 do_el0_svc+0x48/0x140 arch/arm64/kernel/syscall.c:197
 el0_svc+0x58/0x150 arch/arm64/kernel/entry-common.c:637
 el0t_64_sync_handler+0x84/0xf0 arch/arm64/kernel/entry-common.c:655
 el0t_64_sync+0x190/0x194 arch/arm64/kernel/entry.S:584
Code: d4210000 97e6b369 d4210000 97e6b367 (d4210000) 
---[ end trace 0000000000000000 ]---

Crashes (91):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets Title
ci-upstream-gce-arm64 2022/12/03 11:46 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci e3cb714fb489 e080de16 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] kernel BUG in hfsplus_create_attributes_file
ci-upstream-gce-arm64 2022/11/27 09:32 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 6d464646530f 74a66371 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] kernel BUG in hfsplus_create_attributes_file
ci-upstream-gce-arm64 2022/11/26 23:46 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 6d464646530f 74a66371 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] kernel BUG in hfsplus_create_attributes_file
ci-upstream-gce-arm64 2022/11/26 23:35 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 6d464646530f 74a66371 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] kernel BUG in hfsplus_create_attributes_file
ci-upstream-gce-arm64 2022/11/26 20:40 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 6d464646530f 74a66371 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] kernel BUG in hfsplus_create_attributes_file
ci-upstream-gce-arm64 2022/11/25 23:05 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 6d464646530f 74a66371 .config console log report syz C [disk image] [vmlinux] [kernel image] [mounted in repro] kernel BUG in hfsplus_create_attributes_file
ci-upstream-gce-arm64 2023/02/04 05:44 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci ca72d58361ee 1b2f701a .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in hfsplus_create_attributes_file
ci-upstream-gce-arm64 2023/02/03 07:17 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci ca72d58361ee 16d19e30 .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in hfsplus_create_attributes_file
ci-upstream-gce-arm64 2023/02/03 04:51 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci ca72d58361ee 16d19e30 .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in hfsplus_create_attributes_file
ci-upstream-gce-arm64 2023/02/03 03:09 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci ca72d58361ee 16d19e30 .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in hfsplus_create_attributes_file
ci-upstream-gce-arm64 2023/02/03 02:02 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci ca72d58361ee 16d19e30 .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in hfsplus_create_attributes_file
ci-upstream-gce-arm64 2023/01/31 21:41 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci f57a12aa375c 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in hfsplus_create_attributes_file
ci-upstream-gce-arm64 2023/01/31 12:41 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c62c88e05937 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in hfsplus_create_attributes_file
ci-upstream-gce-arm64 2023/01/30 08:03 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c62c88e05937 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in hfsplus_create_attributes_file
ci-upstream-gce-arm64 2023/01/30 06:23 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c62c88e05937 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in hfsplus_create_attributes_file
ci-upstream-gce-arm64 2023/01/29 15:18 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c62c88e05937 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in hfsplus_create_attributes_file
ci-upstream-gce-arm64 2023/01/29 08:44 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c62c88e05937 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in hfsplus_create_attributes_file
ci-upstream-gce-arm64 2023/01/28 19:01 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c62c88e05937 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in hfsplus_create_attributes_file
ci-upstream-gce-arm64 2023/01/28 13:00 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c62c88e05937 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in hfsplus_create_attributes_file
ci-upstream-gce-arm64 2023/01/27 21:21 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci c62c88e05937 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in hfsplus_create_attributes_file
ci-upstream-gce-arm64 2023/01/27 08:50 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 1dc22be1f91f 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in hfsplus_create_attributes_file
ci-upstream-gce-arm64 2023/01/26 22:37 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 1dc22be1f91f 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in hfsplus_create_attributes_file
ci-upstream-gce-arm64 2023/01/26 02:59 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 2e84eedb182e 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in hfsplus_create_attributes_file
ci-upstream-gce-arm64 2023/01/25 21:23 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 2e84eedb182e 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in hfsplus_create_attributes_file
ci-upstream-gce-arm64 2023/01/25 18:19 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 2e84eedb182e 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in hfsplus_create_attributes_file
ci-upstream-gce-arm64 2023/01/25 15:26 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 2e84eedb182e 9dfcf09c .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in hfsplus_create_attributes_file
ci-upstream-gce-arm64 2023/01/22 13:42 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci edb2f0dc90f2 559a440a .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in hfsplus_create_attributes_file
ci-upstream-gce-arm64 2023/01/21 23:04 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci edb2f0dc90f2 559a440a .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in hfsplus_create_attributes_file
ci-upstream-gce-arm64 2023/01/21 13:08 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci edb2f0dc90f2 559a440a .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in hfsplus_create_attributes_file
ci-upstream-gce-arm64 2023/01/20 00:35 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9598c377d828 1b826a2f .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in hfsplus_create_attributes_file
ci-upstream-gce-arm64 2023/01/19 22:11 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9598c377d828 1b826a2f .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in hfsplus_create_attributes_file
ci-upstream-gce-arm64 2023/01/19 09:50 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9598c377d828 42660d9e .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in hfsplus_create_attributes_file
ci-upstream-gce-arm64 2023/01/18 00:17 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9598c377d828 aedf5331 .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in hfsplus_create_attributes_file
ci-upstream-gce-arm64 2023/01/18 00:06 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9598c377d828 aedf5331 .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in hfsplus_create_attributes_file
ci-upstream-gce-arm64 2023/01/16 06:49 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9598c377d828 a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in hfsplus_create_attributes_file
ci-upstream-gce-arm64 2023/01/15 19:56 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9598c377d828 a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in hfsplus_create_attributes_file
ci-upstream-gce-arm64 2023/01/15 16:38 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 9598c377d828 a63719e7 .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in hfsplus_create_attributes_file
ci-upstream-gce-arm64 2023/01/11 03:11 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 358a161a6a9e 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in hfsplus_create_attributes_file
ci-upstream-gce-arm64 2023/01/10 04:36 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 358a161a6a9e 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in hfsplus_create_attributes_file
ci-upstream-gce-arm64 2023/01/09 22:30 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 358a161a6a9e 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in hfsplus_create_attributes_file
ci-upstream-gce-arm64 2023/01/08 14:53 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci ae87308093bc 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in hfsplus_create_attributes_file
ci-upstream-gce-arm64 2023/01/08 08:33 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci ae87308093bc 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in hfsplus_create_attributes_file
ci-upstream-gce-arm64 2023/01/06 02:00 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 247f34f7b803 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in hfsplus_create_attributes_file
ci-upstream-gce-arm64 2023/01/05 12:27 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 1dac8c7a .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in hfsplus_create_attributes_file
ci-upstream-gce-arm64 2023/01/02 14:47 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in hfsplus_create_attributes_file
ci-upstream-gce-arm64 2023/01/01 10:54 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 ab32d508 .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in hfsplus_create_attributes_file
ci-upstream-gce-arm64 2022/12/29 13:04 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 44712fbc .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in hfsplus_create_attributes_file
ci-upstream-gce-arm64 2022/12/28 23:15 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a5541c0811a0 44712fbc .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in hfsplus_create_attributes_file
ci-upstream-gce-arm64 2022/11/25 22:55 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci 6d464646530f 74a66371 .config console log report info [disk image] [vmlinux] [kernel image] kernel BUG in hfsplus_create_attributes_file
* Struck through repros no longer work on HEAD.