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 403BB30CB36 for ; Thu, 18 Sep 2025 16:05:25 +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=1758211525; cv=none; b=X/UOGpHYEzlo571r41vxnWe68DMmUiVbw3CCXyjUgjeP66XkAI/6v45gUDWGsQSFurGw3u47Mdsj7hB71I216LWFHjdVw5uiGVKOHOFZ5yHlOib3gnmIOo3BKmn9VzXSSaCCtgNNWt2UmYGyUOofhHV7W71GNa8v1gPd28okpOA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758211525; c=relaxed/simple; bh=w+cGbZi/8iPz/rlkJzCST9VgXtT+3hEuwZeZeje1ljQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=KnwcaaqTHaGWOJsIFvEsVK4/3cFL0ZwdYxByJBUd2ngLkWirXJI6ycjzm3+PcApApo2+QU3plcs9e2icic9COBwNylJotAGln5Nx+gBWhp8Qvzfhd31YHCoP+sgKHCM9sCBlKsHWqfNkdY6nILiwnhbuKP9bxSGQwzPqLfcn9pE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=D3nHCeEa; 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="D3nHCeEa" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B5032C4CEE7; Thu, 18 Sep 2025 16:05:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1758211525; bh=w+cGbZi/8iPz/rlkJzCST9VgXtT+3hEuwZeZeje1ljQ=; h=From:To:Cc:Subject:Date:Reply-to:From; b=D3nHCeEaepFdPcn5zvGRL/ANf9qwOpsgIl7uKV6DuLq11+/VcIJVY7EjUIbvFqVP7 ilr+ZQaWyVtkG9tXCh4voocFdzusr3V1+DpCXaf+dO8d1TIXw3tAEM4VvUvdOLrtwC 4I15u603b5RNPyV6DiutKZAHY4DsBsslltWTeyNU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-50416: irqchip/wpcm450: Fix memory leak in wpcm450_aic_of_init() Date: Thu, 18 Sep 2025 18:04:06 +0200 Message-ID: <2025091854-CVE-2022-50416-886a@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=2322; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=1AK2a8nj8DBOpmHRr239JKGrKnAozHC3AL2Y5prltoc=; b=owGbwMvMwCRo6H6F97bub03G02pJDBlndLP4V9Z83bxf7NjG6I2uF+f8TVocuNC16N0OcftDG euT026d64hlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJtHcwzNPUrHPYyHc2qdQ8 rdijc/fjLRJHrBnmx3z1dg2+Ff0yT3Uzl07pV7083akeAA== 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: irqchip/wpcm450: Fix memory leak in wpcm450_aic_of_init() If of_iomap() failed, 'aic' should be freed before return. Otherwise there is a memory leak. The Linux kernel CVE team has assigned CVE-2022-50416 to this issue. Affected and fixed versions =========================== Issue introduced in 5.13 with commit fead4dd496631707549f414b4059afb86ea8fb80 and fixed in 5.15.86 with commit 740efb64ca5e8f2b30ac843bc4ab07950479fed4 Issue introduced in 5.13 with commit fead4dd496631707549f414b4059afb86ea8fb80 and fixed in 6.0.16 with commit bcbcb396e1a8bd4dcaabfb0d5b98abae70880470 Issue introduced in 5.13 with commit fead4dd496631707549f414b4059afb86ea8fb80 and fixed in 6.1.2 with commit 773c9d7f127f7a599d42ceed831de69f5aa22f03 Issue introduced in 5.13 with commit fead4dd496631707549f414b4059afb86ea8fb80 and fixed in 6.2 with commit 4208d4faf36573a507b5e5de17abe342e9276759 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-50416 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/irqchip/irq-wpcm450-aic.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/740efb64ca5e8f2b30ac843bc4ab07950479fed4 https://git.kernel.org/stable/c/bcbcb396e1a8bd4dcaabfb0d5b98abae70880470 https://git.kernel.org/stable/c/773c9d7f127f7a599d42ceed831de69f5aa22f03 https://git.kernel.org/stable/c/4208d4faf36573a507b5e5de17abe342e9276759