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 1BFF514A8E for ; Tue, 21 May 2024 15:07:09 +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=1716304029; cv=none; b=fuSwgF09i17z5kyMfX2E6XoF0lrwmh1G8KoXd+htW1V6Oupn/ZrcBHylrTG7nXLouocpYRSEA9/Lo4rIe11EpMRcoQJwjNWaV+Ga1nd26PVyoFJRe6WktPZ2x0Bf1akYrHv4E8WsYhvbY4RZkaCjLvQVnAdsa+fjFWC6iNcXiPc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716304029; c=relaxed/simple; bh=ZVYbYaIOBUrsclP9ASxZrGt2HUbPeANZUV3YlIKfJ0k=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=JDyEtBDdpYsp7XDSTnUI30yFOI21Fw9QVgTeoFk21PNCgS3+w5QKwrH8f44nB+6ips+rmuzfJbwIaTWCP69wqEV2Najrx4kjxfI3RS+ONWl+ZZJ/VDIsQh/Ed9aK8yOF7IC5oqOVA+lR+NiJ+/UOb4bCyQNpM03ehK6NyCo0Nx0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=syRZN+Oa; 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="syRZN+Oa" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 97F91C4AF0D; Tue, 21 May 2024 15:07:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1716304029; bh=ZVYbYaIOBUrsclP9ASxZrGt2HUbPeANZUV3YlIKfJ0k=; h=From:To:Cc:Subject:Date:Reply-to:From; b=syRZN+OapTXHn58NC0kZ+y3URYj5YSI1u181DWAZQtvhzPmRLFDoCafSlrlQ8asuF i/LoBFVLgXnzMXwETNS0fJcrVN6zyszArKJjs1FRKvF8uKQDP3LlloJRwYb2rUgQbU R8z8Yogx6aU9WsN7h+Sel1PcI3XkfqCz8laqeyj4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2021-47423: drm/nouveau/debugfs: fix file release memory leak Date: Tue, 21 May 2024 17:04:40 +0200 Message-ID: <2024052156-CVE-2021-47423-6632@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=2658; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ZVYbYaIOBUrsclP9ASxZrGt2HUbPeANZUV3YlIKfJ0k=; b=owGbwMvMwCRo6H6F97bub03G02pJDGk+2+/kamxgqlTnL5nB/op76Vopr2usiq7CM/VqPcPmn tORSSnviGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgImYr2RYsCkk9FTrqXfODw98 P2obvk3BJJrNimF+zr0E58W7JorvPtZwXysnb6P3qVXNAA== 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/debugfs: 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-47423 to this issue. Affected and fixed versions =========================== Issue introduced in 4.5 with commit 6e9fc177399f and fixed in 4.9.287 with commit df0c94189236 Issue introduced in 4.5 with commit 6e9fc177399f and fixed in 4.14.251 with commit 9f9d4c88b2ed Issue introduced in 4.5 with commit 6e9fc177399f and fixed in 4.19.211 with commit 1508b09945bd Issue introduced in 4.5 with commit 6e9fc177399f and fixed in 5.4.153 with commit 11cd944bb87d Issue introduced in 4.5 with commit 6e9fc177399f and fixed in 5.10.73 with commit f69556a42043 Issue introduced in 4.5 with commit 6e9fc177399f and fixed in 5.14.12 with commit 88c3610045ca Issue introduced in 4.5 with commit 6e9fc177399f and fixed in 5.15 with commit f5a8703a9c41 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-47423 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_debugfs.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/df0c9418923679bc6d0060bdb1b5bf2c755159e0 https://git.kernel.org/stable/c/9f9d4c88b2edc7924e19c44909cfc3fa4e4d3d43 https://git.kernel.org/stable/c/1508b09945bde393326a9dab73b1fc35f672d771 https://git.kernel.org/stable/c/11cd944bb87d9e575b94c07c952105eda745b459 https://git.kernel.org/stable/c/f69556a42043b5444ca712ee889829ba89fdcba8 https://git.kernel.org/stable/c/88c3610045ca6e699331b6bb5c095c5565f30721 https://git.kernel.org/stable/c/f5a8703a9c418c6fc54eb772712dfe7641e3991c