CVE-2024-53101
JSON

5.5medium

fs: Fix uninitialized value issue in from_kuid and from_kgid

Severity
5.5medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.25% (higher than 17% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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

Product or packageVersionsReported by
Linux Linuxfrom 468eedde23d6c9335935773f4f5764267d5a7763 before a0c77e5e3dcbffc7c6080ccc89c037f0c86496cf, from 468eedde23d6c9335935773f4f5764267d5a7763 before 17ecb40c5cc7755a321fb6148cba5797431ee5b8, from 468eedde23d6c9335935773f4f5764267d5a7763 before 9db25c2b41c34963c3ccf473b08171f87670652e, from 468eedde23d6c9335935773f4f5764267d5a7763 before b3e612bd8f64ce62e731e95f635e06a2efe3c80c, from 468eedde23d6c9335935773f4f5764267d5a7763 before 5a72b0d3497b818d8f000c347a7c11801eb27bfc, from 468eedde23d6c9335935773f4f5764267d5a7763 before 1cb5bfc5bfc651982b6203c224d49b7ddacf28bc, from 468eedde23d6c9335935773f4f5764267d5a7763 before 1c28bca1256aecece6e94b26b85cd07e08b0dc90, from 468eedde23d6c9335935773f4f5764267d5a7763 before 15f34347481648a567db67fb473c23befb796af5 and 1 more
Not affected: before 2.6.39, from 4.19.324 up to 4.19.*, from 5.4.286 up to 5.4.*, from 5.10.230 up to 5.10.*, from 5.15.173 up to 5.15.*, from 6.1.118 up to 6.1.*
CVE List
linux linux_kernelbefore 4.19.324, from 4.20 before 5.4.286, from 5.5 before 5.10.230, from 5.11 before 5.15.173, from 5.16 before 6.1.118, from 6.2 before 6.6.62, from 6.7 before 6.11.9, 6.12NVD

All scores

CISA-ADP5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-908

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: fs: Se soluciona el problema de los valores no inicializados en from_kuid y from_kgid ocfs2_setattr() utiliza attr->ia_mode, attr->ia_uid y attr->ia_gid en un punto de seguimiento aunque ATTR_MODE, ATTR_UID y ATTR_GID no estén configurados. Inicializa todos los campos de newattrs para evitar variables no inicializadas, comprobando si ATTR_MODE, ATTR_UID, ATTR_GID están inicializados, de lo contrario, 0.

References

https://git.kernel.org/stable/c/a0c77e5e3dcbffc7c6080ccc89c037f0c86496cfpatch
https://git.kernel.org/stable/c/17ecb40c5cc7755a321fb6148cba5797431ee5b8patch
https://git.kernel.org/stable/c/9db25c2b41c34963c3ccf473b08171f87670652epatch
https://git.kernel.org/stable/c/b3e612bd8f64ce62e731e95f635e06a2efe3c80cpatch
https://git.kernel.org/stable/c/5a72b0d3497b818d8f000c347a7c11801eb27bfcpatch
https://git.kernel.org/stable/c/1cb5bfc5bfc651982b6203c224d49b7ddacf28bcpatch
https://git.kernel.org/stable/c/1c28bca1256aecece6e94b26b85cd07e08b0dc90patch
https://git.kernel.org/stable/c/15f34347481648a567db67fb473c23befb796af5patch
https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html
https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html
https://cert-portal.siemens.com/productcert/html/ssa-265688.html
https://cert-portal.siemens.com/productcert/html/ssa-355557.html

Sources

SourceRecordLicence
CVE ListCVE-2024-53101 changed 2026-10-15CVE Terms of Use
NVDCVE-2024-53101 changed 2026-10-15Public domain