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 64AB043CEE7 for ; Wed, 6 May 2026 11:36:15 +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=1778067375; cv=none; b=sbf5Sk75SJaIgPT7va1erFA/k6ig3VkOxNJZoyWiWzi0zD5kF/qeB6/mneEtdhfkVWRCLWchnoGFxr3ZjWUd8nGL1wqfAay4GEDYxngO8T1oqkVFH7YV8Rpr74yI9dJ7K35SXxy0fJdIGxmpqma4nYQyCfUhatOJfy2gVb5I048= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778067375; c=relaxed/simple; bh=eH8o7xQrJ5S9elRaiEAtoU/uZAK173KPtjKMqvI+l1g=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=jzMYr6qfj1u8ZF/93SQubdv2qv03wUH/S+xBCsEMMYSn/z3pq1PO50OHIDh+doGjIBvvKTAPtbGsniNKBV51UpRWa0poJUKYaEP6Mu6Eeg58fdt05ZTwhgmwX+b9orRDXFopPCmv787xHnxzZbxInrRYYzYOiN/IeMk61/uXuYQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=YewiPxnY; 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="YewiPxnY" Received: by smtp.kernel.org (Postfix) with ESMTPSA id EF696C2BCB8; Wed, 6 May 2026 11:36:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1778067375; bh=eH8o7xQrJ5S9elRaiEAtoU/uZAK173KPtjKMqvI+l1g=; h=From:To:Cc:Subject:Date:Reply-To:From; b=YewiPxnYr6BxI78BJnygwCXOi0Me+bIgoNxCqj+QfQzUZ3IVg1cHxbiQQwldBg4Q8 M2aaIZj0XJrnRKYwSpcZZJWzsy6j2kH+vUOXzAFPAwnnFlMQxQVWxjDrsqUw9/KNao wdiOkzYHIOIVrCc81uaXNE6L+pPfhhiAF4JrCq74= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-71287: memory: mtk-smi: fix device leak on larb probe Date: Wed, 6 May 2026 13:32:32 +0200 Message-ID: <2026050630-CVE-2025-71287-54ce@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=3046; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=R177cTcyXGSwfcthfQNbf2Nisoe5rINH0P3mbuOs/uY=; b=owGbwMvMwCRo6H6F97bub03G02pJDJm/1c4JVlWFRueu3JDNMD2ZY3qU/PSDPIeK00QYOA5d3 rZDe8OXjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiI7wyGOVxFDn81eafsmXxx TqbYBgm2r7Vu2xnmO8cWTNmr396Yw19zTEEobfYC26ZNAA== 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: memory: mtk-smi: fix device leak on larb probe Make sure to drop the reference taken when looking up the SMI device during larb probe on late probe failure (e.g. probe deferral) and on driver unbind. The Linux kernel CVE team has assigned CVE-2025-71287 to this issue. Affected and fixed versions =========================== Issue introduced in 4.6 with commit cc8bbe1a83128ad06457e4dc69907c4f9a6fc1a7 and fixed in 5.15.203 with commit 04057b86fdac3d4847913a97dc6552c0bff9b85e Issue introduced in 4.6 with commit cc8bbe1a83128ad06457e4dc69907c4f9a6fc1a7 and fixed in 6.1.167 with commit 357e16a7fc9c1fef2ea37dce9bb6b9bcb1d1687d Issue introduced in 4.6 with commit cc8bbe1a83128ad06457e4dc69907c4f9a6fc1a7 and fixed in 6.6.130 with commit b9eccd59697f7e1cb9a714501d9af826e7f7e073 Issue introduced in 4.6 with commit cc8bbe1a83128ad06457e4dc69907c4f9a6fc1a7 and fixed in 6.12.77 with commit 1f23a48ff2b8ab47e514f7c84a4b1dbf9b848168 Issue introduced in 4.6 with commit cc8bbe1a83128ad06457e4dc69907c4f9a6fc1a7 and fixed in 6.18.17 with commit f69535b77fa0518ad39870c00dd2995439ed5c34 Issue introduced in 4.6 with commit cc8bbe1a83128ad06457e4dc69907c4f9a6fc1a7 and fixed in 6.19.6 with commit 1288bb394d464975cea18f69940f206e235e0fe7 Issue introduced in 4.6 with commit cc8bbe1a83128ad06457e4dc69907c4f9a6fc1a7 and fixed in 7.0 with commit 9dae65913b32d05dbc8ff4b8a6bf04a0e49a8eb6 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-2025-71287 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/memory/mtk-smi.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/04057b86fdac3d4847913a97dc6552c0bff9b85e https://git.kernel.org/stable/c/357e16a7fc9c1fef2ea37dce9bb6b9bcb1d1687d https://git.kernel.org/stable/c/b9eccd59697f7e1cb9a714501d9af826e7f7e073 https://git.kernel.org/stable/c/1f23a48ff2b8ab47e514f7c84a4b1dbf9b848168 https://git.kernel.org/stable/c/f69535b77fa0518ad39870c00dd2995439ed5c34 https://git.kernel.org/stable/c/1288bb394d464975cea18f69940f206e235e0fe7 https://git.kernel.org/stable/c/9dae65913b32d05dbc8ff4b8a6bf04a0e49a8eb6