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 36D3B1ADFE4 for ; Sat, 31 Jan 2026 11:44:26 +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=1769859866; cv=none; b=jhtjvVeWfuTFVopQhB91hwrekABoFxKg19tLDk8r8NsDhhy3rRX1MI7JhlDJxknMqfRBUc7jYsN+mF1qF4Mf3IZJc7TpzSUL1CAJDge9YI1IWCqO+UtL/hRKu+26qnL4iKdz0tbDh4RS/89k1CVD1Vrzwk/BXXM0hz3jNG2RO9s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769859866; c=relaxed/simple; bh=gaz3RVqbVUeHc0rciCwWxPJn2Z+yBy56Ro4yqmXrRHE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=JPsQKicwF375yU1cjKGvrjtHnxazanBYRIcPttlvIh6M4xGjkTKzw6V8g3z+fI76uieixNH05N/2EhfhzzsStal2ttN8pWIgfOPsRSt4uJqcB58xxw7RPguMgPc/vWMxW3utVuwnMpQjGcPQI7RITN78l/tz2uzigIKVbzbGiCI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=kJC/81zg; 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="kJC/81zg" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9A618C4CEF1; Sat, 31 Jan 2026 11:44:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1769859866; bh=gaz3RVqbVUeHc0rciCwWxPJn2Z+yBy56Ro4yqmXrRHE=; h=From:To:Cc:Subject:Date:Reply-To:From; b=kJC/81zgTnQoAXQrp3ljq9ZbMicZFg/bDhSbJ+uwO6X1taxo6f83xCbCmGfJTAIEC dSB/32W7z60+y/ilLTZwOWqGWc46dikjIQAO4q+nSDlf2nnvV/Ad98O5K5AMizdFmp XEGysn7lVsbu3+y0+7jJkaY6Ww8UVgmQS9pqkdaM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-71186: dmaengine: stm32: dmamux: fix device leak on route allocation Date: Sat, 31 Jan 2026 12:44:19 +0100 Message-ID: <2026013118-CVE-2025-71186-48f2@gregkh> X-Mailer: git-send-email 2.52.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=2488; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=EzwIBs8udnPahf2xfsqkZUk58p/TI6C9njSLe4QRdAw=; b=owGbwMvMwCRo6H6F97bub03G02pJDJm1r4U2sR7MCkvmknxxYGsL2xPPRF3+to5n8esdT7HNk g5QSBXuiGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgIlkvmGYxfy+a27A8cCYdZvM wvk9pnvbOTC9ZpifucZjSsJxz4wz7JyXj0VdEptVsNgAAA== 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: dmaengine: stm32: dmamux: fix device leak on route allocation Make sure to drop the reference taken when looking up the DMA mux platform device during route allocation. Note that holding a reference to a device does not prevent its driver data from going away so there is no point in keeping the reference. The Linux kernel CVE team has assigned CVE-2025-71186 to this issue. Affected and fixed versions =========================== Issue introduced in 4.15 with commit df7e762db5f6c8dbd9e480f1c9ef9851de346657 and fixed in 6.6.122 with commit 1a179ac01ff3993ab97e33cc77c316ed7415cda1 Issue introduced in 4.15 with commit df7e762db5f6c8dbd9e480f1c9ef9851de346657 and fixed in 6.12.67 with commit 2fb10259d4efb4367787b5ae9c94192e8a91c648 Issue introduced in 4.15 with commit df7e762db5f6c8dbd9e480f1c9ef9851de346657 and fixed in 6.18.7 with commit 3ef52d31cce8ba816739085a61efe07b63c6cf27 Issue introduced in 4.15 with commit df7e762db5f6c8dbd9e480f1c9ef9851de346657 and fixed in 6.19-rc6 with commit dd6e4943889fb354efa3f700e42739da9bddb6ef 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-71186 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/dma/stm32/stm32-dmamux.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/1a179ac01ff3993ab97e33cc77c316ed7415cda1 https://git.kernel.org/stable/c/2fb10259d4efb4367787b5ae9c94192e8a91c648 https://git.kernel.org/stable/c/3ef52d31cce8ba816739085a61efe07b63c6cf27 https://git.kernel.org/stable/c/dd6e4943889fb354efa3f700e42739da9bddb6ef