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 CBE1616D9AE for ; Wed, 18 Sep 2024 07:19:02 +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=1726643942; cv=none; b=JlcpAi8jC1ZJB0u+3qW95iz26570XzZms5WZnK3SYbHYxYlIWTCZ46KmnpS48qBF5Q4Fsbs7R13AmGGSmk3AXDQtUe9NSrZzW7V9Fu9G5zNzXg95Y1e8SuZp1QbK3O5oR46TmcO/0g4XKzFk8xR1MUQ8+Z7cgLd/bQ3NZOxTAN8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726643942; c=relaxed/simple; bh=GKoL7DzPVTk/UsVBOkN4IUhi7xBKgno9kb9dMOnzUaQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=BuBfJU+CbqrxXG2cYx9ruhyLEx7/SchQPnq9APqmGlRBUtm6gkbwtoHSoaQAdrI6H3jKwyaoE3WjsPCETKL8eJpiRvWrJ2nhcg7hpq67AK4pecGkQrYvMPO6e6dU/YCKRPNlyNu/Z4Gpo6oKNgYtqXNoeG+SeJZgZHaxbVDV3fY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=EdScQClo; 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="EdScQClo" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5797DC4CEC3; Wed, 18 Sep 2024 07:19:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1726643942; bh=GKoL7DzPVTk/UsVBOkN4IUhi7xBKgno9kb9dMOnzUaQ=; h=From:To:Cc:Subject:Date:Reply-to:From; b=EdScQClo0gBKi0bvI7AcHZF9pF1hiI6Wr8ggwQww7eXcxrdIQzfhKFSPrP71o3am9 KlX7RmvByJJL3PAAeCFMWx63ucY9cqheEKiHhR22W342gIcJY+ovTljap/6Mcb5ZRF ptb0AMyytteCus4H8AGVM+ue1pF9qQi2rCy1fUfU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-46779: drm/imagination: Free pvr_vm_gpuva after unlink Date: Wed, 18 Sep 2024 09:17:14 +0200 Message-ID: <2024091849-CVE-2024-46779-3186@gregkh> X-Mailer: git-send-email 2.46.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=1845; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=GKoL7DzPVTk/UsVBOkN4IUhi7xBKgno9kb9dMOnzUaQ=; b=kA0DAAIRMUfUDdst+ykByyZiAGbqfmGgIED5jwuFuntJcr1mstWPDTDudWNLRn0+k6pB2P3pL ohdBAARAgAdFiEE9LYMxb94wiFKMT3LMUfUDdst+ykFAmbqfmEACgkQMUfUDdst+ykb4gCeMpyl wuWXY98fc9jGaDBGyO5ncWgAnR+wlKd/0Zn0wY4oohGZzqnE+Oac X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: drm/imagination: Free pvr_vm_gpuva after unlink This caused a measurable memory leak. Although the individual allocations are small, the leaks occurs in a high-usage codepath (remapping or unmapping device memory) so they add up quickly. The Linux kernel CVE team has assigned CVE-2024-46779 to this issue. Affected and fixed versions =========================== Issue introduced in 6.8 with commit ff5f643de0bf and fixed in 6.10.10 with commit 1cc695be8920 Issue introduced in 6.8 with commit ff5f643de0bf and fixed in 6.11 with commit 3f6b2f60b463 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-2024-46779 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/imagination/pvr_vm.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/1cc695be8920df234f83270d789078cb2d3bc564 https://git.kernel.org/stable/c/3f6b2f60b4631cd0c368da6a1587ab55a696164d