[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2024110805-CVE-2024-50204-11f7@gregkh>
Date: Fri, 8 Nov 2024 07:08:05 +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-50204: fs: don't try and remove empty rbtree node
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
fs: don't try and remove empty rbtree node
When copying a namespace we won't have added the new copy into the
namespace rbtree until after the copy succeeded. Calling free_mnt_ns()
will try to remove the copy from the rbtree which is invalid. Simply
free the namespace skeleton directly.
The Linux kernel CVE team has assigned CVE-2024-50204 to this issue.
Affected and fixed versions
===========================
Issue introduced in 6.11 with commit 1901c92497bd and fixed in 6.11.6 with commit a8b155a2c30d
Issue introduced in 6.11 with commit 1901c92497bd and fixed in 6.12-rc5 with commit 229fd15908fe
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-50204
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/namespace.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/a8b155a2c30dc9a5ba837aa5fcba9a47cc031a9b
https://git.kernel.org/stable/c/229fd15908fe1f99b1de4cde3326e62d1e892611
Powered by blists - more mailing lists