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.
Published: 2026-10-28
Score: n/a
EPSS: n/a
KEV: No
Impact: Denial of Service
Action: Apply patch
AI Analysis

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

No EPSS score is available for this vulnerability, and it is not listed in CISA’s KEV catalog, suggesting limited public exploitation activity to date. Nonetheless, the flaw carries a high severity because it leads to a crash without privilege escalation or user interaction. The exploit would require an adversary who can send crafted responses to the xen scsi front end, which is typically limited to trusted hypervisor components. Therefore, the practical threat level is moderate to high for environments where the backend and frontend separation is not strictly enforced or where the virtualization layer may be compromised.

Generated by OpenCVE AI on October 28, 2026 at 12:04 UTC.

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 October 28, 2026 at 12:04 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 28 Oct 2026 12:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-476

Wed, 28 Oct 2026 10:45:00 +0000

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

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-28T10:35:09.733Z

Reserved: 2026-09-25T10:25:14.397Z

Link: CVE-2026-99155

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-28T11:17:35.687

Modified: 2026-10-28T11:17:35.687

Link: CVE-2026-99155

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-28T12:15:14Z

Weaknesses