CVE-2026-72085
Received Received - Intake

Use-After-Free in Linux Kernel SCSI Subsystem

Vulnerability report for CVE-2026-72085, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-15

Last updated on: 2026-08-17

Assigner: kernel.org

Description

In the Linux kernel, the following vulnerability has been resolved: scsi: xen: scsiback: Free unsubmitted command instead of double-putting it scsiback_get_pend_req() obtains a command tag and returns a vscsibk_pend whose embedded se_cmd has only been memset to 0, so its cmd_kref is 0; the se_cmd is initialised (kref_init() via target_init_cmd()) only later, in scsiback_cmd_exec(), on the successful VSCSIIF_ACT_SCSI_CDB path. The two error paths in scsiback_do_cmd_fn() taken before the command is submitted -- a failed scsiback_gnttab_data_map() and an unknown ring_req.act -- call transport_generic_free_cmd(&pending_req->se_cmd, 0), which kref_put()s a refcount of 0. That underflows it ("refcount_t: underflow; use-after-free") and, as the release function is not run, leaks the command tag. Impact: a pvSCSI guest can leak every command tag of a LUN's session, stopping the LUN, by submitting requests with a bad grant reference or an unknown request type; under panic_on_warn the refcount underflow panics the host. Add a helper that just returns the tag with target_free_tag() and sends the error response. It frees the tag while the v2p reference still pins the session, and snapshots the response fields beforehand because freeing the tag can let another ring reuse the pending_req slot.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-15
Last Modified
2026-08-17
Generated
2026-09-04
AI Q&A
2026-08-15
EPSS Evaluated
2026-09-03
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
linux_kernel linux_kernel *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in the Linux kernel involves a flaw in the scsiback driver used for Xen virtualization. When handling SCSI commands, the system fails to properly manage command references, leading to a refcount underflow and use-after-free condition. This happens because a command tag is freed before the command is fully initialized, causing a double-free scenario.

Detection Guidance

This vulnerability is specific to the Linux kernel's scsi subsystem, particularly in the xen: scsiback driver. Detection requires checking kernel logs for refcount underflow errors or panic messages related to scsiback. Monitor dmesg or system logs for errors like 'refcount_t: underflow' or 'use-after-free' in the scsi subsystem.

Impact Analysis

A malicious guest using pvSCSI can exploit this to leak all command tags for a LUN's session, effectively stopping the LUN from functioning. This can cause denial of service for the storage device. If the system is configured with panic_on_warn, the host may crash due to the refcount underflow.

Compliance Impact

This vulnerability primarily affects system stability and availability rather than directly impacting compliance with standards like GDPR or HIPAA. The issue allows a guest system to crash the host by triggering a refcount underflow, which could lead to denial of service. While not a direct compliance violation, such instability may indirectly affect data protection measures by disrupting access to critical systems.

Mitigation Strategies

Apply the latest kernel patches from your Linux distribution to resolve the issue. If immediate patching is not possible, disable the xen: scsiback driver by blacklisting it or removing related modules. Restrict access to pvSCSI guests to prevent exploitation. Monitor system logs for signs of attempted exploitation.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-72085. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart