| From bippy-5f407fcff5a0 Mon Sep 17 00:00:00 2001 |
| From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
| To: <linux-cve-announce@vger.kernel.org> |
| Reply-to: <cve@kernel.org>, <linux-kernel@vger.kernel.org> |
| Subject: CVE-2022-49644: drm/i915: fix a possible refcount leak in intel_dp_add_mst_connector() |
| |
| Description |
| =========== |
| |
| In the Linux kernel, the following vulnerability has been resolved: |
| |
| drm/i915: fix a possible refcount leak in intel_dp_add_mst_connector() |
| |
| If drm_connector_init fails, intel_connector_free will be called to take |
| care of proper free. So it is necessary to drop the refcount of port |
| before intel_connector_free. |
| |
| (cherry picked from commit cea9ed611e85d36a05db52b6457bf584b7d969e2) |
| |
| The Linux kernel CVE team has assigned CVE-2022-49644 to this issue. |
| |
| |
| Affected and fixed versions |
| =========================== |
| |
| Issue introduced in 4.15 with commit 091a4f91942a4396c67e5747f5cb38c6396d1fc5 and fixed in 5.4.207 with commit 72f231b9a88abcfac9f5ddaa1a0aacb3f9f87ba5 |
| Issue introduced in 4.15 with commit 091a4f91942a4396c67e5747f5cb38c6396d1fc5 and fixed in 5.10.132 with commit 592f3bad00b7e2a95a6fb7a4f9e742c061c9c3c1 |
| Issue introduced in 4.15 with commit 091a4f91942a4396c67e5747f5cb38c6396d1fc5 and fixed in 5.15.56 with commit 505114dda5bbfd07f4ce9a2df5b7d8ef5f2a1218 |
| Issue introduced in 4.15 with commit 091a4f91942a4396c67e5747f5cb38c6396d1fc5 and fixed in 5.18.13 with commit a91522b4279bebb098106a19b91f82b9c3213be9 |
| Issue introduced in 4.15 with commit 091a4f91942a4396c67e5747f5cb38c6396d1fc5 and fixed in 5.19 with commit 85144df9ff4652816448369de76897c57cbb1b93 |
| |
| 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-49644 |
| 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/i915/display/intel_dp_mst.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/72f231b9a88abcfac9f5ddaa1a0aacb3f9f87ba5 |
| https://git.kernel.org/stable/c/592f3bad00b7e2a95a6fb7a4f9e742c061c9c3c1 |
| https://git.kernel.org/stable/c/505114dda5bbfd07f4ce9a2df5b7d8ef5f2a1218 |
| https://git.kernel.org/stable/c/a91522b4279bebb098106a19b91f82b9c3213be9 |
| https://git.kernel.org/stable/c/85144df9ff4652816448369de76897c57cbb1b93 |