Skip to main content
← All vulnerabilities
CVE-2024-53101

fs: Fix uninitialized value issue in from_kuid and from_kgid

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.19.324, 5.4.286, 5.10.230, 5.15.173, 6.1.118, and 2 more
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • Linux Linux

    From 468eedde23d6c9335935773f4f5764267d5a7763 · fixed in a0c77e5e3dcbffc7c6080ccc89c037f0c86496cf; From 468eedde23d6c9335935773f4f5764267d5a7763 · fixed in 17ecb40c5cc7755a321fb6148cba5797431ee5b8; From 468eedde23d6c9335935773f4f5764267d5a7763 · fixed in 9db25c2b41c34963c3ccf473b08171f87670652e; From 468eedde23d6c9335935773f4f5764267d5a7763 · fixed in b3e612bd8f64ce62e731e95f635e06a2efe3c80c; From 468eedde23d6c9335935773f4f5764267d5a7763 · fixed in 5a72b0d3497b818d8f000c347a7c11801eb27bfc; From 468eedde23d6c9335935773f4f5764267d5a7763 · fixed in 1cb5bfc5bfc651982b6203c224d49b7ddacf28bc; From 468eedde23d6c9335935773f4f5764267d5a7763 · fixed in 1c28bca1256aecece6e94b26b85cd07e08b0dc90; From 468eedde23d6c9335935773f4f5764267d5a7763 · fixed in 15f34347481648a567db67fb473c23befb796af5

  • Linux Linux

    2.6.39

  • KernelLinux

    From 2.6.39 · fixed in 4.19.324; From 4.20.0 · fixed in 5.4.286; From 5.5.0 · fixed in 5.10.230; From 5.11.0 · fixed in 5.15.173; From 5.16.0 · fixed in 6.1.118; From 6.2.0 · fixed in 6.6.62; From 6.7.0 · fixed in 6.11.9

References 8

git.kernel.org