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 599953D75AB for ; Wed, 27 May 2026 12:23:09 +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=1779884590; cv=none; b=KdH7HQ3PIIzJvLojw+nzHBizv+0DM9xVVCoQreyadBjYKCj2I7P5/bdG8xt5CKviItS/RdLZuX6APAKM5Zxv5W/zUnOuDEJOMHaTUG0IZ0KWdPE1q61hS/DoTG5gsVcnHN/NiCk7bcUd33RKKOzE++BmTfxIvgIj5Aph60t5SW4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779884590; c=relaxed/simple; bh=vSbNVjrGV994Tab4kVru26eJ0Zn6Hs7mtjO/RPi8e1U=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=WKSkANOhcWvzfAH8xKUvcaE2UEJRZQt2q37uD0zYzTxYMRbYUpSZsSEfAMAAWuD4ZGA9+Wx69glHunDEdRhM2qEiiap81A19F2lYlvpSIoJPhwDRCAbBHsSH8Vxrg9h0HujWVuwVvGC/xnUSJatWNitVZ2hiHghO7Uhb6oP9vu0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=R0eVBKJt; 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="R0eVBKJt" Received: by smtp.kernel.org (Postfix) with ESMTPSA id AAB6B1F000E9; Wed, 27 May 2026 12:23:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779884589; bh=0oropCQJcPCCHfaw+/LkMUe0bgYVvEdxrv/a0YqkRUw=; h=From:To:Cc:Subject:Date:Reply-To; b=R0eVBKJtXn4e1Iilq22WDJB+CtFt9MboBLtef6QizJhjyu6v9KjMso8UM916om55P b4XMJZL6g4KfExmTZt9FCIfP4OHfBN2ExPjuYWPjyfv9H8Qt9Ja1zhqCOw8gLDqGO9 KPzQNo+b8BnL4qPSQXOibNZ5hJRgL9wBbBMjI3xg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-45908: accel/amdxdna: Fix memory leak in amdxdna_ubuf_map Date: Wed, 27 May 2026 14:19:10 +0200 Message-ID: <2026052721-CVE-2026-45908-3045@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=2193; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=3kwcbfOmI2RlNXs6cMSbD4Wp2l/qKhJ+FqhjLyzE4wA=; b=owGbwMvMwCRo6H6F97bub03G02pJDFliD3nnedbW33/B01J8qHBW1wUFv+yyr8tfROm5tuyu7 /tmds6uI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACYi9ZBhfsQf4XerZjw7v5ir upuHf8nWFDe7PQzzyx2tnee++WL0U97yglhDi7npyshWAA== 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/amdxdna: Fix memory leak in amdxdna_ubuf_map The amdxdna_ubuf_map() function allocates memory for sg and internal sg table structures, but it fails to free them if subsequent operations (sg_alloc_table_from_pages or dma_map_sgtable) fail. The Linux kernel CVE team has assigned CVE-2026-45908 to this issue. Affected and fixed versions =========================== Issue introduced in 6.18 with commit bd72d4acda1069579b35123e3cc0b21ec1193a21 and fixed in 6.18.14 with commit 5a68d2c99c859e6e8e36fa4e32749abf6d1fb66a Issue introduced in 6.18 with commit bd72d4acda1069579b35123e3cc0b21ec1193a21 and fixed in 6.19.4 with commit f9f4366d2ff93b07c2571561c776bd9a708078c3 Issue introduced in 6.18 with commit bd72d4acda1069579b35123e3cc0b21ec1193a21 and fixed in 7.0 with commit 84dd57fb0359500092f1101409ca32091731490d 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-45908 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/amdxdna/amdxdna_ubuf.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/5a68d2c99c859e6e8e36fa4e32749abf6d1fb66a https://git.kernel.org/stable/c/f9f4366d2ff93b07c2571561c776bd9a708078c3 https://git.kernel.org/stable/c/84dd57fb0359500092f1101409ca32091731490d