{"id":"CVE-2026-43211","aliases":["CVE-2026-43211"],"related":[],"kind":"vulnerability","state":"published","title":"PCI: Fix pci_slot_trylock() error handling","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nPCI: Fix pci_slot_trylock() error handling\n\nCommit a4e772898f8b (\"PCI: Add missing bridge lock to pci_bus_lock()\")\ndelegates the bridge device's pci_dev_trylock() to pci_bus_trylock() in\npci_slot_trylock(), but it forgets to remove the corresponding\npci_dev_unlock() when pci_bus_trylock() fails.\n\nBefore a4e772898f8b, the code did:\n\n  if (!pci_dev_trylock(dev)) /* <- lock bridge device */\n    goto unlock;\n  if (dev->subordinate) {\n    if (!pci_bus_trylock(dev->subordinate)) {\n      pci_dev_unlock(dev);   /* <- unlock bridge device */\n      goto unlock;\n    }\n  }\n\nAfter a4e772898f8b the bridge-device lock is no longer taken, but the\npci_dev_unlock(dev) on the failure path was left in place, leading to the\nbug.\n\nThis yields one of two errors:\n\n  1. A warning that the lock is being unlocked when no one holds it.\n  2. An incorrect unlock of a lock that belongs to another thread.\n\nFix it by removing the now-redundant pci_dev_unlock(dev) on the failure\npath.\n\n[Same patch later posted by Keith at\nhttps://patch.msgid.link/20260116184150.3013258-1-kbusch@meta.com]","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nPCI: Fix pci_slot_trylock() error handling\n\nCommit a4e772898f8b (\"PCI: Add missing bridge lock to pci_bus_lock()\")\ndelegates the bridge device's pci_dev_trylock() to pci_bus_trylock() in\npci_slot_trylock(), but it forgets to remove the corresponding\npci_dev_unlock() when pci_bus_trylock() fails.\n\nBefore a4e772898f8b, the code did:\n\n  if (!pci_dev_trylock(dev)) /* <- lock bridge device */\n    goto unlock;\n  if (dev->subordinate) {\n    if (!pci_bus_trylock(dev->subordinate)) {\n      pci_dev_unlock(dev);   /* <- unlock bridge device */\n      goto unlock;\n    }\n  }\n\nAfter a4e772898f8b the bridge-device lock is no longer taken, but the\npci_dev_unlock(dev) on the failure path was left in place, leading to the\nbug.\n\nThis yields one of two errors:\n\n  1. A warning that the lock is being unlocked when no one holds it.\n  2. An incorrect unlock of a lock that belongs to another thread.\n\nFix it by removing the now-redundant pci_dev_unlock(dev) on the failure\npath.\n\n[Same patch later posted by Keith at\nhttps://patch.msgid.link/20260116184150.3013258-1-kbusch@meta.com]","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nPCI: Corrección del manejo de errores de pci_slot_trylock()\n\nEl commit a4e772898f8b (’PCI: Add missing bridge lock to pci_bus_lock()’) delega el pci_dev_trylock() del dispositivo puente a pci_bus_trylock() en pci_slot_trylock(), pero olvida eliminar el pci_dev_unlock() correspondiente cuando pci_bus_trylock() falla.\n\nAntes de a4e772898f8b, el código hacía:\n\n  if (!pci_dev_trylock(dev)) /*   <-   bloquea el dispositivo puente */\n    goto unlock;\n  if (dev  ->  subordinate) {\n    if (!pci_bus_trylock(dev  ->  subordinate)) {\n      pci_dev_unlock(dev);   /*   <-   desbloquea el dispositivo puente */\n      goto unlock;\n    }\n  }\n\nDespués de a4e772898f8b, el bloqueo del dispositivo puente ya no se toma, pero el pci_dev_unlock(dev) en la ruta de fallo se dejó en su lugar, lo que llevó al error.\n\nEsto produce uno de dos errores:\n\n  1. Una advertencia de que el bloqueo se está desbloqueando cuando nadie lo posee.\n  2. Un desbloqueo incorrecto de un bloqueo que pertenece a otro hilo.\n\nCorríjalo eliminando el pci_dev_unlock(dev) ahora redundante en la ruta de fallo.\n\n[Mismo parche publicado posteriormente por Keith en https://patch.msgid.link/20260116184150.3013258-1-kbusch@meta.com]","source":"nvd"}],"published":"2026-05-06T11:28:14.423Z","modified":"2026-11-11T20:10:00.273Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-667"],"affected":[{"ranges":[{"type":"git","introduced":"e2355d513b89a2cb511b4ded0deb426cdb01acd0","fixed":"ebb27b7399ab8b9eb1f792b329aa5f6250c590d4","status":"affected"},{"type":"git","introduced":"04e85a3285b0e5c5af6fd2c0fd6e95ffecc01945","fixed":"fbe06a3058114bf95a17a4941b205f4b321c6f0a","status":"affected"},{"type":"git","introduced":"7253b4fed46471cc247c6cacefac890a8472c083","fixed":"943ed56606a7ab2fe5a99cad572dd17d484310c7","status":"affected"},{"type":"git","introduced":"78c6e39fef5c428960aff742149bba302dd46f5a","fixed":"a19b61fdb958ffadbba85b43c991eb9fc70c1c1c","status":"affected"},{"type":"git","introduced":"a4e772898f8bf2e7e1cf661a12c60a5612c4afab","fixed":"0425aaf20b407d2f2cf3bf469808e4a35f9abb8b","status":"affected"},{"type":"git","introduced":"a4e772898f8bf2e7e1cf661a12c60a5612c4afab","fixed":"bd435f4b738130d732ef64e0e57e45185f77165d","status":"affected"},{"type":"git","introduced":"a4e772898f8bf2e7e1cf661a12c60a5612c4afab","fixed":"8b08ea9690b212b7bf7f12414039259cf34b1aa0","status":"affected"},{"type":"git","introduced":"a4e772898f8bf2e7e1cf661a12c60a5612c4afab","fixed":"9368d1ee62829b08aa31836b3ca003803caf0b72","status":"affected"},{"type":"git","version":"0790b89c7e911003b8c50ae50e3ac7645de1fae9","status":"affected"},{"type":"git","version":"df77a678c33871a6e4ac5b54a71662f1d702335b","status":"affected"},{"type":"git","version":"81c68e218ab883dfa368460a59b674084c0240da","status":"affected"},{"type":"semver","introduced":"5.10.226","fixed":"5.10.252","status":"affected"},{"type":"semver","introduced":"5.15.167","fixed":"5.15.202","status":"affected"},{"type":"semver","introduced":"6.1.110","fixed":"6.1.165","status":"affected"},{"type":"semver","introduced":"6.6.51","fixed":"6.6.128","status":"affected"},{"type":"semver","introduced":"4.19.322","fixed":"4.20","status":"affected"},{"type":"semver","introduced":"5.4.284","fixed":"5.5","status":"affected"},{"type":"semver","introduced":"6.10.10","fixed":"6.11","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.11","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.11","status":"unaffected"},{"type":"semver","introduced":"5.10.252","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.202","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.165","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.128","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.75","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.16","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.6","lastAffected":"6.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.19.322","fixed":"4.20"},{"status":"affected","introduced":"5.4.284","fixed":"5.5"},{"status":"affected","introduced":"5.10.226","fixed":"5.10.252"},{"status":"affected","introduced":"5.15.167","fixed":"5.15.202"},{"status":"affected","introduced":"6.1.110","fixed":"6.1.165"},{"status":"affected","introduced":"6.6.51","fixed":"6.6.128"},{"status":"affected","introduced":"6.10.10","fixed":"6.12.75"},{"status":"affected","introduced":"6.13","fixed":"6.18.16"},{"status":"affected","introduced":"6.19","fixed":"6.19.6"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/ebb27b7399ab8b9eb1f792b329aa5f6250c590d4","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fbe06a3058114bf95a17a4941b205f4b321c6f0a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/943ed56606a7ab2fe5a99cad572dd17d484310c7","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a19b61fdb958ffadbba85b43c991eb9fc70c1c1c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0425aaf20b407d2f2cf3bf469808e4a35f9abb8b","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bd435f4b738130d732ef64e0e57e45185f77165d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8b08ea9690b212b7bf7f12414039259cf34b1aa0","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9368d1ee62829b08aa31836b3ca003803caf0b72","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-16T15:15:46.430Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-43211","url":"https://www.cve.org/CVERecord?id=CVE-2026-43211","licence":"CVE Terms of Use","modified":"2026-10-19T19:16:24.271Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-43211","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-43211","licence":"Public domain","modified":"2026-11-11T20:10:00.273Z"}],"updatedAt":"2026-11-25T22:59:20.731Z","epss":{"score":0.00107,"percentile":0.01267,"date":"2026-12-01T12:00:22.000Z"}}