CVE Professor
/
All CVEs
CVE-2026-138855

CVE-2026-138855 — Linux Kernel — NONE Vulnerability

NONE CVSS 0 ⚡ EPSS 0.2% NVD

In the Linux kernel, the following vulnerability has been resolved: xen/pcifront: check that an AER callback exists before calling it pcifront_common_process() handles an AER request from the backend by dispatching on aer_op.cmd to the bound driver's PCI error handler. It only checks that err_handler and err_handler->error_detected are present, then for the mmio_enabled, slot_reset 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 error_detected without all of them. aer_op.cmd comes from the shared ring, so a malicious or buggy backend can send XEN_PCI_OP_aer_mmio (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 mmio_enabled or slot_reset is absent, return PCI_ERS_RESULT_RECOVERED so recovery proceeds, as the PCI core does for a missing callback; returning PCI_ERS_RESULT_NONE would instead make xen-pciback tear the guest domain down.

In the Linux kernel, the following vulnerability has been resolved: xen/pcifront: check that an AER callback exists before calling it pcifront_common_process() handles an AER request from the backend by dispatching on aer_op.cmd to the bound driver's PCI error handler. It only checks that err_handler and err_handler->error_detected are present, then for the mmio_enabled, slot_reset 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 error_detected without all of them. aer_op.cmd comes from the shared ring, so a malicious or buggy backend can send XEN_PCI_OP_aer_mmio (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 mmio_enabled or slot_reset is absent, return PCI_ERS_RESULT_RECOVERED so recovery proceeds, as the PCI core does for a missing callback; returning PCI_ERS_RESULT_NONE would instead make xen-pciback tear the guest domain down.

EPSS — Exploit Prediction Scoring System
0.2%
30-day probability
In the 13. percentile of all CVEs — higher exploitation probability than most vulnerabilities.
AI Security Analysis & Remediation

🎯 What is this vulnerability?

This vulnerability is a NULL Pointer Dereference (CWE-476) in the Linux kernel's Xen PCI frontend driver (xen-pcifront).

Technical Flaw Analysis:
The function pcifront_common_process() in the xen/pcifront subsystem handles Asynchronous Event Request (AER) commands received from the Xen backend (hypervisor or another domain). The code validates the presence of the err_handler structure and the error_detected callback. However, it fails to validate the existence of three optional callbacks:
1. mmio_enabled
2. slot_reset
3. resume

The PCI core in standard Linux environments treats these callbacks as optional and performs individual NULL checks before invocation. However, the Xen frontend code unconditionally calls these callbacks when specific AER commands (XEN_PCI_OP_aer_mmio, XEN_PCI_OP_aer_slotreset, XEN_PCI_OP_aer_resume) are received.

If a driver (such as igb, igc, ice, or ixgbevf) registers an error handler that implements error_detected but leaves the other three callbacks as NULL, and a malicious or buggy backend sends a command targeting one of these missing callbacks, the kernel will attempt to execute a function pointer that is NULL. This results in a kernel panic (crash) within the guest domain.

Note on CVSS: The provided CVSS score is 0/10 (NONE). This is likely a placeholder or error in the source data, as a kernel crash triggered by a backend is typically rated Medium (e.g., 5.5-6.5) due to the availability impact on the guest. The analysis below assumes a realistic impact profile for a guest kernel crash.

⚡ Attack Chain

