[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025122417-CVE-2023-54123-4e1b@gregkh>
Date: Wed, 24 Dec 2025 14:07:20 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2023-54123: md/raid10: fix memleak for 'conf->bio_split'
From: Greg Kroah-Hartman <gregkh@...nel.org>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
md/raid10: fix memleak for 'conf->bio_split'
In the error path of raid10_run(), 'conf' need be freed, however,
'conf->bio_split' is missed and memory will be leaked.
Since there are 3 places to free 'conf', factor out a helper to fix the
problem.
The Linux kernel CVE team has assigned CVE-2023-54123 to this issue.
Affected and fixed versions
===========================
Issue introduced in 4.12 with commit fc9977dd069e4f82fcacb262652117c488647319 and fixed in 4.19.283 with commit 133008af833b4f2e021d2c294c29c70364a3f0ba
Issue introduced in 4.12 with commit fc9977dd069e4f82fcacb262652117c488647319 and fixed in 5.4.243 with commit b6460f68c1cc95a80d089af402be501619f228e4
Issue introduced in 4.12 with commit fc9977dd069e4f82fcacb262652117c488647319 and fixed in 5.10.180 with commit 6361b0592b46c465ac926c1f3105d66c30d9658b
Issue introduced in 4.12 with commit fc9977dd069e4f82fcacb262652117c488647319 and fixed in 5.15.111 with commit 7f673fa34c0e3f95ee951a1bbf61791164871d2e
Issue introduced in 4.12 with commit fc9977dd069e4f82fcacb262652117c488647319 and fixed in 6.1.28 with commit b21019a220d9cac08819bb6c63000de9ee61eb9e
Issue introduced in 4.12 with commit fc9977dd069e4f82fcacb262652117c488647319 and fixed in 6.2.15 with commit 5cba3e26c073b535e4e3b825ea481fb29c53943b
Issue introduced in 4.12 with commit fc9977dd069e4f82fcacb262652117c488647319 and fixed in 6.3.2 with commit e2fec8d95353a48634b085011626ba3ec8ab8b1c
Issue introduced in 4.12 with commit fc9977dd069e4f82fcacb262652117c488647319 and fixed in 6.4 with commit c9ac2acde53f5385de185bccf6aaa91cf9ac1541
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-2023-54123
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/raid10.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/133008af833b4f2e021d2c294c29c70364a3f0ba
https://git.kernel.org/stable/c/b6460f68c1cc95a80d089af402be501619f228e4
https://git.kernel.org/stable/c/6361b0592b46c465ac926c1f3105d66c30d9658b
https://git.kernel.org/stable/c/7f673fa34c0e3f95ee951a1bbf61791164871d2e
https://git.kernel.org/stable/c/b21019a220d9cac08819bb6c63000de9ee61eb9e
https://git.kernel.org/stable/c/5cba3e26c073b535e4e3b825ea481fb29c53943b
https://git.kernel.org/stable/c/e2fec8d95353a48634b085011626ba3ec8ab8b1c
https://git.kernel.org/stable/c/c9ac2acde53f5385de185bccf6aaa91cf9ac1541
Powered by blists - more mailing lists