Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 A7A83403E9A for ; Wed, 27 May 2026 13:00:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779886852; cv=none; b=a4ABl45eLW+RMVbXu94bta2GGVUbNoLWcWPXmE5+PLPsD+8laIsfjZd8dJwzYxP14gvuybjLeQaEd+bGe7EUi3mOpnPtXdkEDjEuOBel/qR1RoUqNCmn432VIYoAlYYGty/EWsE/xBzrvvFSaBwcYzc4tZpHOcQHg1x2fnNS3gY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779886852; c=relaxed/simple; bh=nGoDueZfFLpNKz+5t5yyVHYSqDC0TlpXEEKemdLzezM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=H/JSK59la96H+bCogJY5NmZq+nLldTGg43hUzUq+H+Xldb3dzVMFGPAXfkaeYfb1yJdFYrCvtGIMrEvFdDTrSr5NHdduH82P1Bhm2C1oPw2zj+ZXbTPoqY2SMjsyt4oVClfaWiCn9cRrLAYHLS+5LTyrtIRaytlAHT4OHOxELfk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=WaPyUBkJ; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="WaPyUBkJ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DEA461F000E9; Wed, 27 May 2026 13:00:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779886851; bh=ZKW3ZEAGOTpeL1L25R60Ye3YMOLlueptO27vx9NbXA0=; h=From:To:Cc:Subject:Date:Reply-To; b=WaPyUBkJs2gKDoRYW17jnglI+1fn5RPP2REuSMgewsrYw7EPKkc4yo4xOSxfE1DW3 uNZIde0z8c6noJK8Lz6Mpbiup2O8cady6coTJ7KqvvgRX56U9DC+ZprRQNSp5k1dbw RXLo46CgxbtMteNBQ3oJdpPDg5F04T8zpLNKJsXQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-46006: drm/nouveau: fix u32 overflow in pushbuf reloc bounds check Date: Wed, 27 May 2026 14:58:57 +0200 Message-ID: <2026052743-CVE-2026-46006-2a21@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=2903; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=N+hgOeLrTY0HgSVqo0t9s2OR1c8mVWejmdWAs7pZpHc=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlir5rdrt2xmcHPfcc38IzTTSYLT8+fRRwLjljpHemfl vo/yWVDRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAExE4hrDggUtW5/Ozmy61d8n 1DY1/vWD+oLQVwzzdKNmJPE/3eF9YUFV0M2TUjMqX+1+DQA= 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/nouveau: fix u32 overflow in pushbuf reloc bounds check nouveau_gem_pushbuf_reloc_apply() validates each relocation with if (r->reloc_bo_offset + 4 > nvbo->bo.base.size) but reloc_bo_offset is __u32 (uapi/drm/nouveau_drm.h) and the integer literal 4 promotes to unsigned int, so the addition is performed in 32 bits and wraps before the comparison against the size_t bo size. Cast to u64 so the addition happens in 64-bit arithmetic. [ Add Fixes: tag. - Danilo ] The Linux kernel CVE team has assigned CVE-2026-46006 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.34 with commit a1606a9596e54da90ad6209071b357a4c1b0fa82 and fixed in 6.6.140 with commit fa297e919d1680c38ab268ff952b1698dac987f6 Issue introduced in 2.6.34 with commit a1606a9596e54da90ad6209071b357a4c1b0fa82 and fixed in 6.12.86 with commit d749a9a0ee4014681487e7ae549901aa8c176637 Issue introduced in 2.6.34 with commit a1606a9596e54da90ad6209071b357a4c1b0fa82 and fixed in 6.18.27 with commit 332884f5eb79dd60a7162b079d09d39208567a31 Issue introduced in 2.6.34 with commit a1606a9596e54da90ad6209071b357a4c1b0fa82 and fixed in 7.0.4 with commit e441d5c23ec644c8d27593db3b8928e8933512a9 Issue introduced in 2.6.34 with commit a1606a9596e54da90ad6209071b357a4c1b0fa82 and fixed in 7.1-rc1 with commit 2fc87d37be1b730a149b035f9375fdb8cc5333a5 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-2026-46006 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/nouveau/nouveau_gem.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/fa297e919d1680c38ab268ff952b1698dac987f6 https://git.kernel.org/stable/c/d749a9a0ee4014681487e7ae549901aa8c176637 https://git.kernel.org/stable/c/332884f5eb79dd60a7162b079d09d39208567a31 https://git.kernel.org/stable/c/e441d5c23ec644c8d27593db3b8928e8933512a9 https://git.kernel.org/stable/c/2fc87d37be1b730a149b035f9375fdb8cc5333a5