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 7FC2330EF95 for ; Tue, 28 Oct 2025 11:53:05 +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=1761652385; cv=none; b=sMXLnlafoOjASGc/IjKyK+qxl76RLCQpq3LTUZMrbSSMHDjuyIs6RcRF1BwVGmGyFfEQIIkBxwFGO/0ypuhfl9KzX7kUkxKCK+p95C7FB6ehjx6jT3/Wnc9yGBPvQeGSBFnc3vMfvC+WInC9vdhk2DXdPfj0potwpouZGk4XhKA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761652385; c=relaxed/simple; bh=iMn2/XO/nNdEYw0WGE3zb6GoF2gEeRhoEN6KjRlrA9w=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=NzpCNl8KK7NGlC+BFk5cE5GFOnxBBmgYyMaUBorTLjaFtpjPN8f6X7kDYZitjZRAjjXelMx4Ep1iumGejZF9zwFe1VlE6dvP8SqxkbFscm9NU9oDFu4Lj39Rs45FJmoXlYSVwU4Lyo+pRrLVfo3tfzik7IUYlxKdtBX9C8i/iUA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=smT62ZWA; 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="smT62ZWA" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 146D9C4CEF7; Tue, 28 Oct 2025 11:53:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1761652384; bh=iMn2/XO/nNdEYw0WGE3zb6GoF2gEeRhoEN6KjRlrA9w=; h=From:To:Cc:Subject:Date:Reply-to:From; b=smT62ZWASNLBVaFX8bKPD4jmalWq5S+lygxYyi28V69CMB/gYqTDnO9SuJpBNktBc utA2PpD84o+mmy1qNEXZme3MgM6+FkqG+SWwzUeauv9102sMcFXwawhy79v8g9VY02 EM9TrqZMRkyqApLq0k8AbUQjp0vMNNXNigLK60v4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-40069: drm/msm: Fix obj leak in VM_BIND error path Date: Tue, 28 Oct 2025 12:48:46 +0100 Message-ID: <2025102818-CVE-2025-40069-ebb6@gregkh> X-Mailer: git-send-email 2.51.1 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=1921; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=e0D0D44xJvHs+SUAQ5nn5fBqNjMjceSrVkbBTL7P55o=; b=owGbwMvMwCRo6H6F97bub03G02pJDJkMa5s0p5x8r/4g/+Wmr/81WaJWnHWZ83Qu3w+VrxJ7j ZLSe01dOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAid1czzGaz/5fKprDv9RWx z4FvGNiuNuZ+mcAwh3PVdNYJe2bE13/epzP1mdKHip/nNAA= 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: drm/msm: Fix obj leak in VM_BIND error path If we fail a handle-lookup part way thru, we need to drop the already obtained obj references. Patchwork: https://patchwork.freedesktop.org/patch/669784/ The Linux kernel CVE team has assigned CVE-2025-40069 to this issue. Affected and fixed versions =========================== Issue introduced in 6.17 with commit 2e6a8a1fe2b262a6dfd0a65041fcd830ee1e7143 and fixed in 6.17.3 with commit 2b512909a291a964cfcf6b58de13256ab3e848c4 Issue introduced in 6.17 with commit 2e6a8a1fe2b262a6dfd0a65041fcd830ee1e7143 and fixed in 6.18-rc1 with commit 278f8904434aa96055e793936b5977c010549e28 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-40069 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/gpu/drm/msm/msm_gem_vma.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/2b512909a291a964cfcf6b58de13256ab3e848c4 https://git.kernel.org/stable/c/278f8904434aa96055e793936b5977c010549e28