overlayfs: upper fs does not support tmpfile. overlayfs: upper fs does not support RENAME_WHITEOUT. ------------[ cut here ]------------ UBSAN: array-index-out-of-bounds in fs/ocfs2/xattr.c:1985:3 index 2 is out of range for type 'struct ocfs2_xattr_entry[] __counted_by(xh_count)' (aka 'struct ocfs2_xattr_entry[]') CPU: 1 UID: 0 PID: 17365 Comm: syz.1.2409 Tainted: G L syzkaller #0 PREEMPT Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/03/2025 Call trace: show_stack+0x2c/0x3c arch/arm64/kernel/stacktrace.c:499 (C) __dump_stack+0x30/0x40 lib/dump_stack.c:94 dump_stack_lvl+0xd8/0x12c lib/dump_stack.c:120 dump_stack+0x1c/0x28 lib/dump_stack.c:129 ubsan_epilogue+0x14/0x48 lib/ubsan.c:233 __ubsan_handle_out_of_bounds+0xd0/0xfc lib/ubsan.c:455 ocfs2_xa_remove_entry+0x314/0x384 fs/ocfs2/xattr.c:1985 ocfs2_xa_remove fs/ocfs2/xattr.c:2073 [inline] ocfs2_xa_set+0x938/0x23c0 fs/ocfs2/xattr.c:2277 ocfs2_xattr_block_set+0x328/0x2a88 fs/ocfs2/xattr.c:3015 __ocfs2_xattr_set_handle+0x200/0xc28 fs/ocfs2/xattr.c:-1 ocfs2_xattr_set+0xb38/0xe9c fs/ocfs2/xattr.c:3680 ocfs2_xattr_trusted_set+0x4c/0x64 fs/ocfs2/xattr.c:7366 __vfs_removexattr+0x3bc/0x3e4 fs/xattr.c:518 __vfs_removexattr_locked+0x1cc/0x204 fs/xattr.c:553 vfs_removexattr+0x80/0x18c fs/xattr.c:575 ovl_do_removexattr fs/overlayfs/overlayfs.h:335 [inline] ovl_removexattr fs/overlayfs/overlayfs.h:343 [inline] ovl_make_workdir fs/overlayfs/super.c:760 [inline] ovl_get_workdir fs/overlayfs/super.c:840 [inline] ovl_fill_super_creds fs/overlayfs/super.c:1453 [inline] ovl_fill_super+0x3e40/0x4cdc fs/overlayfs/super.c:1567 vfs_get_super fs/super.c:1324 [inline] get_tree_nodev+0xb4/0x144 fs/super.c:1343 ovl_get_tree+0x28/0x38 fs/overlayfs/params.c:708 vfs_get_tree+0x90/0x28c fs/super.c:1751 fc_mount fs/namespace.c:1199 [inline] do_new_mount_fc fs/namespace.c:3636 [inline] do_new_mount+0x284/0x944 fs/namespace.c:3712 path_mount+0x5b4/0xdfc fs/namespace.c:4022 do_mount fs/namespace.c:4035 [inline] __do_sys_mount fs/namespace.c:4224 [inline] __se_sys_mount fs/namespace.c:4201 [inline] __arm64_sys_mount+0x3e8/0x468 fs/namespace.c:4201 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x254 arch/arm64/kernel/syscall.c:49 el0_svc_common+0xe8/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x5c/0x26c arch/arm64/kernel/entry-common.c:724 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:743 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 ---[ end trace ]--- ------------[ cut here ]------------ memset: detected buffer overflow: 16 byte write of buffer size 0 WARNING: lib/string_helpers.c:1036 at __fortify_report+0xa4/0xc0 lib/string_helpers.c:1035, CPU#1: syz.1.2409/17365 Modules linked in: CPU: 1 UID: 0 PID: 17365 Comm: syz.1.2409 Tainted: G L syzkaller #0 PREEMPT Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/03/2025 pstate: 63400005 (nZCv daif +PAN -UAO +TCO +DIT -SSBS BTYPE=--) pc : __fortify_report+0xa4/0xc0 lib/string_helpers.c:1035 lr : __fortify_report+0xa4/0xc0 lib/string_helpers.c:1035 sp : ffff8000a34a6660 x29: ffff8000a34a6660 x28: 1fffe0002c522106 x27: dfff800000000000 x26: ffff000162910840 x25: 0000000000000000 x24: 0000000000000001 x23: 000000000000000f x22: ffff80008b5a20d8 x21: 0000000000000001 x20: 0000000000000010 x19: 0000000000000000 x18: 1fffe00033781890 x17: 635f5f205d5b7972 x16: ffff800082e5e68c x15: 0000000000000001 x14: 1fffe000337818fa x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000080000 x10: 000000000002e693 x9 : 3ea758b1a8b84900 x8 : 3ea758b1a8b84900 x7 : 00000000043a4fd0 x6 : ffff8000805761f8 x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff8000807f1034 x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000000 Call trace: __fortify_report+0xa4/0xc0 lib/string_helpers.c:1035 (P) __fortify_panic+0x10/0x14 lib/string_helpers.c:1042 fortify_memset_chk include/linux/fortify-string.h:497 [inline] ocfs2_xa_remove_entry+0x34c/0x384 fs/ocfs2/xattr.c:1987 ocfs2_xa_remove fs/ocfs2/xattr.c:2073 [inline] ocfs2_xa_set+0x938/0x23c0 fs/ocfs2/xattr.c:2277 ocfs2_xattr_block_set+0x328/0x2a88 fs/ocfs2/xattr.c:3015 __ocfs2_xattr_set_handle+0x200/0xc28 fs/ocfs2/xattr.c:-1 ocfs2_xattr_set+0xb38/0xe9c fs/ocfs2/xattr.c:3680 ocfs2_xattr_trusted_set+0x4c/0x64 fs/ocfs2/xattr.c:7366 __vfs_removexattr+0x3bc/0x3e4 fs/xattr.c:518 __vfs_removexattr_locked+0x1cc/0x204 fs/xattr.c:553 vfs_removexattr+0x80/0x18c fs/xattr.c:575 ovl_do_removexattr fs/overlayfs/overlayfs.h:335 [inline] ovl_removexattr fs/overlayfs/overlayfs.h:343 [inline] ovl_make_workdir fs/overlayfs/super.c:760 [inline] ovl_get_workdir fs/overlayfs/super.c:840 [inline] ovl_fill_super_creds fs/overlayfs/super.c:1453 [inline] ovl_fill_super+0x3e40/0x4cdc fs/overlayfs/super.c:1567 vfs_get_super fs/super.c:1324 [inline] get_tree_nodev+0xb4/0x144 fs/super.c:1343 ovl_get_tree+0x28/0x38 fs/overlayfs/params.c:708 vfs_get_tree+0x90/0x28c fs/super.c:1751 fc_mount fs/namespace.c:1199 [inline] do_new_mount_fc fs/namespace.c:3636 [inline] do_new_mount+0x284/0x944 fs/namespace.c:3712 path_mount+0x5b4/0xdfc fs/namespace.c:4022 do_mount fs/namespace.c:4035 [inline] __do_sys_mount fs/namespace.c:4224 [inline] __se_sys_mount fs/namespace.c:4201 [inline] __arm64_sys_mount+0x3e8/0x468 fs/namespace.c:4201 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x254 arch/arm64/kernel/syscall.c:49 el0_svc_common+0xe8/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x5c/0x26c arch/arm64/kernel/entry-common.c:724 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:743 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 irq event stamp: 0 hardirqs last enabled at (0): [<0000000000000000>] 0x0 hardirqs last disabled at (0): [] copy_process+0x1074/0x32fc kernel/fork.c:2166 softirqs last enabled at (0): [] copy_process+0x10a8/0x32fc kernel/fork.c:2167 softirqs last disabled at (0): [<0000000000000000>] 0x0 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ kernel BUG at lib/string_helpers.c:1043! Internal error: Oops - BUG: 00000000f2000800 [#1] SMP Modules linked in: CPU: 0 UID: 0 PID: 17365 Comm: syz.1.2409 Tainted: G W L syzkaller #0 PREEMPT Tainted: [W]=WARN, [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/03/2025 pstate: 63400005 (nZCv daif +PAN -UAO +TCO +DIT -SSBS BTYPE=--) pc : __fortify_panic+0x10/0x14 lib/string_helpers.c:1042 lr : __fortify_panic+0x10/0x14 lib/string_helpers.c:1042 sp : ffff8000a34a66a0 x29: ffff8000a34a66a0 x28: 1fffe0002c522106 x27: dfff800000000000 x26: ffff000162910840 x25: 0000000000000000 x24: 0000000000000001 x23: ffff000162910850 x22: 0000000000000001 x21: 0000000000000001 x20: 0000000000000001 x19: ffff000162910830 x18: 1fffe00033781890 x17: 635f5f205d5b7972 x16: ffff800082e5e68c x15: 0000000000000001 x14: 1fffe000337818fa x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000080000 x10: 000000000002e693 x9 : 3ea758b1a8b84900 x8 : 3ea758b1a8b84900 x7 : 00000000043a4fd0 x6 : ffff8000805761f8 x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff8000807f1034 x2 : 0000000000000001 x1 : 0000000100000000 x0 : 0000000000000000 Call trace: __fortify_panic+0x10/0x14 lib/string_helpers.c:1042 (P) fortify_memset_chk include/linux/fortify-string.h:497 [inline] ocfs2_xa_remove_entry+0x34c/0x384 fs/ocfs2/xattr.c:1987 ocfs2_xa_remove fs/ocfs2/xattr.c:2073 [inline] ocfs2_xa_set+0x938/0x23c0 fs/ocfs2/xattr.c:2277 ocfs2_xattr_block_set+0x328/0x2a88 fs/ocfs2/xattr.c:3015 __ocfs2_xattr_set_handle+0x200/0xc28 fs/ocfs2/xattr.c:-1 ocfs2_xattr_set+0xb38/0xe9c fs/ocfs2/xattr.c:3680 ocfs2_xattr_trusted_set+0x4c/0x64 fs/ocfs2/xattr.c:7366 __vfs_removexattr+0x3bc/0x3e4 fs/xattr.c:518 __vfs_removexattr_locked+0x1cc/0x204 fs/xattr.c:553 vfs_removexattr+0x80/0x18c fs/xattr.c:575 ovl_do_removexattr fs/overlayfs/overlayfs.h:335 [inline] ovl_removexattr fs/overlayfs/overlayfs.h:343 [inline] ovl_make_workdir fs/overlayfs/super.c:760 [inline] ovl_get_workdir fs/overlayfs/super.c:840 [inline] ovl_fill_super_creds fs/overlayfs/super.c:1453 [inline] ovl_fill_super+0x3e40/0x4cdc fs/overlayfs/super.c:1567 vfs_get_super fs/super.c:1324 [inline] get_tree_nodev+0xb4/0x144 fs/super.c:1343 ovl_get_tree+0x28/0x38 fs/overlayfs/params.c:708 vfs_get_tree+0x90/0x28c fs/super.c:1751 fc_mount fs/namespace.c:1199 [inline] do_new_mount_fc fs/namespace.c:3636 [inline] do_new_mount+0x284/0x944 fs/namespace.c:3712 path_mount+0x5b4/0xdfc fs/namespace.c:4022 do_mount fs/namespace.c:4035 [inline] __do_sys_mount fs/namespace.c:4224 [inline] __se_sys_mount fs/namespace.c:4201 [inline] __arm64_sys_mount+0x3e8/0x468 fs/namespace.c:4201 __invoke_syscall arch/arm64/kernel/syscall.c:35 [inline] invoke_syscall+0x98/0x254 arch/arm64/kernel/syscall.c:49 el0_svc_common+0xe8/0x23c arch/arm64/kernel/syscall.c:132 do_el0_svc+0x48/0x58 arch/arm64/kernel/syscall.c:151 el0_svc+0x5c/0x26c arch/arm64/kernel/entry-common.c:724 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:743 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596 Code: d503233f a9bf7bfd 910003fd 94b2f454 (d4210000) ---[ end trace 0000000000000000 ]---