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 6284A31E827 for ; Wed, 24 Jun 2026 16:38:08 +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=1782319089; cv=none; b=KKQIExpgkJikggVFqXMLx3U9JY4mBmTBrpT214yF9Wnok4h7VakV9rJoYsQtIf25q5PhnGSx9Y0Qnpv915hOgBQ+rxLAs5fULk7Ud0O/rsxh7bNmwWJho26sK0P1hU/1wUh2lvZ5e+JfBpWjmnTTJkvCWkUVmg+FVsrW1gHBhdw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1782319089; c=relaxed/simple; bh=B3Whw1Kzy3/MGpYbjsw4BInbfv7OkCl4oZDalKycXkM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=VdHQ3wfCNl9k80kyPQZGAsFc+pYfbepr8wXtWdbs4/GzLZa0L1NXKgEYKELLOd3buryk7kIgTUr+InhBJF492Q22hHIjFF8vLlu2KluxjQG/FQ4sRd2CpP7j6OADQLhXzJ+l1XjQ8dDz3qcUPvjHiIv5c11ENDuYMQvky21VduY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ajIXJa9Q; 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="ajIXJa9Q" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B32EC1F000E9; Wed, 24 Jun 2026 16:38:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1782319088; bh=vbUmva3j/2Ot1EU/xkKoTtqkeEZrZdP0MtOpwEgkLVs=; h=From:To:Cc:Subject:Date:Reply-To; b=ajIXJa9Qq/Vjj+z/rIu9L4bVF5sEboW7c8WRB4CGtTM8Yyj7TulmHnX+n5KRPaV0f BZd5tRnTaYxKCrgaUhJBKPuv/qV9HtXQ1tA7Y+CTUGgri9lDbvAXFOIiXbWyESLhY8 vkzHmwu4AWrNwM6iVs2oRrDTPUddZKU6WoabwswE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-53067: PCI: endpoint: pci-ep-msi: Fix error unwind and prevent double alloc Date: Wed, 24 Jun 2026 17:31:31 +0100 Message-ID: <2026062403-CVE-2026-53067-ec86@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=2520; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=rwDvSiR56SrlW62/pIVc8gct88yDpQT49aR63QkH8Ms=; b=owGbwMvMwCRo6H6F97bub03G02pJDFk2bNxLrj5s+qDV/pb5xLPVX7fxar545L/nNbtpy/fvU ge/6kZM6YhlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJyB5lmB8fneIWdDF+zik2 2/KzTuuFjuVODGGYwzf7dVhzQkyzoPzU2NwunY5G84LfAA== 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: PCI: endpoint: pci-ep-msi: Fix error unwind and prevent double alloc pci_epf_alloc_doorbell() stores the allocated doorbell message array in epf->db_msg/epf->num_db before requesting MSI vectors. If MSI allocation fails, the array is freed but the EPF state may still point to freed memory. Clear epf->db_msg and epf->num_db on the MSI allocation failure path so that later cleanup cannot double-free the array and callers can retry allocation. Also return -EBUSY when doorbells have already been allocated to prevent leaking or overwriting an existing allocation. The Linux kernel CVE team has assigned CVE-2026-53067 to this issue. Affected and fixed versions =========================== Issue introduced in 6.17 with commit 1c3b002c6bf684b445a7107609979bca5f21bc03 and fixed in 6.18.33 with commit 175717cfc06cab79f84cd037d66dda1b8564cd9e Issue introduced in 6.17 with commit 1c3b002c6bf684b445a7107609979bca5f21bc03 and fixed in 7.0.10 with commit 3c25587fbf8797b92090b064a6d239a873e55fb1 Issue introduced in 6.17 with commit 1c3b002c6bf684b445a7107609979bca5f21bc03 and fixed in 7.1 with commit 1cba96c0a795124c3229293ed7b5b5765e66f259 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-53067 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/pci/endpoint/pci-ep-msi.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/175717cfc06cab79f84cd037d66dda1b8564cd9e https://git.kernel.org/stable/c/3c25587fbf8797b92090b064a6d239a873e55fb1 https://git.kernel.org/stable/c/1cba96c0a795124c3229293ed7b5b5765e66f259