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 6315F14375E for ; Tue, 21 May 2024 15:07:03 +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=1716304023; cv=none; b=NVkbUAoe/0sNEbLIH9eiGVKmOUQxpD0GBglqN2cJyJ7iaQLGCCBWT94ZqlYP71LJMNm6QENS75DGJLuR+kGn/4FU/GM6XPlO616w55c8MJQ5ztutXOxwaflzYORaKM3Fa6YwQN7fpbe0new6/64BbwfSEKvPcO4ANqjWAxMPh7c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716304023; c=relaxed/simple; bh=hYXsvidcBMgvYoDFa6MDTMdMbWz5mfHYtQWiQJsAY3g=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=k7PE4vye7QKiHGk9f6Eza+9deiwSYf2q35pBa33KJZv1i1o/auGwB6ZI9fa2OlajvuJ7DchkTxFbcU/j8CHkSiaYSBUBccGss1y0h0aKIhH/MD7yAwh6P1QpZ+f/EMH2DQt9GI1zQ6t8ZHFdt9Mdlw8PjLe5YTHIE9XdIdUjaYg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=h2vs7h1x; 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="h2vs7h1x" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E4D51C2BD11; Tue, 21 May 2024 15:07:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1716304023; bh=hYXsvidcBMgvYoDFa6MDTMdMbWz5mfHYtQWiQJsAY3g=; h=From:To:Cc:Subject:Date:Reply-to:From; b=h2vs7h1xv76wRAIU/+JHScyXSoLWqZ6+cVpQRZK+qdDe2fvS6PZU7WKuHlPUUGCd7 TN/YK7w7h7+h+lNIcWd3jr+bp85rZoVKpcvZn/etgk4110rYQmBbvElU3ew/aA4HIF 6jw2c6NzGf3Ez2BJ51jl2gLWQmmhTFu8wuVBZ/2Y= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2021-47422: drm/nouveau/kms/nv50-: fix file release memory leak Date: Tue, 21 May 2024 17:04:39 +0200 Message-ID: <2024052155-CVE-2021-47422-3f95@gregkh> X-Mailer: git-send-email 2.45.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=1967; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=hYXsvidcBMgvYoDFa6MDTMdMbWz5mfHYtQWiQJsAY3g=; b=owGbwMvMwCRo6H6F97bub03G02pJDGk+22/zr4njeHBugty06yWngq6ebQ9kWiNwTT/v4c8rd 3+bmN2Z2RHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQATuTiBYX7u4R3ih3XUvB5v +PZY2Kv6ZKMziy7DPKvTX11DXWZJahTWtyv8fXC6MLBSHwA= 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/nouveau/kms/nv50-: fix file release memory leak When using single_open() for opening, single_release() should be called, otherwise the 'op' allocated in single_open() will be leaked. The Linux kernel CVE team has assigned CVE-2021-47422 to this issue. Affected and fixed versions =========================== Issue introduced in 5.9 with commit 12885ecbfe62 and fixed in 5.10.73 with commit 65fff0a8efcd Issue introduced in 5.9 with commit 12885ecbfe62 and fixed in 5.14.12 with commit 0b4e9fc14973 Issue introduced in 5.9 with commit 12885ecbfe62 and fixed in 5.15 with commit 0b3d4945cc7e 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-2021-47422 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/dispnv50/crc.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/65fff0a8efcdca8d84ffe3e23057c3b32403482d https://git.kernel.org/stable/c/0b4e9fc14973a94ac0520f19b3633493ae13c912 https://git.kernel.org/stable/c/0b3d4945cc7e7ea1acd52cb06dfa83bfe265b6d5