CVE-2025-68750

Linux Kernel - Integer Overflow in usbg_make_tpg() via Large tpgt Value

Title source: llm
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: usb: potential integer overflow in usbg_make_tpg() The variable tpgt in usbg_make_tpg() is defined as unsigned long and is assigned to tpgt->tport_tpgt, which is defined as u16. This may cause an integer overflow when tpgt is greater than USHRT_MAX (65535). I haven't tried to trigger it myself, but it is possible to trigger it by calling usbg_make_tpg() with a large value for tpgt. I modified the type of tpgt to match tpgt->tport_tpgt and adjusted the relevant code accordingly. This patch is similar to commit 59c816c1f24d ("vhost/scsi: potential memory corruption").

Scores

EPSS 0.0003
EPSS Percentile 10.1%

Details

Status published
Products (25)
linux/Kernel 3.5.0 - 5.4.296linux
linux/Kernel 5.11.0 - 5.15.187linux
linux/Kernel 5.16.0 - 6.1.143linux
linux/Kernel 5.5.0 - 5.10.240linux
linux/Kernel 6.13.0 - 6.15.5linux
linux/Kernel 6.2.0 - 6.6.96linux
linux/Kernel 6.7.0 - 6.12.36linux
Linux/Linux < 3.5
Linux/Linux 3.5
Linux/Linux 5.10.240 - 5.10.*
... and 15 more
Published Dec 24, 2025
Tracked Since Feb 18, 2026