CVE-2026-99155

scsi: xen/scsifront: Check for a NULL shadow entry on a backend response

Published Oct 28, 2026 CVSS 3.1 · 4.4 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

scsi: xen/scsifront: Check for a NULL shadow entry on a backend response

scsifront_do_response() validates the rqid in a backend response against
VSCSIIF_MAX_REQS before using it to index info->shadow[], but then
dereferences the entry to test ->inflight without checking that the slot
is populated. Shadow slots are NULL before a command is submitted (the
host private area is zeroed at allocation) and are reset to NULL in
_scsifront_put_rqid() once a request completes, so an in-range rqid that
does not correspond to an outstanding request makes the frontend
dereference a NULL pointer.

A malicious or buggy backend can thus crash the guest by returning a
response whose rqid is in range but not in flight -- for example a
spurious response before any command has been issued, or a duplicate of
one already completed. The ring has only VSCSIIF_MAX_REQS (16) slots,
so before the first command every in-range rqid selects a NULL slot.

Reject a response whose shadow slot is not populated.

Analysis

AI-generated

Technical impact

In the Linux kernel, an unchecked NULL pointer dereference can occur in the scsi xen/scsifront driver when a backend sends a response with an in‑range request ID that is not actually in flight. The driver validates the request ID against the maximum, but does not confirm that the corresponding shadow slot is populated before accessing the slot’s ‘inflight’ flag. A NULL entry leads to a kernel crash, which in a guest OS results in a denial of service for that guest. This flaw can be triggered by a malicious or buggy backend that returns spurious, duplicate, or out‑of‑sequence responses. The likely attack vector is a compromised or misbehaving backend interface, either through a malicious pod that controls the backend or by software errors that produce bad responses. The exploit does not require local privilege escalation on the guest; the vulnerability is triggered by the backend response, so control over the backend or the ability to inject such responses presents the primary condition for exploitation. The impact is an untrusted backend causing a forced crash of the front end, effectively rendering the guest or the entire host session unstable. Because the ring has only 16 slots, during system startup or prior to any legitimate I/O initialisation, any in‑range request ID is most likely NULL, making the flaw possibly exploitable at boot or during early operation.

Affected Systems

This issue affects Linux kernel releases that compile the xen scsi front‑end code; the excerpt is from the Linux kernel source itself. No specific kernel version range is given, but all builds that include the scsi xen/scsifront driver are potentially impacted unless the patch was applied upstream.

Risk and Exploitability

The EPSS score of 0.187% indicates a very low probability of exploitation in the wild, and the vulnerability is not currently listed in CISA’s KEV catalog. The CVSS score of 4.4 reflects a low‑to‑moderate severity because the flaw can cause a crash without privilege escalation or user interaction. An attacker would need to send crafted responses from a backend that is able to communicate with the xen scsi front end, a situation typical only when the hypervisor or VMM is compromised or misconfigured. Consequently, the practical threat level is low for well‑secured environments but higher in deployments where the backend and frontend separation is not strictly enforced or where the virtualization layer is exposed to untrusted components.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a release that includes the scsi: xen/scsifront NULL check patch from the kernel tree. This patch validates the shadow slot before dereferencing, eliminating the crash.
  • If an immediate kernel update is not available, restrict or authenticate backend communication so that only trusted backends can send scsi responses to the guest. Disabling or sandboxing rogue backends reduces the chance of malicious response injection.
  • Monitor system logs for scsi frontend crashes and set alerts for kernel oops or panics. Prompt detection allows rapid response and rollback if a compromised backend is discovered.

Generated by OpenCVE AI on November 2, 2026 at 01:54 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4904-1 linux-6.12 security update
Debian DLA Debian DLA DLA-4906-1 linux security update
History
Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 4.4, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
First Time appeared Linux linux
Vendors & Products Linux linux
Type Values Removed Values Added
Weaknesses CWE-476
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: scsi: xen/scsifront: Check for a NULL shadow entry on a backend response scsifront_do_response() validates the rqid in a backend response against VSCSIIF_MAX_REQS before using it to index info->shadow[], but then dereferences the entry to test ->inflight without checking that the slot is populated. Shadow slots are NULL before a command is submitted (the host private area is zeroed at allocation) and are reset to NULL in _scsifront_put_rqid() once a request completes, so an in-range rqid that does not correspond to an outstanding request makes the frontend dereference a NULL pointer. A malicious or buggy backend can thus crash the guest by returning a response whose rqid is in range but not in flight -- for example a spurious response before any command has been issued, or a duplicate of one already completed. The ring has only VSCSIIF_MAX_REQS (16) slots, so before the first command every in-range rqid selects a NULL slot. Reject a response whose shadow slot is not populated.
Title scsi: xen/scsifront: Check for a NULL shadow entry on a backend response
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 30, 2026, 12:42 PM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Oct 28, 2026, 11:17 AM
Modified
Oct 30, 2026, 1:21 PM
Severity
Moderate
Public date
Oct 28, 2026, 10:35 AM