CVE-2025-68750

Source
https://cve.org/CVERecord?id=CVE-2025-68750
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-68750.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-68750
Downstream
Related
Published
2025-12-24T15:51:03.141Z
Modified
2026-03-20T12:46:27.776184Z
Summary
usb: potential integer overflow in usbg_make_tpg()
Details

In the Linux kernel, the following vulnerability has been resolved:

usb: potential integer overflow in usbgmaketpg()

The variable tpgt in usbgmaketpg() is defined as unsigned long and is assigned to tpgt->tporttpgt, which is defined as u16. This may cause an integer overflow when tpgt is greater than USHRTMAX (65535). I haven't tried to trigger it myself, but it is possible to trigger it by calling usbgmaketpg() 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").

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68750.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
c52661d60f636d17e26ad834457db333bd1df494
Fixed
0861b9cb2ff519b7c5a3b1dd52a343e18c4efb24
Fixed
603a83e5fee38a950bfcfb2f36449311fa00a474
Fixed
6f77e344515b5258edb3988188311464209b1c7c
Fixed
6722e080b5b39ab7471386c73d0c1b39572f943c
Fixed
a33f507f36d5881f602dab581ab0f8d22b49762c
Fixed
358d5ba08f1609c34a054aed88c431844d09705a
Fixed
620a5e1e84a3a7004270703a118d33eeb1c0f368
Fixed
153874010354d050f62f8ae25cbb960c17633dc5

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-68750.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
3.5.0
Fixed
5.4.296
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.240
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.187
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.143
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.96
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.36
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.15.5

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-68750.json"