[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025100417-CVE-2022-50489-9d88@gregkh>
Date: Sat, 4 Oct 2025 17:51:14 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2022-50489: drm/mipi-dsi: Detach devices when removing the host
From: Greg Kroah-Hartman <gregkh@...nel.org>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
drm/mipi-dsi: Detach devices when removing the host
Whenever the MIPI-DSI host is unregistered, the code of
mipi_dsi_host_unregister() loops over every device currently found on that
bus and will unregister it.
However, it doesn't detach it from the bus first, which leads to all kind
of resource leaks if the host wants to perform some clean up whenever a
device is detached.
The Linux kernel CVE team has assigned CVE-2022-50489 to this issue.
Affected and fixed versions
===========================
Issue introduced in 3.14 with commit 068a00233969833f1ba925e7627797489efd6041 and fixed in 4.9.331 with commit c202cda08cd5693645d4990ad1eb2e8068a884ec
Issue introduced in 3.14 with commit 068a00233969833f1ba925e7627797489efd6041 and fixed in 4.14.296 with commit 262364574b05676d4b9ebde2ddd3588cd2efd8ce
Issue introduced in 3.14 with commit 068a00233969833f1ba925e7627797489efd6041 and fixed in 4.19.262 with commit 95ae458209f5a556bba98aff872f933694914eb7
Issue introduced in 3.14 with commit 068a00233969833f1ba925e7627797489efd6041 and fixed in 5.4.220 with commit 8242167cfc83dd7e4c96f44b45f108db9bb88146
Issue introduced in 3.14 with commit 068a00233969833f1ba925e7627797489efd6041 and fixed in 5.10.150 with commit 45120fa5e522d444e3fc1c5a9afc5d53eed91d00
Issue introduced in 3.14 with commit 068a00233969833f1ba925e7627797489efd6041 and fixed in 5.15.75 with commit 26c1b4cfe56f040f71a51c92da1f4cac2e3b9455
Issue introduced in 3.14 with commit 068a00233969833f1ba925e7627797489efd6041 and fixed in 5.19.17 with commit 353ab1c13fdd6e524edde780235a8ce9b892c81c
Issue introduced in 3.14 with commit 068a00233969833f1ba925e7627797489efd6041 and fixed in 6.0.3 with commit 6fc2cd40db1969ba372ce9536dcfcdb87271eac4
Issue introduced in 3.14 with commit 068a00233969833f1ba925e7627797489efd6041 and fixed in 6.1 with commit 668a8f17b5290d04ef7343636a5588a0692731a1
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-2022-50489
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/gpu/drm/drm_mipi_dsi.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/c202cda08cd5693645d4990ad1eb2e8068a884ec
https://git.kernel.org/stable/c/262364574b05676d4b9ebde2ddd3588cd2efd8ce
https://git.kernel.org/stable/c/95ae458209f5a556bba98aff872f933694914eb7
https://git.kernel.org/stable/c/8242167cfc83dd7e4c96f44b45f108db9bb88146
https://git.kernel.org/stable/c/45120fa5e522d444e3fc1c5a9afc5d53eed91d00
https://git.kernel.org/stable/c/26c1b4cfe56f040f71a51c92da1f4cac2e3b9455
https://git.kernel.org/stable/c/353ab1c13fdd6e524edde780235a8ce9b892c81c
https://git.kernel.org/stable/c/6fc2cd40db1969ba372ce9536dcfcdb87271eac4
https://git.kernel.org/stable/c/668a8f17b5290d04ef7343636a5588a0692731a1
Powered by blists - more mailing lists