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 B8BC435A933 for ; Sat, 15 Aug 2026 06:13:32 +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=1786774414; cv=none; b=Fgnx84w7b87WRVFw00tIIyROH2QqNK+Y/7mKO4Cv8KJMJ7IZPtrTeQhtT/kx1+s9H2mikRjOdpT6sue67PA/v1bh9nFtkX9N/RvrW6WIdHfpdPOlh7UhxLKiUuJDwM6s0CTXvvRRRznzGYhykypjvFCMS6dQpw5KvTK98WmrNdg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786774414; c=relaxed/simple; bh=so/mwj5jt+FXkApA9loQ+BF7ONJdeGzaezUAQTccWnQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=JSbglLYnYd5CJuaig5xxdRf5tu76Wp0QJbRB42VdlptYNucIcC4HTHalaDqZnawGK+euj36vigKv4JybC+0/9n5VQeM5Z5V2KdQMGCihW+/+66kZZpxAT2xxLEMD96+POZu74/nodokvwS5tQX+Gwip4OWwaN+OY7YfAmDM84HI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=MOS/IiHu; 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="MOS/IiHu" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1D2921F000E9; Sat, 15 Aug 2026 06:13:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1786774412; bh=3AFIUjbE82tZteQrqqZvFv6PTIhCzrI+2fZ35FXs7a8=; h=From:To:Cc:Subject:Date:Reply-To; b=MOS/IiHujICnrHlWAAMqx9l0c44wR3Z1RGb91lkNV186B6+qpI2lRta015egu0xBm WIyUK7ECPufqTRrY/4X1sPqG0wakXKHvYcbSwyYiM+u0cQH1u6YteSpY3Tv8siPqF3 0j4keslhJKD7DsMiPOFDbiEuPdjc6NsLeO7bPG04= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-72145: platform/x86/intel/tpmi: use cleanup helpers in mem_write() Date: Sat, 15 Aug 2026 15:03:44 +0900 Message-ID: <2026081533-CVE-2026-72145-42bb@gregkh> X-Mailer: git-send-email 2.55.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=2111; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=rHknfQB3s866FwClrfDhbnKDFndbsaauD+cH+8RxSEI=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkNDHu72aaYhVppdL4szNo6/aFYK/PqBwF39iznut9uW rhP0eRIRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzkWwrDghb3k4kLTDLLViw+ b7j3sPTTREfxvQwL9isvj5Mu5l8t/198r9QWt3aFWQ6LAQ== 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: platform/x86/intel/tpmi: use cleanup helpers in mem_write() In mem_write(), the temporary array returned by parse_int_array_user() must be released on all exit paths. Convert the array variable to use cleanup.h scope-based cleanup so it is freed automatically on return. This also moves the array declaration next to parse_int_array_user() as required by cleanup.h usage guidelines. The Linux kernel CVE team has assigned CVE-2026-72145 to this issue. Affected and fixed versions =========================== Issue introduced in 7.1 with commit 8e0a2fc68ec369f2b6755994da1d318d0898a9d9 and fixed in 7.1.5 with commit 2137f21542900233a42bf00578817f9b8dfecadc Issue introduced in 7.1 with commit 8e0a2fc68ec369f2b6755994da1d318d0898a9d9 and fixed in 7.2-rc1 with commit a221557958e3a82d8565729d445a7385963f30b6 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-72145 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/platform/x86/intel/vsec_tpmi.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/2137f21542900233a42bf00578817f9b8dfecadc https://git.kernel.org/stable/c/a221557958e3a82d8565729d445a7385963f30b6