{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "956a9202cd1220397933a07beda9f96b3df1fa24"
            },
            {
              "fixed": "5d4bc31697522641c67cdb36d8bcc894221c72bb"
            },
            {
              "fixed": "775ef9c6f0323f84de8c111e31cdb68e5fa2fd4f"
            },
            {
              "fixed": "c2acdd425096223983e588f55b7c23a26cee8246"
            },
            {
              "fixed": "d2910fe96d6c82f77b9138aa117bad132c614ee7"
            },
            {
              "fixed": "a2d3398e3a67d0bab64e16fc72b4ee460c275f92"
            },
            {
              "fixed": "01ed474a52876987c60689af1501a5824e87836d"
            },
            {
              "fixed": "5e3df51d4699300f8cf5f30c84ee5944a4b87e40"
            },
            {
              "fixed": "3b4854b69ee70fffb2fa7acac09e715a7efcbae1"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "2.6.37"
            },
            {
              "fixed": "5.10.275"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.226"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.193"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.163"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.117"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.63"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138855.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nxen/pcifront: check that an AER callback exists before calling it\n\npcifront_common_process() handles an AER request from the backend by\ndispatching on aer_op.cmd to the bound driver's PCI error handler.  It\nonly checks that err_handler and err_handler-\u003eerror_detected are present,\nthen for the mmio_enabled, slot_reset and resume commands it calls the\ncorresponding callback unconditionally.  Those three callbacks are\noptional -- the PCI core NULL-checks each of them individually before\nuse -- and many drivers (for example igb, igc, ice and ixgbevf) install\nerror_detected without all of them.\n\naer_op.cmd comes from the shared ring, so a malicious or buggy backend\ncan send XEN_PCI_OP_aer_mmio (or _slotreset/_resume) for a device whose\ndriver leaves that callback NULL and make the frontend call through a\nNULL pointer, crashing the guest.\n\nCheck each callback before calling it.  When mmio_enabled or slot_reset is\nabsent, return PCI_ERS_RESULT_RECOVERED so recovery proceeds, as the PCI\ncore does for a missing callback; returning PCI_ERS_RESULT_NONE would\ninstead make xen-pciback tear the guest domain down.",
  "id": "CVE-2026-138855",
  "modified": "2026-11-30T14:45:45.309972800Z",
  "published": "2026-11-30T13:25:36.723Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/01ed474a52876987c60689af1501a5824e87836d"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/3b4854b69ee70fffb2fa7acac09e715a7efcbae1"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/5d4bc31697522641c67cdb36d8bcc894221c72bb"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/5e3df51d4699300f8cf5f30c84ee5944a4b87e40"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/775ef9c6f0323f84de8c111e31cdb68e5fa2fd4f"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/a2d3398e3a67d0bab64e16fc72b4ee460c275f92"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/c2acdd425096223983e588f55b7c23a26cee8246"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/d2910fe96d6c82f77b9138aa117bad132c614ee7"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138855.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-138855"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "xen/pcifront: check that an AER callback exists before calling it"
}