PT-2026-31909 · Linux+2 · Linux Kernel+2

CVE-2026-31412

·

Published

2026-03-11

·

Updated

2026-08-30

CVSS v2.0

7.7

High

VectorAV:A/AC:L/Au:S/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions Linux Kernel (affected versions not specified)
Description The Linux kernel contains a flaw in the f mass storage gadget driver. The check command size in blocks() function does not validate for integer overflows when calculating data size in bytes by left-shifting common->data size from cmnd by the block size (common->curlun->blkbits). A malicious USB host sending a SCSI READ or WRITE command with a large data request (common->data size from cmnd) can cause a wrap-around during the left shift operation, resulting in a truncated data size. This can bypass boundary checks and potentially lead to memory corruption or out-of-bounds accesses.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Integer Overflow

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2026-12507
CVE-2026-31412
ECHO-1448-3CDB-ED55
OPENSUSE-SU-2026:20826-1
SUSE-SU-2026:21834-1
SUSE-SU-2026:21841-1
SUSE-SU-2026:21845-1
SUSE-SU-2026:21860-1
SUSE-SU-2026:21876-1
SUSE-SU-2026:21877-1
SUSE-SU-2026:21916-1
SUSE-SU-2026:21919-1
SUSE-SU-2026:2217-1
SUSE-SU-2026:2238-1
USN-8567-1
USN-8574-1
USN-8574-2
USN-8574-3
USN-8595-1
USN-8595-2
USN-8595-3
USN-8596-1
USN-8606-1
USN-8607-1
USN-8608-1
USN-8609-1
USN-8619-1
USN-8665-1

Affected Products

Linux Kernel
Linuxmint
Ubuntu