[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2024112506-CVE-2024-53101-203a@gregkh>
Date: Mon, 25 Nov 2024 22:21:10 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2024-53101: fs: Fix uninitialized value issue in from_kuid and from_kgid
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.
The Linux kernel CVE team has assigned CVE-2024-53101 to this issue.
Affected and fixed versions
===========================
Fixed in 4.19.324 with commit a0c77e5e3dcb
Fixed in 5.4.286 with commit 17ecb40c5cc7
Fixed in 5.10.230 with commit 9db25c2b41c3
Fixed in 5.15.173 with commit b3e612bd8f64
Fixed in 6.1.118 with commit 5a72b0d3497b
Fixed in 6.6.62 with commit 1cb5bfc5bfc6
Fixed in 6.11.9 with commit 1c28bca1256a
Fixed in 6.12 with commit 15f343474816
Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to
older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2024-53101
will be updated if fixes are backported, please check that for the most
up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
fs/ocfs2/file.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes. Individual
changes are never tested alone, but rather are part of a larger kernel
release. Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all. If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
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
Powered by blists - more mailing lists