From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 321BD3375C3 for ; Sat, 15 Aug 2026 06:07:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786774063; cv=none; b=a47pP/X0VxHkALwl7sIfRpckHElyIAbA8gT2qxD612vOWfmDp+MWvHFdLkokZOsJe2neM2Lud6rBEMZY8fAvKaerxttQP8/5DgA9rvtnGmcDWagOZXm3BZCeJmLjJrqKZifyMJJ+AKbqfbrBxyuN4/P14G74AX+UokCzUxOBLuI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786774063; c=relaxed/simple; bh=nPMsaFn7gzwDeHXRKiadB0H/Tu8hR4mpjhxLfbmoImE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=aL+GDUQX4KWgQym2cio3dqVs3pMsXUMWnAjcm8i/YizZen44d9ayKtCgifLBwbLfdRKHjeTVLTpLAwRGwhnWrxZ9uWRg3VVPkYK+VV+jN7RTcD8lB8XLmFtJHOP74hnWiu/ef/GVctdNL4g0tj3kBRE6Izfp44G6g7EfazxA6Tg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=G7rp5Esy; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="G7rp5Esy" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 89D4A1F000E9; Sat, 15 Aug 2026 06:07:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786774062; bh=SKRXolBCNPTGikjH5Pn9gc3+P2QFY14U7vdl/hO8oX4=; h=From:To:Cc:Subject:Date:Reply-To; b=G7rp5EsyJxgy6zOZMTM9UppADhIbUGavcpHuRhLTc0BspmJYO3lPbQAagkJqYAJQ0 j3S4oPQ64prbx7RDZKDbwtVClfoArHRq/gbtkaWhs4Dj+LtSuxI80HpKFtkLFGq8k1 s/Y0USgLXXZXmuHFDJZ6U5aOXZXXJe5/K0lzSWaE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-72026: irqchip/irq-riscv-imsic-early: Fix fwnode leak on state setup failure Date: Sat, 15 Aug 2026 15:01:45 +0900 Message-ID: <2026081510-CVE-2026-72026-3cc8@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2632; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=+Ws5eGHsntmTmy44w4HZJWQxesvdAfakKrllwNSAzQk=; b=kA0DAAIRMUfUDdst+ykByyZiAGqAAKejOefHUwowu5s74AH0sE18A9ZyjUhX3++zZXaG3SLbv YhdBAARAgAdFiEE9LYMxb94wiFKMT3LMUfUDdst+ykFAmqAAKcACgkQMUfUDdst+ykYVwCeLHmB nsXgAaT/7jznScfsgvzrC1EAn0HewSNSoY+swD+r+3FMZF+vpyuH 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/irq-riscv-imsic-early: Fix fwnode leak on state setup failure imsic_early_acpi_init() allocates a firmware node before setting up the IMSIC state. If imsic_setup_state() fails, the function returns without freeing the allocated fwnode. Free the fwnode and clear the global pointer on this error path, matching the cleanup already done when imsic_early_probe() fails. [ tglx: Use a common cleanup path instead of copying code around ] The Linux kernel CVE team has assigned CVE-2026-72026 to this issue. Affected and fixed versions =========================== Issue introduced in 6.12 with commit fbe826b1c10699a70b81a441fe47b817d1019f37 and fixed in 6.12.97 with commit a27f17bad38c5fea3c73281517869af0089a0451 Issue introduced in 6.12 with commit fbe826b1c10699a70b81a441fe47b817d1019f37 and fixed in 6.18.40 with commit a5a367756926de1c21a013ea5ed7fc2219f4cb4f Issue introduced in 6.12 with commit fbe826b1c10699a70b81a441fe47b817d1019f37 and fixed in 7.1.5 with commit b321a046d7717225c07ba3f4b7b0a4758c2f9d58 Issue introduced in 6.12 with commit fbe826b1c10699a70b81a441fe47b817d1019f37 and fixed in 7.2-rc2 with commit 1358126fbed104e5657955d3ba029b283687ba02 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-2026-72026 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-riscv-imsic-early.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/a27f17bad38c5fea3c73281517869af0089a0451 https://git.kernel.org/stable/c/a5a367756926de1c21a013ea5ed7fc2219f4cb4f https://git.kernel.org/stable/c/b321a046d7717225c07ba3f4b7b0a4758c2f9d58 https://git.kernel.org/stable/c/1358126fbed104e5657955d3ba029b283687ba02