---
id: CVE-2024-53101
title: |-
  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, …
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, …
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
cwe:
  - CWE-908
vendor: linux
product: linux_kernel
affected:
  - linux_kernel < 4.19.324
  - 'linux_kernel >= 4.20, < 5.4.286'
  - 'linux_kernel >= 5.5, < 5.10.230'
  - 'linux_kernel >= 5.11, < 5.15.173'
  - 'linux_kernel >= 5.16, < 6.1.118'
  - 'linux_kernel >= 6.2, < 6.6.62'
  - 'linux_kernel >= 6.7, < 6.11.9'
  - linux_kernel = 6.12
patched:
  - linux_kernel 6.11.9
published: '2024-11-25'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T01:19:13.993'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2024-53101'
references:
  - url: 'https://git.kernel.org/stable/c/15f34347481648a567db67fb473c23befb796af5'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/17ecb40c5cc7755a321fb6148cba5797431ee5b8'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/1c28bca1256aecece6e94b26b85cd07e08b0dc90'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/1cb5bfc5bfc651982b6203c224d49b7ddacf28bc'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/5a72b0d3497b818d8f000c347a7c11801eb27bfc'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/9db25c2b41c34963c3ccf473b08171f87670652e'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/a0c77e5e3dcbffc7c6080ccc89c037f0c86496cf'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/b3e612bd8f64ce62e731e95f635e06a2efe3c80c'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-265688.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-355557.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
  - cve.org
epss: 0.00249
epssPercentile: 0.15003
ingestedAt: '2026-10-15T03:30:12.770Z'
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2025-10-01T20:11:04.870373Z'
---

## Overview

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

- `linux_kernel < 4.19.324`
- `linux_kernel >= 4.20, < 5.4.286`
- `linux_kernel >= 5.5, < 5.10.230`
- `linux_kernel >= 5.11, < 5.15.173`
- `linux_kernel >= 5.16, < 6.1.118`
- `linux_kernel >= 6.2, < 6.6.62`
- `linux_kernel >= 6.7, < 6.11.9`
- `linux_kernel = 6.12`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.11.9`
