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 D6D5B32E75D for ; Wed, 17 Sep 2025 14:59: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=1758121149; cv=none; b=iHXMvzirS3Ol1D5JoisZu88KSX6P9ytonGW5U8ZPtroBpS8aYJvSV9TA4RBMwEAABfV7APIB85pT2n7gMpBzzgWbq/67U0kNTxH3D00kzWAhppgZLSGRlenf4jUnR0q/TcWl76FADSeLBnADfue1cPJA0g0ETCcvo492Lji1ADk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758121149; c=relaxed/simple; bh=P13B86Y2BIr+hnb2CSa92vWPVB2/iHI2hMU7yFC027s=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=qlEC3felarN7X+Dj4vjMtRE+FuPAVV7Vx5T+sSGeb5Pbm0P0lisVckLa557qrG68DcYHpu3X3dcyVqPhUgJ1VqB+2O0diEuOCW4hYtePkYJA5YsugVqEUlrKlRhliiUfDmokKJnUfE2uYsDs04frJ2eanDJ4jXuU9KLssnF9vmQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=wgYgzYLI; 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="wgYgzYLI" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 51D68C4CEE7; Wed, 17 Sep 2025 14:59:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1758121149; bh=P13B86Y2BIr+hnb2CSa92vWPVB2/iHI2hMU7yFC027s=; h=From:To:Cc:Subject:Date:Reply-to:From; b=wgYgzYLIHaD5eqHbBneKZTp3SmL4uWf9B37EwNVWeHl4zRc99+5XqFA2pZ7Jg6zbX hwl70xlewjjtCcvXLjB8VfroSNnzrGkwBz/0aWCf435izQxXCbmgfOKALdQkj57qx+ Mk5xD2swWH6IKRyCalRJyan0ytkwY2ckLD0goqFI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53367: accel/habanalabs: fix mem leak in capture user mappings Date: Wed, 17 Sep 2025 16:57:06 +0200 Message-ID: <2025091723-CVE-2023-53367-ccb9@gregkh> X-Mailer: git-send-email 2.51.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=1802; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=wJAByR9bFW3+S9NTAICnk87cVnhxa1FSBnDr4A4OIa4=; b=owGbwMvMwCRo6H6F97bub03G02pJDBmnzoh33rr86Jemrnmnaz/fCcmgqNexFRmOh3nMQy83K cuVzrrXEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABNhk2SYw6vW7rjWWX195mee Nmb3TTMio8T6GRasjrwvdCOG49TlC8UPNtr8XXQ32KUIAA== 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: accel/habanalabs: fix mem leak in capture user mappings This commit fixes a memory leak caused when clearing the user_mappings info when a new context is opened immediately after user_mapping is captured and a hard reset is performed. The Linux kernel CVE team has assigned CVE-2023-53367 to this issue. Affected and fixed versions =========================== Fixed in 6.4.12 with commit 973e0890e5264cb075ef668661cad06b67777121 Fixed in 6.5 with commit 314a7ffd7c196b27eedd50cb7553029e17789b55 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-53367 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/accel/habanalabs/common/habanalabs_drv.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/973e0890e5264cb075ef668661cad06b67777121 https://git.kernel.org/stable/c/314a7ffd7c196b27eedd50cb7553029e17789b55