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

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2024-11-25T21:21:28.742Z
- Modified: 2026-10-15T01:19:13.993Z
- Weaknesses: CWE-908
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 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; 2.6.39 (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.*; from 6.6.62 up to 6.6.*; from 6.11.9 up to 6.11.*; from 6.12 up to *)
- linux linux_kernel: before 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.12

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/a0c77e5e3dcbffc7c6080ccc89c037f0c86496cf> (patch)
- <https://git.kernel.org/stable/c/17ecb40c5cc7755a321fb6148cba5797431ee5b8> (patch)
- <https://git.kernel.org/stable/c/9db25c2b41c34963c3ccf473b08171f87670652e> (patch)
- <https://git.kernel.org/stable/c/b3e612bd8f64ce62e731e95f635e06a2efe3c80c> (patch)
- <https://git.kernel.org/stable/c/5a72b0d3497b818d8f000c347a7c11801eb27bfc> (patch)
- <https://git.kernel.org/stable/c/1cb5bfc5bfc651982b6203c224d49b7ddacf28bc> (patch)
- <https://git.kernel.org/stable/c/1c28bca1256aecece6e94b26b85cd07e08b0dc90> (patch)
- <https://git.kernel.org/stable/c/15f34347481648a567db67fb473c23befb796af5> (patch)
- <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

- CVE List: [CVE-2024-53101](https://www.cve.org/CVERecord?id=CVE-2024-53101), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2024-53101](https://nvd.nist.gov/vuln/detail/CVE-2024-53101), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2024-53101 · Whole record: https://cve.day/CVE-2024-53101.json · Rebuilt by cve.day 2026-11-25T22:58:49.433Z
