What’s Vulnerable › Vulnerabilities

CVE-2024-53101: fs: Fix uninitialized value issue in from_kuid and from_kgid

Description

In the Linux kernel, the following vulnerability has been resolved: fs: Fix uninitialized value issue in from_kuid and from_kgid ocfs2_setattr() uses attr->ia_mode, attr->ia_uid and attr->ia_gid in a trace point even though ATTR_MODE, ATTR_UID and ATTR_GID aren't set. Initialize all fields of newattrs to avoid uninitialized variables, by checking if ATTR_MODE, ATTR_UID, ATTR_GID are initialized, otherwise 0.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 4.19.324, 5.10.230, 5.15.173, 5.4.286. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-53101 or the next vulnerability affects your stack