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 7CA22218EA8 for ; Thu, 8 May 2025 06:40:28 +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=1746686428; cv=none; b=qEQcDnqERAU1gmnKeoyxwQPcws7XNcisnPAK5ai2NeGoUXMzb3AvZZU0zIJAtwOD9mWIjmnk4LbdImWImWGW7whkQ1DMLgLalETIUzlxrv/u6tPFG4ez2tSBxH4467xMVEI+9F/JBvM8OmVTjXZOG7NJR941LQqsrWssiIRlNHc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746686428; c=relaxed/simple; bh=QRWY3AGogUAuUFektdQ5RskJSY2U55J/e4XLZ5e4x9g=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=YecEfx4A1br/3uMkYDICWN+VQf2VJWtCBdK8O2t0qDpL/iYytZR85NM2JExnqB76tWz+ozLjXJ6UJSo+PTdv++0hbJmGVHp4LkLRppm526Fe/EPc6QpAnQMjWk6wSciOURaLdbFUj0Ym8Ca7o4OyaiFEJstc4Ky2od9bU+BsNT8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=wIYAEegq; 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="wIYAEegq" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C4D94C4CEEB; Thu, 8 May 2025 06:40:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1746686428; bh=QRWY3AGogUAuUFektdQ5RskJSY2U55J/e4XLZ5e4x9g=; h=From:To:Cc:Subject:Date:Reply-to:From; b=wIYAEegqmE2+dtuP4njIWFeGtgu9IYDJL4iBeuotwJ5VPrGZ3Vyk1ERb2DjvAegcb P+HPPaMwKXzAjxHv2DL1VLh+gMraDJ1ekC04T27Zes4yfsd3JjppxDCO88PK1AYask LdvykpiTCZG8+HK5O+LgshDKC6IfYuSkI6IL/lns= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-37803: udmabuf: fix a buf size overflow issue during udmabuf creation Date: Thu, 8 May 2025 08:39:12 +0200 Message-ID: <2025050814-CVE-2025-37803-0c5c@gregkh> X-Mailer: git-send-email 2.49.0 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=2403; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=bLKBJEApUWvx1vo87CpBQxoNInhJJUQ9h+tC0tY7hds=; b=owGbwMvMwCRo6H6F97bub03G02pJDBkygZM++Bfzu8mqzf2h6L787KVu/+TkM6/qpX83Snx4k q+Vw6fbEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABPhMGWYp7lnxsLOpmzPD6HO q2zM7a2/XN/3nmHBzLzXqb5lxzY21lswhinMtRHMml4CAA== 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: udmabuf: fix a buf size overflow issue during udmabuf creation by casting size_limit_mb to u64 when calculate pglimit. The Linux kernel CVE team has assigned CVE-2025-37803 to this issue. Affected and fixed versions =========================== Fixed in 5.4.293 with commit e84a08fc7e25cdad5d9a3def42cc770ff711193f Fixed in 5.10.237 with commit 13fe12c037b470321436deec393030c6153cfeb9 Fixed in 5.15.181 with commit 373512760e13fdaa726faa9502d0f5be2abb3d33 Fixed in 6.1.136 with commit 3f6c9d66e0f8eb9679b57913aa64b4d2266f6fbe Fixed in 6.6.89 with commit b2ff4e9c599b000833d16a917f519aa2e4a75de2 Fixed in 6.14.5 with commit 2b8419c6ecf69007dcff54ea0b9f0b215282c55a Fixed in 6.15-rc2 with commit 021ba7f1babd029e714d13a6bf2571b08af96d0f 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-37803 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-buf/udmabuf.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/e84a08fc7e25cdad5d9a3def42cc770ff711193f https://git.kernel.org/stable/c/13fe12c037b470321436deec393030c6153cfeb9 https://git.kernel.org/stable/c/373512760e13fdaa726faa9502d0f5be2abb3d33 https://git.kernel.org/stable/c/3f6c9d66e0f8eb9679b57913aa64b4d2266f6fbe https://git.kernel.org/stable/c/b2ff4e9c599b000833d16a917f519aa2e4a75de2 https://git.kernel.org/stable/c/2b8419c6ecf69007dcff54ea0b9f0b215282c55a https://git.kernel.org/stable/c/021ba7f1babd029e714d13a6bf2571b08af96d0f