{"id":"CVE-2026-138855","aliases":["CVE-2026-138855"],"related":[],"kind":"vulnerability","state":"published","title":"xen/pcifront: check that an AER callback exists before calling it","summary":"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->error_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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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->error_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.","source":"cvelist"}],"published":"2026-11-30T13:25:36.723Z","modified":"2026-11-30T14:17:41.560Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"956a9202cd1220397933a07beda9f96b3df1fa24","fixed":"5d4bc31697522641c67cdb36d8bcc894221c72bb","status":"affected"},{"type":"git","introduced":"956a9202cd1220397933a07beda9f96b3df1fa24","fixed":"775ef9c6f0323f84de8c111e31cdb68e5fa2fd4f","status":"affected"},{"type":"git","introduced":"956a9202cd1220397933a07beda9f96b3df1fa24","fixed":"c2acdd425096223983e588f55b7c23a26cee8246","status":"affected"},{"type":"git","introduced":"956a9202cd1220397933a07beda9f96b3df1fa24","fixed":"d2910fe96d6c82f77b9138aa117bad132c614ee7","status":"affected"},{"type":"git","introduced":"956a9202cd1220397933a07beda9f96b3df1fa24","fixed":"a2d3398e3a67d0bab64e16fc72b4ee460c275f92","status":"affected"},{"type":"git","introduced":"956a9202cd1220397933a07beda9f96b3df1fa24","fixed":"01ed474a52876987c60689af1501a5824e87836d","status":"affected"},{"type":"git","introduced":"956a9202cd1220397933a07beda9f96b3df1fa24","fixed":"5e3df51d4699300f8cf5f30c84ee5944a4b87e40","status":"affected"},{"type":"git","introduced":"956a9202cd1220397933a07beda9f96b3df1fa24","fixed":"3b4854b69ee70fffb2fa7acac09e715a7efcbae1","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.37","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.37","status":"unaffected"},{"type":"semver","introduced":"5.10.275","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.226","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.117","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.63","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.4","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/5d4bc31697522641c67cdb36d8bcc894221c72bb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/775ef9c6f0323f84de8c111e31cdb68e5fa2fd4f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c2acdd425096223983e588f55b7c23a26cee8246","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d2910fe96d6c82f77b9138aa117bad132c614ee7","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a2d3398e3a67d0bab64e16fc72b4ee460c275f92","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/01ed474a52876987c60689af1501a5824e87836d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5e3df51d4699300f8cf5f30c84ee5944a4b87e40","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3b4854b69ee70fffb2fa7acac09e715a7efcbae1","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-138855","url":"https://www.cve.org/CVERecord?id=CVE-2026-138855","licence":"CVE Terms of Use","modified":"2026-11-30T13:25:36.723Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-138855","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138855","licence":"Public domain","modified":"2026-11-30T14:17:41.560Z"}],"updatedAt":"2026-11-30T14:32:22.398Z","epss":{"score":0.00221,"percentile":0.13458,"date":"2026-12-01T12:00:22.000Z"}}