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 688313B2FD8 for ; Thu, 28 May 2026 09:45:04 +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=1779961505; cv=none; b=VoXm6fyiOSPbxyGP7ozFSHQvF+h0ktmVPKE5vvfHLHppYY1H9hJVz+PpHuN7YeXRJ0bFecE6tsk20v82qfob5XWPn3iXhBH2f5qdENNFnzm7mb80PJTVDPY4UqlM964mJBuZWwscAan2OJO9cf2nmTarry1nGq8IM+ZdSfKPQo4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779961505; c=relaxed/simple; bh=WUPGJuvgXg+m8vBXAkNc/P/tskXMfqG39Vy+zuwQ+YA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=nD6kdzmyem0AdEQLErgxtcL1+aWGQg9lNyfyQ3zigobZ06deYj5eaZr4T673wzB9Pj0/6pI3ERq63kD9nB1YEFj2yCbGwbs/2I7DTu9lF27IyXQmniQ/OGkKpvoEgS3ceM+5FN+luuQBI9CCeSQUV/aQD49pGzub4QV3aPAPshA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=cdrVOSzY; 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="cdrVOSzY" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 853301F00A3A; Thu, 28 May 2026 09:45:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779961504; bh=KPUVbRGhz2t87iZeE5b+VfUgmmlNGJ5ayQ3Khj3vRBs=; h=From:To:Cc:Subject:Date:Reply-To; b=cdrVOSzYZIQcyOkJqFkPfww1H1DDVzt5Qagygz5hJwlcf3ImWRL2WyVTS7A/b/bDW BuloqzxE6dWFUq8MlpmFphNPMQm0LO0EpyaNKQ10P3ovWcg9kgOLTUoLYJlxfxOjYN rZqXjCKXPpsLdtMgq9NqKaDsGyGggDVOoazR5gfY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-46241: spi: mpc52xx: fix use-after-free on registration failure Date: Thu, 28 May 2026 11:41:16 +0200 Message-ID: <2026052842-CVE-2026-46241-679a@gregkh> X-Mailer: git-send-email 2.54.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=2458; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=jIKwoGpLbTMHElIYJ+p10RJuxcUh64cWOZObUXvCaWY=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkSvLM49n3Km7xwG4fVfpFaNRMh9zamm/01wSyFE28UP lzowlPUEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABNpMWaYn9DMd1Y9/xebTJnk 0gli58/MzjdmZJgr4LtlgdiWM8duOWU0Zyzf5P1OQ2YdAA== 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: spi: mpc52xx: fix use-after-free on registration failure Make sure to disable and free the interrupts in case controller registration fails to avoid a potential use-after-free and resource leak. This issue was flagged by Sashiko when reviewing a controller deregistration fix. The Linux kernel CVE team has assigned CVE-2026-46241 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.33 with commit 42bbb70980f3720b0ae6da6af862af0e95a04351 and fixed in 6.12.90 with commit 8b49b6aadd0c622ca7d68b4a53ae10362e221cf3 Issue introduced in 2.6.33 with commit 42bbb70980f3720b0ae6da6af862af0e95a04351 and fixed in 6.18.32 with commit 336d9ad7560b3baba17af06727a888040ee93390 Issue introduced in 2.6.33 with commit 42bbb70980f3720b0ae6da6af862af0e95a04351 and fixed in 7.0.9 with commit 5c77f11b9b5f1ad5a704dad875260c44016ede10 Issue introduced in 2.6.33 with commit 42bbb70980f3720b0ae6da6af862af0e95a04351 and fixed in 7.1-rc1 with commit f62c060272b9d7423b1650b844e8e4e7b8f9f925 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-46241 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/spi/spi-mpc52xx.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/8b49b6aadd0c622ca7d68b4a53ae10362e221cf3 https://git.kernel.org/stable/c/336d9ad7560b3baba17af06727a888040ee93390 https://git.kernel.org/stable/c/5c77f11b9b5f1ad5a704dad875260c44016ede10 https://git.kernel.org/stable/c/f62c060272b9d7423b1650b844e8e4e7b8f9f925