Kernel memory corruption via unchecked size shift
Published Apr 10, 2026 · Updated Apr 10, 2026
Integer overflow in Linux Kernel 3.3 and later allows physically proximate attackers to cause out-of-bounds memory access via USB SCSI commands. check_command_size_in_blocks() left-shifts the command-derived block count by the LUN block-size exponent without checking for wraparound, so a truncated byte count passes boundary checks. Exploitation requires the mass-storage gadget function to be enabled and connected to a malicious USB host; resulting kernel-memory corruption can interrupt service.
Summary
What happened
Integer overflow in Linux Kernel 3.3 and later allows physically proximate attackers to cause out-of-bounds memory access via USB SCSI commands. check_command_size_in_blocks() left-shifts the command-derived block count by the LUN block-size exponent without checking for wraparound, so a truncated byte count passes boundary checks. Exploitation requires the mass-storage gadget function to be enabled and connected to a malicious USB host; resulting kernel-memory corruption can interrupt service.
The record
- CVE
- CVE-2026-31412
- Published
- Apr 10, 2026
- Updated
- Apr 10, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux Kernel
- Classifications
- CWE-190
- Attack vector
- local
- Privileges
- authenticated
Timeline
How it unfolded
- Apr 10, 2026CVE publishedPublication date reported by the CVE source.
- Apr 10, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=144974e7f9e32b53b02f6c8632be45d8f43d6ab5 <228b37936376143f4b60cc6828663f6eaceb81b5
- Affected versionversion=144974e7f9e32b53b02f6c8632be45d8f43d6ab5 <3428dc5520c811e66622b2f5fa43341bf9a1f8b3
- Affected versionversion=144974e7f9e32b53b02f6c8632be45d8f43d6ab5 <387ebb0453b99d71491419a5dc4ab4bee0cacbac
- Affected versionversion=144974e7f9e32b53b02f6c8632be45d8f43d6ab5 <8479891d1f04a8ce55366fe4ca361ccdb96f02e1
- Affected versionversion=144974e7f9e32b53b02f6c8632be45d8f43d6ab5 <91817ad5452defe69bc7bc0e355f0ed5d01125cc
- Affected versionversion=144974e7f9e32b53b02f6c8632be45d8f43d6ab5 <ce0caaed5940162780c5c223b8ae54968a5f059b
- Affected versionversion=3.3
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo