CVE-2026-138855: xen/pcifront: check that an AER callback exists before calling it

Published Nov 30, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

xen/pcifront: check that an AER callback exists before calling it

pcifrontcommonprocess() handles an AER request from the backend by dispatching on aerop.cmd to the bound driver's PCI error handler. It only checks that errhandler and errhandler->errordetected are present, then for the mmioenabled, slotreset and resume commands it calls the corresponding callback unconditionally. Those three callbacks are optional -- the PCI core NULL-checks each of them individually before use -- and many drivers (for example igb, igc, ice and ixgbevf) install errordetected without all of them.

aerop.cmd comes from the shared ring, so a malicious or buggy backend can send XENPCIOPaermmio (or slotreset/resume) for a device whose driver leaves that callback NULL and make the frontend call through a NULL pointer, crashing the guest.

Check each callback before calling it. When mmioenabled or slotreset is absent, return PCIERSRESULTRECOVERED so recovery proceeds, as the PCI core does for a missing callback; returning PCIERSRESULTNONE would instead make xen-pciback tear the guest domain down.

Affected Software

1 affected component
Linux Linux kernel

Event History

Nov 30, 2026
CVE Published
via MITRE·01:25 PM
Data Sourced
via MITRE·01:25 PM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203