overlayfs: upper fs does not support tmpfile. overlayfs: upper fs does not support RENAME_WHITEOUT. ====================================================== WARNING: possible circular locking dependency detected syzkaller #0 Not tainted ------------------------------------------------------ syz.9.389/8972 is trying to acquire lock: ffff0000e26f9800 (&ocfs2_sysfile_lock_key[TRUNCATE_LOG_SYSTEM_INODE]){+.+.}-{4:4}, at: inode_lock include/linux/fs.h:1027 [inline] ffff0000e26f9800 (&ocfs2_sysfile_lock_key[TRUNCATE_LOG_SYSTEM_INODE]){+.+.}-{4:4}, at: ocfs2_xattr_set+0x8a8/0xe9c fs/ocfs2/xattr.c:3652 but task is already holding lock: ffff0000eccf2378 (&oi->ip_xattr_sem){+.+.}-{4:4}, at: ocfs2_xattr_set+0x330/0xe9c fs/ocfs2/xattr.c:3613 which lock already depends on the new lock. the existing dependency chain (in reverse order) is: -> #4 (&oi->ip_xattr_sem){+.+.}-{4:4}: down_write+0x50/0xc0 kernel/locking/rwsem.c:1590 ocfs2_xattr_set_handle+0x2a8/0x5e4 fs/ocfs2/xattr.c:3531 ocfs2_init_security_set+0xb4/0xd8 fs/ocfs2/xattr.c:7337 ocfs2_symlink+0x1680/0x1ff8 fs/ocfs2/namei.c:2014 vfs_symlink+0x234/0x264 fs/namei.c:5514 do_symlinkat+0x178/0x524 fs/namei.c:5541 __do_sys_symlinkat fs/namei.c:5562 [inline] __se_sys_symlinkat fs/namei.c:5559 [inline] __arm64_sys_symlinkat+0x9c/0xb4 fs/namei.c:5559 __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 -> #3 (&journal->j_trans_barrier){.+.+}-{4:4}: down_read+0x58/0x308 kernel/locking/rwsem.c:1537 ocfs2_start_trans+0x35c/0x6b0 fs/ocfs2/journal.c:372 ocfs2_block_group_alloc fs/ocfs2/suballoc.c:686 [inline] ocfs2_reserve_suballoc_bits+0x74c/0x3ea0 fs/ocfs2/suballoc.c:835 ocfs2_reserve_new_metadata_blocks+0x368/0x810 fs/ocfs2/suballoc.c:985 ocfs2_expand_inline_dir fs/ocfs2/dir.c:2866 [inline] ocfs2_extend_dir+0x958/0x3964 fs/ocfs2/dir.c:3228 ocfs2_prepare_dir_for_insert+0x27ec/0x446c fs/ocfs2/dir.c:4346 ocfs2_symlink+0x614/0x1ff8 fs/ocfs2/namei.c:1876 vfs_symlink+0x234/0x264 fs/namei.c:5514 do_symlinkat+0x178/0x524 fs/namei.c:5541 __do_sys_symlinkat fs/namei.c:5562 [inline] __se_sys_symlinkat fs/namei.c:5559 [inline] __arm64_sys_symlinkat+0x9c/0xb4 fs/namei.c:5559 __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 -> #2 (sb_internal#5){.+.+}-{0:0}: percpu_down_read_internal include/linux/percpu-rwsem.h:53 [inline] percpu_down_read_freezable include/linux/percpu-rwsem.h:83 [inline] __sb_start_write include/linux/fs/super.h:19 [inline] sb_start_intwrite include/linux/fs/super.h:177 [inline] ocfs2_start_trans+0x1f4/0x6b0 fs/ocfs2/journal.c:370 ocfs2_block_group_alloc fs/ocfs2/suballoc.c:686 [inline] ocfs2_reserve_suballoc_bits+0x74c/0x3ea0 fs/ocfs2/suballoc.c:835 ocfs2_reserve_new_metadata_blocks+0x368/0x810 fs/ocfs2/suballoc.c:985 ocfs2_expand_inline_dir fs/ocfs2/dir.c:2866 [inline] ocfs2_extend_dir+0x958/0x3964 fs/ocfs2/dir.c:3228 ocfs2_prepare_dir_for_insert+0x27ec/0x446c fs/ocfs2/dir.c:4346 ocfs2_symlink+0x614/0x1ff8 fs/ocfs2/namei.c:1876 vfs_symlink+0x234/0x264 fs/namei.c:5514 do_symlinkat+0x178/0x524 fs/namei.c:5541 __do_sys_symlinkat fs/namei.c:5562 [inline] __se_sys_symlinkat fs/namei.c:5559 [inline] __arm64_sys_symlinkat+0x9c/0xb4 fs/namei.c:5559 __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 -> #1 (&ocfs2_sysfile_lock_key[GLOBAL_BITMAP_SYSTEM_INODE]){+.+.}-{4:4}: down_write+0x50/0xc0 kernel/locking/rwsem.c:1590 inode_lock include/linux/fs.h:1027 [inline] ocfs2_move_extent fs/ocfs2/move_extents.c:640 [inline] __ocfs2_move_extents_range fs/ocfs2/move_extents.c:865 [inline] ocfs2_move_extents+0x1110/0x2e78 fs/ocfs2/move_extents.c:937 ocfs2_ioctl_move_extents+0x448/0x614 fs/ocfs2/move_extents.c:1069 ocfs2_ioctl+0x1c4/0x738 fs/ocfs2/ioctl.c:942 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:597 [inline] __se_sys_ioctl fs/ioctl.c:583 [inline] __arm64_sys_ioctl+0x14c/0x1c4 fs/ioctl.c:583 __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 -> #0 (&ocfs2_sysfile_lock_key[TRUNCATE_LOG_SYSTEM_INODE]){+.+.}-{4:4}: check_prev_add kernel/locking/lockdep.c:3165 [inline] check_prevs_add kernel/locking/lockdep.c:3284 [inline] validate_chain kernel/locking/lockdep.c:3908 [inline] __lock_acquire+0x1774/0x30a4 kernel/locking/lockdep.c:5237 lock_acquire+0x140/0x2e0 kernel/locking/lockdep.c:5868 down_write+0x50/0xc0 kernel/locking/rwsem.c:1590 inode_lock include/linux/fs.h:1027 [inline] ocfs2_xattr_set+0x8a8/0xe9c fs/ocfs2/xattr.c:3652 ocfs2_xattr_trusted_set+0x4c/0x64 fs/ocfs2/xattr.c:7366 __vfs_setxattr+0x3d8/0x400 fs/xattr.c:200 __vfs_setxattr_noperm+0x120/0x5c4 fs/xattr.c:234 __vfs_setxattr_locked+0x1e8/0x214 fs/xattr.c:295 vfs_setxattr+0x158/0x2a8 fs/xattr.c:321 ovl_do_setxattr fs/overlayfs/overlayfs.h:317 [inline] ovl_setxattr fs/overlayfs/overlayfs.h:329 [inline] ovl_make_workdir fs/overlayfs/super.c:728 [inline] ovl_get_workdir fs/overlayfs/super.c:840 [inline] ovl_fill_super_creds fs/overlayfs/super.c:1453 [inline] ovl_fill_super+0x3d74/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 other info that might help us debug this: Chain exists of: &ocfs2_sysfile_lock_key[TRUNCATE_LOG_SYSTEM_INODE] --> &journal->j_trans_barrier --> &oi->ip_xattr_sem Possible unsafe locking scenario: CPU0 CPU1 ---- ---- lock(&oi->ip_xattr_sem); lock(&journal->j_trans_barrier); lock(&oi->ip_xattr_sem); lock(&ocfs2_sysfile_lock_key[TRUNCATE_LOG_SYSTEM_INODE]); *** DEADLOCK *** 4 locks held by syz.9.389/8972: #0: ffff0000e09140e0 (&type->s_umount_key#57/1){+.+.}-{4:4}, at: alloc_super+0x210/0x908 fs/super.c:344 #1: ffff0000cb140420 (sb_writers#17){.+.+}-{0:0}, at: mnt_want_write+0x44/0x9c fs/namespace.c:499 #2: ffff0000eccf2640 (&sb->s_type->i_mutex_key#30){++++}-{4:4}, at: inode_lock include/linux/fs.h:1027 [inline] #2: ffff0000eccf2640 (&sb->s_type->i_mutex_key#30){++++}-{4:4}, at: vfs_setxattr+0x138/0x2a8 fs/xattr.c:320 #3: ffff0000eccf2378 (&oi->ip_xattr_sem){+.+.}-{4:4}, at: ocfs2_xattr_set+0x330/0xe9c fs/ocfs2/xattr.c:3613 stack backtrace: CPU: 1 UID: 0 PID: 8972 Comm: syz.9.389 Not tainted syzkaller #0 PREEMPT 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 print_circular_bug+0x324/0x32c kernel/locking/lockdep.c:2043 check_noncircular+0x154/0x174 kernel/locking/lockdep.c:2175 check_prev_add kernel/locking/lockdep.c:3165 [inline] check_prevs_add kernel/locking/lockdep.c:3284 [inline] validate_chain kernel/locking/lockdep.c:3908 [inline] __lock_acquire+0x1774/0x30a4 kernel/locking/lockdep.c:5237 lock_acquire+0x140/0x2e0 kernel/locking/lockdep.c:5868 down_write+0x50/0xc0 kernel/locking/rwsem.c:1590 inode_lock include/linux/fs.h:1027 [inline] ocfs2_xattr_set+0x8a8/0xe9c fs/ocfs2/xattr.c:3652 ocfs2_xattr_trusted_set+0x4c/0x64 fs/ocfs2/xattr.c:7366 __vfs_setxattr+0x3d8/0x400 fs/xattr.c:200 __vfs_setxattr_noperm+0x120/0x5c4 fs/xattr.c:234 __vfs_setxattr_locked+0x1e8/0x214 fs/xattr.c:295 vfs_setxattr+0x158/0x2a8 fs/xattr.c:321 ovl_do_setxattr fs/overlayfs/overlayfs.h:317 [inline] ovl_setxattr fs/overlayfs/overlayfs.h:329 [inline] ovl_make_workdir fs/overlayfs/super.c:728 [inline] ovl_get_workdir fs/overlayfs/super.c:840 [inline] ovl_fill_super_creds fs/overlayfs/super.c:1453 [inline] ovl_fill_super+0x3d74/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 ------------[ 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: 8972 Comm: syz.9.389 Not tainted syzkaller #0 PREEMPT 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.9.389/8972 Modules linked in: CPU: 1 UID: 0 PID: 8972 Comm: syz.9.389 Not tainted syzkaller #0 PREEMPT 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 : ffff800099f66660 x29: ffff800099f66660 x28: 1fffe000227b4706 x27: dfff800000000000 x26: ffff000113da3840 x25: 0000000000000000 x24: 0000000000000001 x23: 000000000000000f x22: ffff80008b5a2058 x21: 0000000000000001 x20: 0000000000000010 x19: 0000000000000000 x18: 00000000ffffffff x17: 635f5f205d5b7972 x16: ffff800082e5c71c x15: 0000000000000001 x14: 1ffff000133ecc40 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000080000 x10: 0000000000073359 x9 : 7d85672edc6a1700 x8 : 7d85672edc6a1700 x7 : 0000000000000001 x6 : ffff800080575c38 x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff8000807f0b34 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: 62435 hardirqs last enabled at (62435): [] lookup_bh_lru fs/buffer.c:1390 [inline] hardirqs last enabled at (62435): [] find_get_block_common+0x338/0xdec fs/buffer.c:1404 hardirqs last disabled at (62434): [] lookup_bh_lru fs/buffer.c:1367 [inline] hardirqs last disabled at (62434): [] find_get_block_common+0x6c/0xdec fs/buffer.c:1404 softirqs last enabled at (62332): [] softirq_handle_end kernel/softirq.c:468 [inline] softirqs last enabled at (62332): [] handle_softirqs+0xaf8/0xc88 kernel/softirq.c:650 softirqs last disabled at (62287): [] __do_softirq+0x14/0x20 kernel/softirq.c:656 ---[ end trace 0000000000000000 ]--- ------------[ cut here ]------------ kernel BUG at lib/string_helpers.c:1043! Internal error: Oops - BUG: 00000000f2000800 [#1] SMP Modules linked in: CPU: 1 UID: 0 PID: 8972 Comm: syz.9.389 Tainted: G W syzkaller #0 PREEMPT Tainted: [W]=WARN 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 : ffff800099f666a0 x29: ffff800099f666a0 x28: 1fffe000227b4706 x27: dfff800000000000 x26: ffff000113da3840 x25: 0000000000000000 x24: 0000000000000001 x23: ffff000113da3850 x22: 0000000000000001 x21: 0000000000000001 x20: 0000000000000001 x19: ffff000113da3830 x18: 00000000ffffffff x17: 635f5f205d5b7972 x16: ffff800082e5c71c x15: 0000000000000001 x14: 1ffff000133ecc40 x13: 0000000000000000 x12: 0000000000000000 x11: 0000000000080000 x10: 0000000000073359 x9 : 7d85672edc6a1700 x8 : 7d85672edc6a1700 x7 : 0000000000000001 x6 : ffff800080575c38 x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff8000807f0b34 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 94b2ed0a (d4210000) ---[ end trace 0000000000000000 ]---