| From bippy-7c5fe7eed585 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-49283: firmware: sysfb: fix platform-device leak in error path |
| |
| Description |
| =========== |
| |
| In the Linux kernel, the following vulnerability has been resolved: |
| |
| firmware: sysfb: fix platform-device leak in error path |
| |
| Make sure to free the platform device also in the unlikely event that |
| registration fails. |
| |
| The Linux kernel CVE team has assigned CVE-2022-49283 to this issue. |
| |
| |
| Affected and fixed versions |
| =========================== |
| |
| Issue introduced in 5.15 with commit 8633ef82f101c040427b57d4df7b706261420b94 and fixed in 5.15.33 with commit b3e38f939ab4d0d86f56bff3362c3f88c4b2ad32 |
| Issue introduced in 5.15 with commit 8633ef82f101c040427b57d4df7b706261420b94 and fixed in 5.16.19 with commit bb7fcbe80a013dc883181dc818c407d38558f76c |
| Issue introduced in 5.15 with commit 8633ef82f101c040427b57d4df7b706261420b94 and fixed in 5.17.2 with commit fed4df558b8cdb6f3beea38a7c977f118f082b0d |
| Issue introduced in 5.15 with commit 8633ef82f101c040427b57d4df7b706261420b94 and fixed in 5.18 with commit 202c08914ba50dd324e42d5ad99535a89f242560 |
| |
| 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-49283 |
| 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/firmware/sysfb_simplefb.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/b3e38f939ab4d0d86f56bff3362c3f88c4b2ad32 |
| https://git.kernel.org/stable/c/bb7fcbe80a013dc883181dc818c407d38558f76c |
| https://git.kernel.org/stable/c/fed4df558b8cdb6f3beea38a7c977f118f082b0d |
| https://git.kernel.org/stable/c/202c08914ba50dd324e42d5ad99535a89f242560 |