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 2B99E2E62A1 for ; Wed, 1 Oct 2025 11:55:38 +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=1759319738; cv=none; b=EOQYidUwtmeE6za9i9kSMmJS0WWEZv+v5ibOMMtDa2rrc/e1GnMcZx9Kn///5AtzV3BoDkfuPOoqluJHFs+JuLobITt5KsnmokxkPDIG3+8f8zmsYuX9WxTMZjM3lCirJKlVPaduYQqfJMZhT/4erZLw7kZD2lbK+diCE3gc210= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759319738; c=relaxed/simple; bh=SdMXbvkd6mXHjduHWLpiG16VmwB9hl3t6gYPYuU7JMw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=PzfQnZ5ajjzQY/6vVKrt+wrzbaEQz+aDf7wTRrfggUEK2bncXQHcUJ04Kbz5A7ZKtuGlV1QkOYMDU6SPK+iR0Ti/QBRovt6i9pIoLY/auxe9G2Wj+cz/5fCaqqqYDqxflIwkUycX8bvoeER1Zf1G4AqQwSF27LU3O7YVurRiZqc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=AoZMp5li; 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="AoZMp5li" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A892DC4CEF4; Wed, 1 Oct 2025 11:55:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1759319738; bh=SdMXbvkd6mXHjduHWLpiG16VmwB9hl3t6gYPYuU7JMw=; h=From:To:Cc:Subject:Date:Reply-to:From; b=AoZMp5li9p+s6gCNy7JkKa/iszXaDStP5dO+MfVYmpY4EQXgeF6JGnLKziEW3N1Ho VsiIXJeDEAsnIXgY4Y3TklDY5LT4Qw2JTJb1ed8a4PUzuTM7YKddmctQxQB76s5Bi4 bjwvO1Hs3mSWcToLrrvXfzXjnZugCqiAJNOVxqI0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-50463: powerpc/52xx: Fix a resource leak in an error handling path Date: Wed, 1 Oct 2025 13:45:33 +0200 Message-ID: <2025100120-CVE-2022-50463-9ae6@gregkh> X-Mailer: git-send-email 2.51.0 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=3597; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ONGvMU3kgmnwKzUfX/1sEFW9QvBJ+DwfyKi2bvNEfdM=; b=owGbwMvMwCRo6H6F97bub03G02pJDBl3RQKv8YhMFFkTIvUqT+p/1+MTOYVRLlt+5h2p0nScw 7huwb7gjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhIVjfDgkMxcjncz05qMd74 V6nr4du4+6ngAoY5vPrHG4WenO5/N/HMQtUHkuprGfJSAQ== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: powerpc/52xx: Fix a resource leak in an error handling path The error handling path of mpc52xx_lpbfifo_probe() has a request_irq() that is not balanced by a corresponding free_irq(). Add the missing call, as already done in the remove function. The Linux kernel CVE team has assigned CVE-2022-50463 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.33 with commit 3c9059d79f5eea6b8b75ddac97693127c3c41db4 and fixed in 4.9.337 with commit be9caf2c936f15a9c3f9111e62bdde6357312f90 Issue introduced in 2.6.33 with commit 3c9059d79f5eea6b8b75ddac97693127c3c41db4 and fixed in 4.14.303 with commit f4ad0a7f0e78d65d38921ab2bef234e49be78b10 Issue introduced in 2.6.33 with commit 3c9059d79f5eea6b8b75ddac97693127c3c41db4 and fixed in 4.19.270 with commit e4002f293e5b44e57d2930513cca0dff32249812 Issue introduced in 2.6.33 with commit 3c9059d79f5eea6b8b75ddac97693127c3c41db4 and fixed in 5.4.229 with commit 9bf842ffdd216b9f94d5b051b5d8b815f2426538 Issue introduced in 2.6.33 with commit 3c9059d79f5eea6b8b75ddac97693127c3c41db4 and fixed in 5.10.163 with commit 40b4be399e0db7073dec5a0de5ca9994f7e31e58 Issue introduced in 2.6.33 with commit 3c9059d79f5eea6b8b75ddac97693127c3c41db4 and fixed in 5.15.86 with commit 0accd460dc7bbe5f55e41a8867c63db9d07b3ec8 Issue introduced in 2.6.33 with commit 3c9059d79f5eea6b8b75ddac97693127c3c41db4 and fixed in 6.0.16 with commit cbda93665a3857324f5c79e45769a83c78183199 Issue introduced in 2.6.33 with commit 3c9059d79f5eea6b8b75ddac97693127c3c41db4 and fixed in 6.1.2 with commit fb3ef6a5af4b003502c940ea50c0f55b06ebbfc9 Issue introduced in 2.6.33 with commit 3c9059d79f5eea6b8b75ddac97693127c3c41db4 and fixed in 6.2 with commit 5836947613ef33d311b4eff6a32d019580a214f5 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-50463 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: arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.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/be9caf2c936f15a9c3f9111e62bdde6357312f90 https://git.kernel.org/stable/c/f4ad0a7f0e78d65d38921ab2bef234e49be78b10 https://git.kernel.org/stable/c/e4002f293e5b44e57d2930513cca0dff32249812 https://git.kernel.org/stable/c/9bf842ffdd216b9f94d5b051b5d8b815f2426538 https://git.kernel.org/stable/c/40b4be399e0db7073dec5a0de5ca9994f7e31e58 https://git.kernel.org/stable/c/0accd460dc7bbe5f55e41a8867c63db9d07b3ec8 https://git.kernel.org/stable/c/cbda93665a3857324f5c79e45769a83c78183199 https://git.kernel.org/stable/c/fb3ef6a5af4b003502c940ea50c0f55b06ebbfc9 https://git.kernel.org/stable/c/5836947613ef33d311b4eff6a32d019580a214f5