1. Discovery & Reconnaissance

  • Target Identification: The attacker must have control over a Xen backend (e.g., a malicious hypervisor, a compromised co-tenant domain with backend privileges, or a buggy backend implementation).
  • Vulnerability Check: The attacker identifies that the target guest is running a Linux kernel with the xen-pcifront module loaded and that the guest has a PCI device assigned via Xen (e.g., a virtual NIC using igb or ixgbevf).
  • Driver Fingerprinting: The attacker determines which PCI drivers are active in the guest. If the guest uses a driver known to not implement all AER callbacks (e.g., igb), the attack surface is confirmed.
  • 2. Exploitation

  • Mechanism: The attacker sends a specific AER command via the Xen shared ring to the frontend.
  • Payload: The attacker constructs a XEN_PCI_OP_aer_mmio (or _slotreset/_resume) request.
  • PoC (Illustrative):
  • Note:* Direct exploitation requires access to the Xen backend interface. This is not a network-exploitable vulnerability from an unprivileged remote user. It is a local or hypervisor-level attack. Hypothetical Backend Code (C):*
    // Pseudocode for a malicious/buggy Xen backend
            struct xen_pci_op op = {0};
            op.cmd = XEN_PCI_OP_aer_mmio; // Trigger the vulnerable path
            op.u.aer_mmio.enabled = 1;
            
            // Send to frontend shared ring
            xen_pcifront_send_op(&op);

    Result:* The frontend pcifront_common_process() receives the command. It checks err_handler->error_detected (exists). It then attempts to call err_handler->mmio_enabled (NULL). The kernel dereferences the NULL pointer, causing a page fault and kernel panic.

    3. Post-exploitation

  • Impact: The guest domain crashes (kernel panic).
  • Consequence: Denial of Service (DoS) for the guest. The guest must be restarted by the hypervisor or administrator.
  • No RCE: This vulnerability does not lead to arbitrary code execution or privilege escalation. It is strictly a crash vector.
  • 🌍 Real World Impact

  • Confidentiality: None. The crash does not leak memory contents directly to the attacker.
  • Integrity: None. The guest state is lost, but no data is corrupted in a way that benefits the attacker.
  • Availability: High (for the guest). A malicious or buggy backend can repeatedly crash the guest, causing a persistent Denial of Service.
  • Practical Consequences:
  • * Multi-tenant Cloud Environments: If an attacker compromises a co-tenant domain that has backend privileges (rare but possible in misconfigured setups) or if the hypervisor itself is buggy, they can crash other guests. * Buggy Backends: A non-malicious but buggy backend implementation could inadvertently send these commands, causing unexpected guest crashes. * Security Isolation: This breaks the isolation guarantee between the backend and the frontend, allowing the backend to destabilize the guest kernel.

    🛡️ Remediation & Mitigation

    1. Patching

  • Affected Versions: Linux kernel versions prior to the fix commit 5d4bc31697522641c67cdb36d8bcc894221c72bb. The description mentions 2.6.37 as an affected version, but this is likely a reference to the initial introduction or a specific backport context. Modern kernels (4.x, 5.x, 6.x) are affected if they contain the vulnerable pcifront_common_process() logic.
  • Upgrade: Update the Linux kernel to a version that includes the patch. The patch adds explicit NULL checks for mmio_enabled, slot_reset, and resume callbacks before invocation.
  • Patch Logic:*
    if (err_handler->mmio_enabled)
                result = err_handler->mmio_enabled(dev, enabled);
            else
                result = PCI_ERS_RESULT_RECOVERED;

    2. Workarounds

  • Disable Xen PCI Passthrough: If PCI passthrough is not required, disable the xen-pcifront module or remove PCI devices from the guest configuration.
  • Backend Hardening: Ensure that Xen backends (e.g., xen-pciback) are patched and do not send AER commands to devices that do not support them.
  • Driver Selection: Use PCI drivers that fully implement all AER callbacks (if available) to avoid the NULL pointer path, though this is not a reliable mitigation as the vulnerability is in the frontend's lack of checks.
  • 3. Detection

  • Kernel Logs: Monitor guest kernel logs for BUG: unable to handle kernel NULL pointer dereference in the context of pcifront_common_process or xen-pcifront.
  • Hypervisor Logs: Monitor Xen hypervisor logs for unexpected AER command sequences from backends.
  • IoCs:
  • * Guest kernel panic messages referencing pcifront_common_process. * Unexplained guest reboots in Xen environments.

    ⚠️ Urgency

    CVSS Score: 0/10 (Provided) – Note: This is likely incorrect. A realistic score would be 5.5 (Medium) or 6.5 (Medium) depending on the attack vector (Local vs. Adjacent).*

  • CISA KEV: No.

  • Exploit Complexity: High. Requires control over the Xen backend or a buggy backend. Not remotely exploitable from the network.

  • Patching Priority: Medium.

* Critical if you are running a multi-tenant Xen environment where tenants can influence backend behavior.
* Low/Medium for single-tenant environments where the hypervisor is trusted and backends are stable.
* Recommendation: Patch during the next regular kernel update cycle. Do not rush unless you have a specific threat model involving untrusted backends.

[🤖 CVE Professor AI Security Engine]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="Linux Linux"
CVSS Score
0 / 10 · CVSS NONE
Affected Products (2)
Linux Kernel (commit: 5d4bc31697) Linux Kernel (2.6.37)
Related CVEs
9.4
CVE-2026-129109
Calico installations managed by the Tigera Operator install a FlexVolume driver (nodeagent~uds/uds) on every L
8.8
CVE-2026-105101
An OS command injection vulnerability in the ping diagnostic function (InternetState.java) in Elinktek UZ801 4
8.8
CVE-2026-118966
A missing authentication vulnerability in the SSH server of Nokia SR Linux allows an unauthenticated attacker
8.7
CVE-2026-145182
Mullvad gotatun 0.1.0 before 0.10.1 contains a denial of service vulnerability that allows unauthenticated rem
0.0
CVE-2026-132063
The 2C2P Redirect API for WooCommerce WordPress plugin through 7.0.3 does not stop processing a payment callba
0.0
CVE-2026-140849
Multiple malformed-packet handling vulnerabilities exist in a number of Nokia SR OS control-plane protocols (B
0.0
CVE-2026-141072
Rejected reason: Not a valid vulnerability.