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 CE454377550 for ; Sun, 19 Jul 2026 14:07:37 +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=1784470058; cv=none; b=YxuiH0xIoUuuQbKViJet+mB3RsAz9r0LYk7/UsVbe0p/wph0bUZZagKl9d0rGiaHzWTPjSK0DHPcE8L5pEWDgSSg0ATWXGQQEOKaCHph4Yc78HFzQiDgLplbAcPA2+LdNRIMAjpmcv/WXn0ZFOIa7XDHzeADy88BV4a+q1pMkm0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784470058; c=relaxed/simple; bh=RsxLDgCBHnaehyKBbD3VkaIGA3beURQ3pz6FK8GBSJg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=hNx0iCu970jTEwrvlWCxD6Fm0XT859ulhGyatCVlxog2ufsTCHmLR7Ri5iJ0UmEj/GbA1pVhRKh22mh9/p0Ov+S5mXlYPjbcbG/JWLgN+CyqlmqCyj8mubk3iRsYxwzZtAp+jS5ByrZNaJSaET4EsMqw6wXp8jFxH+qWuZrf1bw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=HjrrcjEA; 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="HjrrcjEA" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2C5181F000E9; Sun, 19 Jul 2026 14:07:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784470057; bh=3EEoJq11lynrESiOXvMGxTi11NLfsYXggYoSlKOSKPI=; h=From:To:Cc:Subject:Date:Reply-To; b=HjrrcjEAyj2sCSb4l0P6QVsZib8rvid0l9q/iLY125O3YH8vBNiURceQ186hMKJYd WY4U54ICSfEGDmToOkmi8roIsuZEnbuVKvdEAGwNBElK8IhYRrMHdO/LDJ40iOASnY weIKoVFAyMBxHOlmKA6G1/XMOwRlEqZbMsRb56xA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-63861: spi: mtk-snfi: unregister ECC engine on probe failure and remove() callback Date: Sun, 19 Jul 2026 16:03:51 +0200 Message-ID: <2026071933-CVE-2026-63861-838f@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=2996; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=xpsudkibpf+gePYcTQHuG4DTjKw3buenaraiupeYbIw=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkxN03bq8vML89fY/iZ4fupNf92BVf83tfMkfBGziDEK U41/n9tRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzEaxLDgoUd+1K4Es+vOJm7 xPFjyYljpW7cPgzzlDY9DzFhZ7qy/9HX29188iUdx89PAAA= 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: mtk-snfi: unregister ECC engine on probe failure and remove() callback mtk_snand_probe() registers the on-host NAND ECC engine, but teardown was missing from both probe unwind and remove-time cleanup. Add a devm cleanup action after successful registration so nand_ecc_unregister_on_host_hw_engine() runs automatically on probe failures and during device removal. The Linux kernel CVE team has assigned CVE-2026-63861 to this issue. Affected and fixed versions =========================== Issue introduced in 5.19 with commit 764f1b7481645b2b4488eda26c4da7f331697e6b and fixed in 6.1.175 with commit 6aea4a99410615912d80a4ba0827c4e8d4a8312d Issue introduced in 5.19 with commit 764f1b7481645b2b4488eda26c4da7f331697e6b and fixed in 6.6.141 with commit 3e79a563377a319d016ed0d3cd8c43171670c0f3 Issue introduced in 5.19 with commit 764f1b7481645b2b4488eda26c4da7f331697e6b and fixed in 6.12.91 with commit 86357e1d0157d8408b78f8768a69ab263d010316 Issue introduced in 5.19 with commit 764f1b7481645b2b4488eda26c4da7f331697e6b and fixed in 6.18.33 with commit e0b049bd7b279d7b6ad22a637cddced93198a51b Issue introduced in 5.19 with commit 764f1b7481645b2b4488eda26c4da7f331697e6b and fixed in 7.0.10 with commit 98cf4b58299e0c6a537c68cd32155d9e7569e7cb Issue introduced in 5.19 with commit 764f1b7481645b2b4488eda26c4da7f331697e6b and fixed in 7.1 with commit ab00febad191d7a4400aa1c3468279fb508258d4 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-63861 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-mtk-snfi.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/6aea4a99410615912d80a4ba0827c4e8d4a8312d https://git.kernel.org/stable/c/3e79a563377a319d016ed0d3cd8c43171670c0f3 https://git.kernel.org/stable/c/86357e1d0157d8408b78f8768a69ab263d010316 https://git.kernel.org/stable/c/e0b049bd7b279d7b6ad22a637cddced93198a51b https://git.kernel.org/stable/c/98cf4b58299e0c6a537c68cd32155d9e7569e7cb https://git.kernel.org/stable/c/ab00febad191d7a4400aa1c3468279fb508258d4