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

CVE-2026-99155
Not available

At a glance

Source
NVD
EPSS
EPSS 0.22 % · percentile 14 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
Affected products
Linux · Linux
NVD status
Received

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.

References

European references

CERT-FR advisories

Affected products

ProductAffected versions
Linux · Linux
affected : ≥ 6d1c2f48f3fcf5f42967938c8ba6b42ac6b44b43 < 448b9a8b530b753d346dab10add09a502fc719a4
affected : ≥ 6d1c2f48f3fcf5f42967938c8ba6b42ac6b44b43 < e397d4da76bed72db6ac4a0848fb6217f8394dca
affected : ≥ 6d1c2f48f3fcf5f42967938c8ba6b42ac6b44b43 < 90186a2354821329a27d92b266c0f05e8f4f637c
affected : ≥ 6d1c2f48f3fcf5f42967938c8ba6b42ac6b44b43 < 1d91ec793d6c80eca963d426e0da832d40a062df
affected : ≥ 6d1c2f48f3fcf5f42967938c8ba6b42ac6b44b43 < 15791e57f57f7050014d08cfe239d4aa1e6b94b0
affected : ≥ 6d1c2f48f3fcf5f42967938c8ba6b42ac6b44b43 < 8c8222c255772713eb36cde695777a1fce224917
Other versions : unaffected
Linux · Linux
affected : 5.19
unaffected : ≥ 0 < 5.19
unaffected : ≥ 6.1.191 ≤ 6.1.*
unaffected : ≥ 6.6.161 ≤ 6.6.*
unaffected : ≥ 6.12.115 ≤ 6.12.*
unaffected : ≥ 6.18.59 ≤ 6.18.*
unaffected : ≥ 7.2.13 ≤ 7.2.*
unaffected : ≥ 7.3 ≤ *
Other versions : affected

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD