[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2024111936-CVE-2024-50277-1fe3@gregkh>
Date: Tue, 19 Nov 2024 02:32:32 +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-50277: dm: fix a crash if blk_alloc_disk fails
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
dm: fix a crash if blk_alloc_disk fails
If blk_alloc_disk fails, the variable md->disk is set to an error value.
cleanup_mapped_device will see that md->disk is non-NULL and it will
attempt to access it, causing a crash on this statement
"md->disk->private_data = NULL;".
The Linux kernel CVE team has assigned CVE-2024-50277 to this issue.
Affected and fixed versions
===========================
Fixed in 6.11.8 with commit d7aec2a06730
Fixed in 6.12 with commit fed13a547868
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-50277
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:
drivers/md/dm.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/d7aec2a06730b774a97caaf48cbbc58330a85829
https://git.kernel.org/stable/c/fed13a5478680614ba97fc87e71f16e2e197912e
Powered by blists - more mailing lists