CVE-2026-53021: Linux Kernel SCSI Target Integer Overflow Vulnerability
A bug in the Linux kernel's SCSI target subsystem fails to properly validate certain storage device commands. Specifically, when processing UNMAP requests (which deallocate storage blocks), the code checks that the operation stays within the device's capacity but misses cases where the arithmetic wraps around a 64-bit boundary. An authenticated local user could exploit this to trigger a denial-of-service condition by crashing the kernel or causing unexpected behavior.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 5.5 MEDIUM · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses (CWE)
- CWE-190
- Affected products
- 1 configuration(s)
- Published / Modified
- 2026-06-24 / 2026-07-15
NVD description (verbatim)
In the Linux kernel, the following vulnerability has been resolved: scsi: target: core: Fix integer overflow in UNMAP bounds check sbc_execute_unmap() checks LBA + range does not exceed the device capacity, but does not guard against LBA + range wrapping around on 64-bit overflow. Add an overflow check matching the pattern already used for WRITE_SAME in the same file.
8 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
CVE-2026-53021 is an integer overflow vulnerability in the sbc_execute_unmap() function within the Linux kernel's SCSI target core module. The vulnerability exists because the bounds check for UNMAP commands validates that LBA (Logical Block Address) plus the range does not exceed device capacity, but fails to account for 64-bit integer wraparound. When LBA + range wraps around during addition, the overflow check can be bypassed, allowing out-of-bounds memory operations. The fix mirrors existing overflow protection already implemented for WRITE_SAME commands in the same codebase.
Business impact
This vulnerability poses a localized availability risk to systems running vulnerable Linux kernels that expose SCSI target functionality. Organizations using Linux as a storage backend or in virtualized environments (where SCSI target is commonly enabled) face kernel panic or crash scenarios triggered by a local, authenticated user. The impact is restricted to denial-of-service; there is no privilege escalation or data confidentiality exposure. Recovery requires system restart, disrupting services on affected hosts.
Affected systems
The Linux kernel is affected across versions that include the vulnerable sbc_execute_unmap() implementation in the SCSI target subsystem. This primarily impacts storage appliances, virtualization hosts, and Linux systems configured with kernel SCSI target support. The vulnerability requires local access and authenticated privileges to trigger, limiting its blast radius compared to remote kernel exploits.
Exploitability
Exploitation requires local system access and some form of authentication or privilege to issue SCSI UNMAP commands. This is a low-privilege local attack—not a remote exploit. The attack is straightforward once access is gained: craft a malicious UNMAP command with carefully chosen LBA and range values to trigger 64-bit wraparound. However, the need for local access and the specificity of the trigger significantly constrains real-world attack scenarios.
Remediation
Apply a kernel update that includes the overflow check fix for sbc_execute_unmap(). The remediation adds integer overflow detection matching the pattern already established for WRITE_SAME in the same file, ensuring LBA + range does not wrap. Organizations should verify the specific kernel version and distribution patch availability, as backport timing varies by vendor.
Patch guidance
Identify your Linux kernel version using 'uname -r' and check vendor security advisories (Red Hat, Ubuntu, SUSE, Debian, etc.) for available patches. Prioritize patching for systems exposing SCSI target functionality—particularly those in data center, storage, or virtualization environments. Testing in a non-production environment before rollout is advised, as kernel updates typically require a reboot. No temporary mitigation exists; patching is the definitive fix.
Detection guidance
Monitor kernel logs and audit trails for unexpected SCSI target errors or kernel panics originating from the scsi_target or block I/O subsystem. System administrators can check if the SCSI target module is loaded (lsmod | grep target) and disable it if not needed. Network-based detection is not applicable since this requires local access; focus on host-level anomaly detection for unusual storage-layer operations or repeated kernel restarts on storage nodes.
Why prioritize this
Although rated MEDIUM severity with a CVSS score of 5.5, prioritization should be contextual: high for data center and virtualization infrastructure where SCSI target is actively used, lower for client-focused deployments where the feature is typically not enabled. The lack of remote exploitability and need for authentication reduce immediate risk, but the denial-of-service impact justifies scheduling patching within standard maintenance windows.
Risk score, explained
The CVSS 3.1 score of 5.5 (MEDIUM, AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H) reflects a local attack vector requiring low privilege, no user interaction, and high availability impact with no confidentiality or integrity compromise. The score appropriately captures that while the DoS impact is significant, the requirement for local authentication and the confined scope prevent a higher rating. Organizations running SCSI target infrastructure should treat this more seriously than the base score suggests.
Frequently asked questions
Does this affect all Linux systems, or only specific configurations?
The vulnerability only affects Linux systems with SCSI target core functionality enabled, typically found in storage appliances, virtualization hypervisors, or systems configured explicitly to export SCSI targets. Desktop and server systems without SCSI target enabled are unaffected. Check 'lsmod | grep target' to determine if your system is vulnerable.
Can an unprivileged or remote user exploit this?
No. The vulnerability requires local system access and some level of authentication or privilege to issue SCSI UNMAP commands. Remote exploitation is not possible, and the attack cannot be initiated by completely unprivileged users.
What is the practical impact if my system is vulnerable?
A malicious local user can craft a specially crafted UNMAP command that causes the kernel to panic or become unstable, resulting in a denial-of-service. No data is corrupted, stolen, or modified. The primary impact is system unavailability until reboot.
How do I know if a patch is available for my distribution?
Check your Linux distribution's security advisory page (Red Hat Security Advisories, Ubuntu Security Notices, SUSE Security Updates, Debian Security Tracker) by searching for CVE-2026-53021 or by running 'apt list --upgradable' on Debian/Ubuntu or 'yum check-update' on Red Hat systems. Your vendor will specify the patched kernel version.
This analysis is provided for informational and educational purposes. The vulnerability details, affected versions, and patch status should be verified against official vendor advisories and the NVD before taking remediation actions. No exploit code or weaponized proof-of-concept is provided. Organizations should conduct their own risk assessment based on their infrastructure and consult with their vendors for definitive guidance on patch availability and compatibility. SEC.co makes no warranty regarding the completeness or accuracy of this analysis. Source: NVD (public-domain), retrieved 2026-07-31. Analysis generated by SEC.co (claude-haiku-4-5).
Related vulnerabilities
- CVE-2026-11299MEDIUMInteger Overflow in Google Chrome Font Processing (Medium Severity)
- CVE-2026-52948MEDIUMLinux Kernel I2C Integer Overflow Local DoS
- CVE-2026-52972MEDIUMLinux Kernel af_alg AEAD Integer Overflow DoS Vulnerability
- CVE-2026-9882MEDIUMChrome ANGLE Integer Overflow Allows Cross-Origin Data Leakage
- CVE-2026-10921HIGHChrome Dawn Integer Overflow Sandbox Escape Vulnerability
- CVE-2026-10924HIGHChrome Integer Overflow Sandbox Escape Vulnerability
- CVE-2026-34711HIGHCAI Content Credentials Integer Overflow Denial-of-Service Vulnerability
- CVE-2026-46198HIGHLinux Kernel batman-adv Integer Overflow & Kernel Memory Disclosure (CVSS 8.8)