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 9CFB03D25CE for ; Fri, 28 Aug 2026 06:50:54 +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=1787899855; cv=none; b=s+1Ij/1m1gYMO98wr/wY9/V4WIhGR6UHB++QgyNI4fP/PTwbWqugz40TGHIBsrHkjX9er3BMZYbfU+IgqmQu3zSaCBFePHUWZNxe0LYi2EZagTo3dWVA0TecyLMKmNDVC6P1kBOXPa/kQh/+i6cGoxAliiH+JqLLOvrKFWSPyE4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787899855; c=relaxed/simple; bh=tdKcbMYuOX5RiiT/arfbXCDUtu4ncjfzDEwlVIyk6+0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=dF94HV6fUbG3VLHHa1yVwQzU6Yaycz4B0tHSvktluMApFzyf925NJC+ODCIaDUS+1tZw3QCs3YiFXUcmSzESLZk7xdVAYP5B95ZvERwhvir5mFIMNQEiG/sSXG2Hf+fV3daC1BAqoUHjDaKdDmeej0D/DgxfOaanrJEBmuQdChE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=2JJ5kYsh; 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="2JJ5kYsh" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9E17E1F00A3A; Fri, 28 Aug 2026 06:50:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1787899854; bh=O0xKCumQqqQyNrQ77uaor4Ai0LDxBrALwYv7tHUz6+A=; h=From:To:Cc:Subject:Date:Reply-To; b=2JJ5kYshZu/IGDnxxOApumOuXJUSE+0l11kZrxiMfgMWuafFMxHK6rB0sGWY6xVpL FspplY4wVpMgDBTfCXikUI2CXTI7Vlq00MZ4LRBWDNmbCmFu1SfiYAxOd4BEwqIEHj LnLQ5B64IETYrlNPTgI03ZGaGx2CpOkmSfquAXVI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-80640: cxl/fwctl: Fix __fortify_panic Date: Fri, 28 Aug 2026 08:49:17 +0200 Message-ID: <2026082841-CVE-2026-80640-36d9@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=2492; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=3A50IQWPZYE8NlgXmMR0iz+9PcU1a66z5yTzZK/qzp4=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkT9T33sYt+NXDyDZXSWPPda376lMNng5sLj7Hti1awc r47JTKhI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACYyWZVhrryb/ZUVB4VXv984 Z3KbrHru85MnnBjmFxVy7F79XcbIfYbbmpmmPPNWX5NMAAA= 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: cxl/fwctl: Fix __fortify_panic Fix a runtime assertion in cxlctl_get_supported_features(). Fortify complains that it is potentially overflowing the entries array per __counted_by_le(num_entries). Quiet the false positive by initializing @num_entries earlier. memcpy: detected buffer overflow: 48 byte write of buffer size 0 WARNING: lib/string_helpers.c:1036 at __fortify_report+0x4d/0xa0, CPU#7: fwctl/1398 RIP: 0010:__fortify_report+0x50/0xa0 Call Trace: __fortify_panic+0xd/0xf cxlctl_get_supported_features.cold+0x23/0x35 [cxl_core] The Linux kernel CVE team has assigned CVE-2026-80640 to this issue. Affected and fixed versions =========================== Issue introduced in 6.15 with commit 4d1c09cef2c244bd19467c016a3e56ba28ecc59d and fixed in 6.18.40 with commit b8d15e85596ad8993d42e0703a9741961a2f03eb Issue introduced in 6.15 with commit 4d1c09cef2c244bd19467c016a3e56ba28ecc59d and fixed in 7.1.5 with commit 18c67ecc5dafe14055edcea53f36f4e31df1816b Issue introduced in 6.15 with commit 4d1c09cef2c244bd19467c016a3e56ba28ecc59d and fixed in 7.2 with commit 6c9d2e87df40d606f1c85143e9acb1ecff463d5e 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-80640 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/cxl/core/features.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/b8d15e85596ad8993d42e0703a9741961a2f03eb https://git.kernel.org/stable/c/18c67ecc5dafe14055edcea53f36f4e31df1816b https://git.kernel.org/stable/c/6c9d2e87df40d606f1c85143e9acb1ecff463d5e