CVE-2025-68750 Details
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").
A potential integer overflow vulnerability has been identified in the Linux kernel's USB gadget function, specifically in the 'usbg_make_tpg()' function. The issue arises because the 'tpgt' variable is defined as an unsigned long and is assigned to 'tpgt->tport_tpgt', which is a u16. This mismatch can lead to an integer overflow when 'tpgt' exceeds USHRT_MAX (65535). The vulnerability can be triggered by calling 'usbg_make_tpg()' with a large 'tpgt' value.
The vulnerability has been addressed by changing the 'tpgt' variable type to u16 to match the 'tport_tpgt' definition, preventing the integer overflow. Users should apply the latest patches available in the Linux kernel stable tree to mitigate this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Dec 24, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/0861b9cb2ff519b7c5a3b1dd52a343e18c4efb24 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/153874010354d050f62f8ae25cbb960c17633dc5 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/358d5ba08f1609c34a054aed88c431844d09705a | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/603a83e5fee38a950bfcfb2f36449311fa00a474 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/620a5e1e84a3a7004270703a118d33eeb1c0f368 | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/6722e080b5b39ab7471386c73d0c1b39572f943c | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/6f77e344515b5258edb3988188311464209b1c7c | kernel.org | Source CodeVendor |
| https://git.kernel.org/stable/c/a33f507f36d5881f602dab581ab0f8d22b49762c | kernel.org | Source CodeVendor |
Weakness Enumeration
No weakness enumeration is available for this CVE.
Affected Products
| Product | Versions |
|---|---|
| Linux kernel | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 13, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Dec 24, 2025 | New CVE Received | kernel.org |
Volerion