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 57BCB1C84B8 for ; Thu, 27 Mar 2025 16:37:35 +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=1743093455; cv=none; b=Poi5pRf4EUAjadJx4vXDf5cFRAZaIZeSZtJHd+XE5Ayu2MJBcmBKRxLZf9Pryezz9aCpcHSVIOF115Lkoj2UYM5NYd1nrgCwAhO7Lgi6KcbFutZHV72qGW8Z1vA606rmWnrJRFq4sKQ831Z5cuWWG4heq/AhQ3Erjs9AJcWbmrs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743093455; c=relaxed/simple; bh=SQGwDegRrlE2EVBMIwzAsYJJpYBjtWq3ztnyRAavG2I=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=i4w1FrSTO3rEkrZZJ3NB8dYKBdB8UFRoigGEsKEpr9PHNyNUSlLIfXcpohbS1iwCSrPqkveGeWFVp77N31rMeXmNGj1WkYYBS5F+IcNFyVIBHg1DAtxY5TUcgupQW+yyGZAds7II2klCAhPDAmaW2jpdpkjtqBLLv5YUMwXHObQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=am90sbtj; 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="am90sbtj" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B0C12C4CEDD; Thu, 27 Mar 2025 16:37:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1743093455; bh=SQGwDegRrlE2EVBMIwzAsYJJpYBjtWq3ztnyRAavG2I=; h=From:To:Cc:Subject:Date:Reply-to:From; b=am90sbtjt/yWqT3dV+lEFzg3PYA5LEbdutzOTicEkZim9hQ3PFCwGJqm8tns6qpe/ mpAqsJ2cK7jqkwNkLPTupyWgZpydEVX73j6K3bioc7A9MXmVkTVzPqgZWKDAsmfkM6 JOBagLfhlOGVgzVa3+MvAibZgneX8IDfPSyqTTSw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-52937: HV: hv_balloon: fix memory leak with using debugfs_lookup() Date: Thu, 27 Mar 2025 17:37:27 +0100 Message-ID: <2025032721-CVE-2023-52937-605d@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=1990; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=SQGwDegRrlE2EVBMIwzAsYJJpYBjtWq3ztnyRAavG2I=; b=owGbwMvMwCRo6H6F97bub03G02pJDOlP6w46P5uVKKQoHO2gYKnN8UMkfv6TjftWsjn93B+ky FBkt42lI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACYyrY5hnqm4xkn7JeLOCTz/ 2hPt+U4zmcQpMszhWBWY9JIhP513g1nbmR1yD6N3bi8GAA== 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: HV: hv_balloon: fix memory leak with using debugfs_lookup() When calling debugfs_lookup() the result must have dput() called on it, otherwise the memory will leak over time. To make things simpler, just call debugfs_lookup_and_remove() instead which handles all of the logic at once. The Linux kernel CVE team has assigned CVE-2023-52937 to this issue. Affected and fixed versions =========================== Issue introduced in 6.0 with commit d180e0a1be6cea2b7436fadbd1c96aecdf3c46c7 and fixed in 6.1.11 with commit 0b570a059cf42ad6e2eb632f47c23813d58d8303 Issue introduced in 6.0 with commit d180e0a1be6cea2b7436fadbd1c96aecdf3c46c7 and fixed in 6.2 with commit 6dfb0771429a63db8561d44147f2bb76f93e1c86 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-2023-52937 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/hv/hv_balloon.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/0b570a059cf42ad6e2eb632f47c23813d58d8303 https://git.kernel.org/stable/c/6dfb0771429a63db8561d44147f2bb76f93e1c86