| 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-49216: drm/tegra: Fix reference leak in tegra_dsi_ganged_probe |
| |
| Description |
| =========== |
| |
| In the Linux kernel, the following vulnerability has been resolved: |
| |
| drm/tegra: Fix reference leak in tegra_dsi_ganged_probe |
| |
| The reference taken by 'of_find_device_by_node()' must be released when |
| not needed anymore. Add put_device() call to fix this. |
| |
| The Linux kernel CVE team has assigned CVE-2022-49216 to this issue. |
| |
| |
| Affected and fixed versions |
| =========================== |
| |
| Issue introduced in 3.19 with commit e94236cde4d519cdecd45e2435defba33abdc99f and fixed in 4.9.311 with commit 0e2f4e434e71dffd1085c3dccd676514bd71d316 |
| Issue introduced in 3.19 with commit e94236cde4d519cdecd45e2435defba33abdc99f and fixed in 4.14.276 with commit 5e8fdb6392d945d33fef959eab73f8c34bc0a63b |
| Issue introduced in 3.19 with commit e94236cde4d519cdecd45e2435defba33abdc99f and fixed in 4.19.238 with commit 2d6ae8b747fe55f54de4a4441d636974aa53f56a |
| Issue introduced in 3.19 with commit e94236cde4d519cdecd45e2435defba33abdc99f and fixed in 5.4.189 with commit a725070701883fe62266ee6d2f31d67e6cdd31df |
| Issue introduced in 3.19 with commit e94236cde4d519cdecd45e2435defba33abdc99f and fixed in 5.10.110 with commit 1e06710c43a090f14bb67714265a01cd1d7a37c5 |
| Issue introduced in 3.19 with commit e94236cde4d519cdecd45e2435defba33abdc99f and fixed in 5.15.33 with commit 852c1f5f3119a38ee68e319bab10277fc1ab06b7 |
| Issue introduced in 3.19 with commit e94236cde4d519cdecd45e2435defba33abdc99f and fixed in 5.16.19 with commit cd78b74031cbc94133965f1017deb822657fc1a6 |
| Issue introduced in 3.19 with commit e94236cde4d519cdecd45e2435defba33abdc99f and fixed in 5.17.2 with commit f3c99c686e098300c246e5e8a1474133e3dacb05 |
| Issue introduced in 3.19 with commit e94236cde4d519cdecd45e2435defba33abdc99f and fixed in 5.18 with commit 221e3638feb8bc42143833c9a704fa89b6c366bb |
| |
| 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-49216 |
| 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/tegra/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/0e2f4e434e71dffd1085c3dccd676514bd71d316 |
| https://git.kernel.org/stable/c/5e8fdb6392d945d33fef959eab73f8c34bc0a63b |
| https://git.kernel.org/stable/c/2d6ae8b747fe55f54de4a4441d636974aa53f56a |
| https://git.kernel.org/stable/c/a725070701883fe62266ee6d2f31d67e6cdd31df |
| https://git.kernel.org/stable/c/1e06710c43a090f14bb67714265a01cd1d7a37c5 |
| https://git.kernel.org/stable/c/852c1f5f3119a38ee68e319bab10277fc1ab06b7 |
| https://git.kernel.org/stable/c/cd78b74031cbc94133965f1017deb822657fc1a6 |
| https://git.kernel.org/stable/c/f3c99c686e098300c246e5e8a1474133e3dacb05 |
| https://git.kernel.org/stable/c/221e3638feb8bc42143833c9a704fa89b6c366bb |