CVE-2025-68750
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").
How to fix
- Linux Linux0861b9cb2ff519b7c5a3b1dd52a343e18c4efb24, 603a83e5fee38a950bfcfb2f36449311fa00a474, 6f77e344515b5258edb3988188311464209b1c7c, 6722e080b5b39ab7471386c73d0c1b39572f943c, a33f507f36d5881f602dab581ab0f8d22b49762c, 358d5ba08f1609c34a054aed88c431844d09705a, 620a5e1e84a3a7004270703a118d33eeb1c0f368, 153874010354d050f62f8ae25cbb960c17633dc5 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Linux Linux | c52661d60f636d17e26ad834457db333bd1df494 ≤ v < 0861b9cb2ff519b7c5a3b1dd52a343e18c4efb24, c52661d60f636d17e26ad834457db333bd1df494 ≤ v < 603a83e5fee38a950bfcfb2f36449311fa00a474, c52661d60f636d17e26ad834457db333bd1df494 ≤ v < 6f77e344515b5258edb3988188311464209b1c7c, c52661d60f636d17e26ad834457db333bd1df494 ≤ v < 6722e080b5b39ab7471386c73d0c1b39572f943c, c52661d60f636d17e26ad834457db333bd1df494 ≤ v < a33f507f36d5881f602dab581ab0f8d22b49762c, c52661d60f636d17e26ad834457db333bd1df494 ≤ v < 358d5ba08f1609c34a054aed88c431844d09705a, c52661d60f636d17e26ad834457db333bd1df494 ≤ v < 620a5e1e84a3a7004270703a118d33eeb1c0f368, c52661d60f636d17e26ad834457db333bd1df494 ≤ v < 153874010354d050f62f8ae25cbb960c17633dc5, 3.5 | 0861b9cb2ff519b7c5a3b1dd52a343e18c4efb24, 603a83e5fee38a950bfcfb2f36449311fa00a474, 6f77e344515b5258edb3988188311464209b1c7c, 6722e080b5b39ab7471386c73d0c1b39572f943c, a33f507f36d5881f602dab581ab0f8d22b49762c, 358d5ba08f1609c34a054aed88c431844d09705a, 620a5e1e84a3a7004270703a118d33eeb1c0f368, 153874010354d050f62f8ae25cbb960c17633dc5 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.