CyberRota Analysis
AI-GeneratedThe vulnerability in the Linux kernel's NTFS3 implementation allows unprivileged users to write to reserved extended attributes ($LXUID, $LXGID, $LXMOD, and $LXDEV), potentially enabling them to gain root privileges by manipulating file ownership and permissions. This issue poses a significant risk to systems using NTFS3 mounts, particularly those in multi-user environments or where untrusted users have write access. Administrators of Linux systems utilizing NTFS3 should prioritize applying the relevant patches to mitigate the risk of privilege escalation.
Original NVD Description
In the Linux kernel, the following vulnerability has been resolved: ntfs3: reject direct userspace writes to reserved $LX* xattrs NTFS3 uses $LXUID, $LXGID, $LXMOD and $LXDEV as internal WSL permission metadata and reloads them into i_uid, i_gid and i_mode from ntfs_get_wsl_perm(). Because the empty-prefix xattr handler also lets file owners call setxattr() on these names directly, an unprivileged writer on a writable ntfs3 mount can plant root ownership and S_ISUID on their own file and gain euid 0 after inode reload. Reject direct userspace writes to the reserved $LX* names. Internal ntfs3 metadata updates are unchanged because ntfs_save_wsl_perm() writes them via ntfs_set_ea() directly. [almaz.alexandrovich@paragon-software.com: added an additional check for non privileged users]