Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9F118212B39 for ; Wed, 26 Feb 2025 02:00:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740535228; cv=none; b=RnL3Vev8qUjqFHz0IwvJM02eK5c7zx8EwgI/YgnDk/uQ9+d4hVEnUUqwEKVSfdI8bWLadt4bRRQeO86tN/prh7bvD/TwCNypznhMvJjaazVRpPeZuQkuvszaj2hogDC1zjnSfFPVpwfVVsov+nGbLBBrTvFDVsEgACjka2tSbyo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740535228; c=relaxed/simple; bh=bEZ5te0lY5FRUWrZZdubXYKaHDMUbmwToiBYvENBhnM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=W8dOjBhxxP0xmZ6eq0EQkeOemF7ZHilPtvw05qFwgZvPKk2JaubmRkdvUix1QPuT5Fytb5rTPnnTsHGBX8iDp57+aqrGH1DM2y25J/qLQotPqejjK7hHW5fLISl0MBiK5+mFjBCNCE30UngrG1o06S2VrU3wHyv3AYEctGU0hLs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=q4kjKY9t; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="q4kjKY9t" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0FCE4C4CEE6; Wed, 26 Feb 2025 02:00:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740535228; bh=bEZ5te0lY5FRUWrZZdubXYKaHDMUbmwToiBYvENBhnM=; h=From:To:Cc:Subject:Date:Reply-to:From; b=q4kjKY9td2fHlU8xMH4sfoKIkkOUMRCD6pvNZlD0UcfUQci0LRgjODKOVLRU8nxHN VKKdb25uLXL1fAJtJf2+WbB0mpRi/z95ony4hRMeNM6Cj5hzjGHxKtUdI5zywTa1DN q+Terl3pIRRmTxprOLlRtAe9EO0pwLkVhRnste2Q= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49283: firmware: sysfb: fix platform-device leak in error path Date: Wed, 26 Feb 2025 02:58:08 +0100 Message-ID: <2025022632-CVE-2022-49283-e19b@gregkh> X-Mailer: git-send-email 2.48.1 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2403; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=bEZ5te0lY5FRUWrZZdubXYKaHDMUbmwToiBYvENBhnM=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7SiIUQzjF3h/o0+ELuelctUj9/lo+5UczXk0VPnNHe MX5na2/O2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiWa8Z5vAujJOKE14REfxs QfuFkFf/mdRmr2JYsGPehs/3LjhYGV89VTA70uju1EtnvwMA X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit 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 Issue introduced in 5.15.17 with commit 71db96193317626954073c24344d5cf4759e0af3 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