Integer overflow in Linux kernel - CVE-2026-31412

 

Integer overflow in Linux kernel - CVE-2026-31412

Published: April 13, 2026


Vulnerability identifier: #VU125837
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2026-31412
CWE-ID: CWE-190
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Linux Foundation
Affected software:
Linux kernel

Detailed vulnerability description

The vulnerability allows a remote attacker to cause memory corruption or out-of-bounds access.

The vulnerability exists due to integer overflow in check_command_size_in_blocks() when processing crafted SCSI READ or WRITE commands from a USB host. A remote attacker can send a specially crafted command requesting a large amount of data to cause memory corruption or out-of-bounds access.

The issue occurs because a left shift of the command-derived data size by the logical block size can wrap around and truncate the resulting byte count.


How to mitigate CVE-2026-31412

Install security update from vendor's repository.

Sources