{"id":"CVE-2026-43200","state":"PUBLISHED","title":"PCI: endpoint: Fix swapped parameters in pci_{primary/secondary}_epc_epf_unlink() functions","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nPCI: endpoint: Fix swapped parameters in pci_{primary/secondary}_epc_epf_unlink() functions\n\nstruct configfs_item_operations callbacks are defined like the following:\n\n  int (*allow_link)(struct config_item *src, struct config_item *target);\n  void (*drop_link)(struct config_item *src, struct config_item *target);\n\nWhile pci_primary_epc_epf_link() and pci_secondary_epc_epf_link() specify\nthe parameters in the correct order, pci_primary_epc_epf_unlink() and\npci_secondary_epc_epf_unlink() specify the parameters in the wrong order,\nleading to the below kernel crash when using the unlink command in\nconfigfs:\n\n  Unable to handle kernel paging request at virtual address 0000000300000857\n  Mem abort info:\n  ...\n  pc : string+0x54/0x14c\n  lr : vsnprintf+0x280/0x6e8\n  ...\n  string+0x54/0x14c\n  vsnprintf+0x280/0x6e8\n  vprintk_default+0x38/0x4c\n  vprintk+0xc4/0xe0\n  pci_epf_unbind+0xdc/0x108\n  configfs_unlink+0xe0/0x208+0x44/0x74\n  vfs_unlink+0x120/0x29c\n  __arm64_sys_unlinkat+0x3c/0x90\n  invoke_syscall+0x48/0x134\n  do_el0_svc+0x1c/0x30prop.0+0xd0/0xf0\n\n[mani: cced stable, changed commit message as per https://lore.kernel.org/linux-pci/aV9joi3jF1R6ca02@ryzen]","publishedAt":"2026-05-06T11:28:06.904Z","updatedAt":"2026-05-11T22:19:49.591Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"e85a2d7837622bd99c96f5bbc7f972da90c285a2","status":"affected","lessThan":"58686bf62cb38b92e4b28408162a5703775b4d12","versionType":"git"},{"version":"e85a2d7837622bd99c96f5bbc7f972da90c285a2","status":"affected","lessThan":"1c96c1acef4b4a1108fc13f84a8ac0b0633bbb46","versionType":"git"},{"version":"e85a2d7837622bd99c96f5bbc7f972da90c285a2","status":"affected","lessThan":"142b1bba3299264b76ed8ef53cd93b2b2af65d6c","versionType":"git"},{"version":"e85a2d7837622bd99c96f5bbc7f972da90c285a2","status":"affected","lessThan":"339191811e6fc4559c4008c5af7a91b05086d596","versionType":"git"},{"version":"e85a2d7837622bd99c96f5bbc7f972da90c285a2","status":"affected","lessThan":"733cbc3aa97e71cc70847e75c925b364cc9b04a6","versionType":"git"},{"version":"e85a2d7837622bd99c96f5bbc7f972da90c285a2","status":"affected","lessThan":"aefc0e0bd20f54abe3b501b8798c0be656af272b","versionType":"git"},{"version":"e85a2d7837622bd99c96f5bbc7f972da90c285a2","status":"affected","lessThan":"8754dd7639ab0fd68c3ab9d91c7bdecc3e5740a8","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/pci/endpoint/pci-ep-cfs.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.12","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.12","versionType":"semver"},{"version":"5.15.202","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.165","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.128","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.75","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.16","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19.6","status":"unaffected","lessThanOrEqual":"6.19.*","versionType":"semver"},{"version":"7.0","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/pci/endpoint/pci-ep-cfs.c"]}],"references":["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"],"weaknesses":[],"ingestedAt":"2026-10-29T20:11:57.932Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/43xxx/CVE-2026-43200.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-43200","state":"PUBLISHED","datePublished":"2026-05-06T11:28:06.904Z","dateUpdated":"2026-05-11T22:19:49.591Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-05-01T14:12:55.992Z"},"containers":{"cna":{"title":"PCI: endpoint: Fix swapped parameters in pci_{primary/secondary}_epc_epf_unlink() functions","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nPCI: endpoint: Fix swapped parameters in pci_{primary/secondary}_epc_epf_unlink() functions\n\nstruct configfs_item_operations callbacks are defined like the following:\n\n  int (*allow_link)(struct config_item *src, struct config_item *target);\n  void (*drop_link)(struct config_item *src, struct config_item *target);\n\nWhile pci_primary_epc_epf_link() and pci_secondary_epc_epf_link() specify\nthe parameters in the correct order, pci_primary_epc_epf_unlink() and\npci_secondary_epc_epf_unlink() specify the parameters in the wrong order,\nleading to the below kernel crash when using the unlink command in\nconfigfs:\n\n  Unable to handle kernel paging request at virtual address 0000000300000857\n  Mem abort info:\n  ...\n  pc : string+0x54/0x14c\n  lr : vsnprintf+0x280/0x6e8\n  ...\n  string+0x54/0x14c\n  vsnprintf+0x280/0x6e8\n  vprintk_default+0x38/0x4c\n  vprintk+0xc4/0xe0\n  pci_epf_unbind+0xdc/0x108\n  configfs_unlink+0xe0/0x208+0x44/0x74\n  vfs_unlink+0x120/0x29c\n  __arm64_sys_unlinkat+0x3c/0x90\n  invoke_syscall+0x48/0x134\n  do_el0_svc+0x1c/0x30prop.0+0xd0/0xf0\n\n[mani: cced stable, changed commit message as per https://lore.kernel.org/linux-pci/aV9joi3jF1R6ca02@ryzen]"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"e85a2d7837622bd99c96f5bbc7f972da90c285a2","status":"affected","lessThan":"58686bf62cb38b92e4b28408162a5703775b4d12","versionType":"git"},{"version":"e85a2d7837622bd99c96f5bbc7f972da90c285a2","status":"affected","lessThan":"1c96c1acef4b4a1108fc13f84a8ac0b0633bbb46","versionType":"git"},{"version":"e85a2d7837622bd99c96f5bbc7f972da90c285a2","status":"affected","lessThan":"142b1bba3299264b76ed8ef53cd93b2b2af65d6c","versionType":"git"},{"version":"e85a2d7837622bd99c96f5bbc7f972da90c285a2","status":"affected","lessThan":"339191811e6fc4559c4008c5af7a91b05086d596","versionType":"git"},{"version":"e85a2d7837622bd99c96f5bbc7f972da90c285a2","status":"affected","lessThan":"733cbc3aa97e71cc70847e75c925b364cc9b04a6","versionType":"git"},{"version":"e85a2d7837622bd99c96f5bbc7f972da90c285a2","status":"affected","lessThan":"aefc0e0bd20f54abe3b501b8798c0be656af272b","versionType":"git"},{"version":"e85a2d7837622bd99c96f5bbc7f972da90c285a2","status":"affected","lessThan":"8754dd7639ab0fd68c3ab9d91c7bdecc3e5740a8","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/pci/endpoint/pci-ep-cfs.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.12","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.12","versionType":"semver"},{"version":"5.15.202","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.165","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.128","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.75","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.16","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"6.19.6","status":"unaffected","lessThanOrEqual":"6.19.*","versionType":"semver"},{"version":"7.0","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/pci/endpoint/pci-ep-cfs.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/58686bf62cb38b92e4b28408162a5703775b4d12"},{"url":"https://git.kernel.org/stable/c/1c96c1acef4b4a1108fc13f84a8ac0b0633bbb46"},{"url":"https://git.kernel.org/stable/c/142b1bba3299264b76ed8ef53cd93b2b2af65d6c"},{"url":"https://git.kernel.org/stable/c/339191811e6fc4559c4008c5af7a91b05086d596"},{"url":"https://git.kernel.org/stable/c/733cbc3aa97e71cc70847e75c925b364cc9b04a6"},{"url":"https://git.kernel.org/stable/c/aefc0e0bd20f54abe3b501b8798c0be656af272b"},{"url":"https://git.kernel.org/stable/c/8754dd7639ab0fd68c3ab9d91c7bdecc3e5740a8"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T22:19:49.591Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.12","versionEndExcluding":"5.15.202"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.12","versionEndExcluding":"6.1.165"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.12","versionEndExcluding":"6.6.128"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.12","versionEndExcluding":"6.12.75"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.12","versionEndExcluding":"6.18.16"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.12","versionEndExcluding":"6.19.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.12","versionEndExcluding":"7.0"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}