CVE-2026-43200
JSON

5.5medium

PCI: endpoint: Fix swapped parameters in pci_{primary/secondary}_epc_epf_unlink() functions

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.12% (higher than 2% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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]

Affected

Product or packageVersionsReported by
Linux Linuxfrom e85a2d7837622bd99c96f5bbc7f972da90c285a2 before 58686bf62cb38b92e4b28408162a5703775b4d12, from e85a2d7837622bd99c96f5bbc7f972da90c285a2 before 1c96c1acef4b4a1108fc13f84a8ac0b0633bbb46, from e85a2d7837622bd99c96f5bbc7f972da90c285a2 before 142b1bba3299264b76ed8ef53cd93b2b2af65d6c, from e85a2d7837622bd99c96f5bbc7f972da90c285a2 before 339191811e6fc4559c4008c5af7a91b05086d596, from e85a2d7837622bd99c96f5bbc7f972da90c285a2 before 733cbc3aa97e71cc70847e75c925b364cc9b04a6, from e85a2d7837622bd99c96f5bbc7f972da90c285a2 before aefc0e0bd20f54abe3b501b8798c0be656af272b, from e85a2d7837622bd99c96f5bbc7f972da90c285a2 before 8754dd7639ab0fd68c3ab9d91c7bdecc3e5740a8, 5.12
Not affected: before 5.12, from 5.15.202 up to 5.15.*, from 6.1.165 up to 6.1.*, from 6.6.128 up to 6.6.*, from 6.12.75 up to 6.12.*, from 6.18.16 up to 6.18.*
CVE List
linux linux_kernelfrom 5.12 before 5.15.202, from 5.16 before 6.1.165, from 6.2 before 6.6.128, from 6.7 before 6.12.75, from 6.13 before 6.18.16, from 6.19 before 6.19.6NVD

What each source says

CVE List

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]

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: PCI: endpoint: Corrección de parámetros intercambiados en las funciones pci_{primary/secondary}_epc_epf_unlink() Las devoluciones de llamada de struct configfs_item_operations se definen de la siguiente manera: int (allow_link)(struct config_item src, struct config_item target); void (drop_link)(struct config_item src, struct config_item target); Mientras que pci_primary_epc_epf_link() y pci_secondary_epc_epf_link() especifican los parámetros en el orden correcto, pci_primary_epc_epf_unlink() y pci_secondary_epc_epf_unlink() especifican los parámetros en el orden incorrecto, lo que lleva al siguiente fallo del kernel al usar el comando unlink en configfs: No se puede manejar la solicitud de paginación del kernel en la dirección virtual 0000000300000857 Información de aborto de memoria: ... 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: con copia a stable, se cambió el mensaje de commit según https://lore.kernel.org/linux-pci/aV9joi3jF1R6ca02@ryzen]

References

Sources

SourceRecordLicence
CVE ListCVE-2026-43200 changed 2026-05-11CVE Terms of Use
NVDCVE-2026-43200 changed 2026-11-11Public domain