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 0E0642E975E for ; Wed, 6 May 2026 11:32:10 +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=1778067130; cv=none; b=aJtjNMOFeoYjPSaSNVn2wgkFzTXV2urMpVRuGsgPkhJ19ZEsHYUa0uVG5pI7eXGQMmgM/DTYxCpI+TAunSonDZ67GXFimloOvv8O8usKLR/JxvGISv0/+6SmC8UzFsssiX8pymeCapGhqY0ZZJOryL3Nr9zxksYUmFhE5BNgdwI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1778067130; c=relaxed/simple; bh=Hts2jwFVHIwwOzlnqzscnOU3fGVzm/ze5Z/JiDMHNwU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=N1J+O4x/po7IVbID2aS+Zif4BG3Ad0V/QxOiOCrcAyKkc4kya3lPpBlFNZ8Nc5zegObJPi6j+YF8sl60kGCLGB2rESwL3Ep3APxtPzuPDdt5Lt30YxTy73wwAdiX3kTPM3s2RUrhnyoadtBfvmC7zY+AxORilrzzRmlfQ+n+hsc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=EQDZ63pn; 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="EQDZ63pn" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 96AACC2BCB8; Wed, 6 May 2026 11:32:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1778067129; bh=Hts2jwFVHIwwOzlnqzscnOU3fGVzm/ze5Z/JiDMHNwU=; h=From:To:Cc:Subject:Date:Reply-To:From; b=EQDZ63pnMb6o018pToZ+kDSty+QZrOluvoZgbFjeWpkbEYg3ipxmMnqv7mzu5YO/r YhIRbAONw/jQ3ViliNxB/BnIm/5vVprCP6JagmRQ0p0dX3u6mwYHRxRiOiQaAjPUtt kNk3LAAZ714oO2/8wR7xwwqWm+poC8QGZcP4ppCQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-43200: PCI: endpoint: Fix swapped parameters in pci_{primary/secondary}_epc_epf_unlink() functions Date: Wed, 6 May 2026 13:28:36 +0200 Message-ID: <2026050645-CVE-2026-43200-5a5f@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=4054; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=V9lu4w2476fh7Uh/RgbLM8okk3GN4Q69AU9pHonNHPQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDJm/VTdG3z89d/6JR6ZvszWNUo5LHum4pqabqTMj++d3V s7pau9lOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAi704xLDh913vX1ljLyMfv el58UTvzzk0u5xLDfF/Lb8eij4akT7n/59Ncv4qJYft3HgcA 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: Fix swapped parameters in pci_{primary/secondary}_epc_epf_unlink() functions struct configfs_item_operations callbacks are defined like the following: int (*allow_link)(struct config_item *src, struct config_item *target); void (*drop_link)(struct config_item *src, struct config_item *target); While pci_primary_epc_epf_link() and pci_secondary_epc_epf_link() specify the parameters in the correct order, pci_primary_epc_epf_unlink() and pci_secondary_epc_epf_unlink() specify the parameters in the wrong order, leading to the below kernel crash when using the unlink command in configfs: Unable to handle kernel paging request at virtual address 0000000300000857 Mem abort info: ... pc : string+0x54/0x14c lr : vsnprintf+0x280/0x6e8 ... string+0x54/0x14c vsnprintf+0x280/0x6e8 vprintk_default+0x38/0x4c vprintk+0xc4/0xe0 pci_epf_unbind+0xdc/0x108 configfs_unlink+0xe0/0x208+0x44/0x74 vfs_unlink+0x120/0x29c __arm64_sys_unlinkat+0x3c/0x90 invoke_syscall+0x48/0x134 do_el0_svc+0x1c/0x30prop.0+0xd0/0xf0 [mani: cced stable, changed commit message as per https://lore.kernel.org/linux-pci/aV9joi3jF1R6ca02@ryzen] The Linux kernel CVE team has assigned CVE-2026-43200 to this issue. Affected and fixed versions =========================== Issue introduced in 5.12 with commit e85a2d7837622bd99c96f5bbc7f972da90c285a2 and fixed in 5.15.202 with commit 58686bf62cb38b92e4b28408162a5703775b4d12 Issue introduced in 5.12 with commit e85a2d7837622bd99c96f5bbc7f972da90c285a2 and fixed in 6.1.165 with commit 1c96c1acef4b4a1108fc13f84a8ac0b0633bbb46 Issue introduced in 5.12 with commit e85a2d7837622bd99c96f5bbc7f972da90c285a2 and fixed in 6.6.128 with commit 142b1bba3299264b76ed8ef53cd93b2b2af65d6c Issue introduced in 5.12 with commit e85a2d7837622bd99c96f5bbc7f972da90c285a2 and fixed in 6.12.75 with commit 339191811e6fc4559c4008c5af7a91b05086d596 Issue introduced in 5.12 with commit e85a2d7837622bd99c96f5bbc7f972da90c285a2 and fixed in 6.18.16 with commit 733cbc3aa97e71cc70847e75c925b364cc9b04a6 Issue introduced in 5.12 with commit e85a2d7837622bd99c96f5bbc7f972da90c285a2 and fixed in 6.19.6 with commit aefc0e0bd20f54abe3b501b8798c0be656af272b Issue introduced in 5.12 with commit e85a2d7837622bd99c96f5bbc7f972da90c285a2 and fixed in 7.0 with commit 8754dd7639ab0fd68c3ab9d91c7bdecc3e5740a8 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-43200 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-cfs.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/58686bf62cb38b92e4b28408162a5703775b4d12 https://git.kernel.org/stable/c/1c96c1acef4b4a1108fc13f84a8ac0b0633bbb46 https://git.kernel.org/stable/c/142b1bba3299264b76ed8ef53cd93b2b2af65d6c https://git.kernel.org/stable/c/339191811e6fc4559c4008c5af7a91b05086d596 https://git.kernel.org/stable/c/733cbc3aa97e71cc70847e75c925b364cc9b04a6 https://git.kernel.org/stable/c/aefc0e0bd20f54abe3b501b8798c0be656af272b https://git.kernel.org/stable/c/8754dd7639ab0fd68c3ab9d91c7bdecc3e5740a8