CVE-2024-49958 is a medium severity vulnerability in the Linux kernel's ocfs2 filesystem. It involves improper reservation of space for inline extended attributes (xattr) during the reflink operation, which can lead to filesystem corruption and crashes. The flaw occurs because space for inline xattr is reserved after the reflink tree is recreated, causing metadata inconsistencies. The issue was reported by a customer who experienced a crash and corrupted ocfs2 filesystem. A fix has been implemented to reserve space for inline xattr before recreating the reflink tree, preventing the corruption.