{"id":"CVE-2025-68750","aliases":["CVE-2025-68750"],"related":[],"kind":"vulnerability","state":"published","title":"usb: potential integer overflow in usbg_make_tpg()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: potential integer overflow in usbg_make_tpg()\n\nThe variable tpgt in usbg_make_tpg() is defined as unsigned long and is\nassigned to tpgt->tport_tpgt, which is defined as u16. This may cause an\ninteger overflow when tpgt is greater than USHRT_MAX (65535). I\nhaven't tried to trigger it myself, but it is possible to trigger it\nby calling usbg_make_tpg() with a large value for tpgt.\n\nI modified the type of tpgt to match tpgt->tport_tpgt and adjusted the\nrelevant code accordingly.\n\nThis patch is similar to commit 59c816c1f24d (\"vhost/scsi: potential\nmemory corruption\").","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: potential integer overflow in usbg_make_tpg()\n\nThe variable tpgt in usbg_make_tpg() is defined as unsigned long and is\nassigned to tpgt->tport_tpgt, which is defined as u16. This may cause an\ninteger overflow when tpgt is greater than USHRT_MAX (65535). I\nhaven't tried to trigger it myself, but it is possible to trigger it\nby calling usbg_make_tpg() with a large value for tpgt.\n\nI modified the type of tpgt to match tpgt->tport_tpgt and adjusted the\nrelevant code accordingly.\n\nThis patch is similar to commit 59c816c1f24d (\"vhost/scsi: potential\nmemory corruption\").","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nusb: potencial desbordamiento de entero en usbg_make_tpg()\n\nLa variable tpgt en usbg_make_tpg() está definida como unsigned long y se asigna a tpgt -> tport_tpgt, que está definida como u16. Esto puede causar un desbordamiento de entero cuando tpgt es mayor que USHRT_MAX (65535). No he intentado activarlo yo mismo, pero es posible activarlo llamando a usbg_make_tpg() con un valor grande para tpgt.\n\nModifiqué el tipo de tpgt para que coincida con tpgt -> tport_tpgt y ajusté el código relevante en consecuencia.\n\nEste parche es similar al commit 59c816c1f24d ('vhost/scsi: potencial corrupción de memoria').","source":"nvd"}],"published":"2025-12-24T15:51:03.141Z","modified":"2026-10-13T10:10:00.193Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"c52661d60f636d17e26ad834457db333bd1df494","fixed":"0861b9cb2ff519b7c5a3b1dd52a343e18c4efb24","status":"affected"},{"type":"git","introduced":"c52661d60f636d17e26ad834457db333bd1df494","fixed":"603a83e5fee38a950bfcfb2f36449311fa00a474","status":"affected"},{"type":"git","introduced":"c52661d60f636d17e26ad834457db333bd1df494","fixed":"6f77e344515b5258edb3988188311464209b1c7c","status":"affected"},{"type":"git","introduced":"c52661d60f636d17e26ad834457db333bd1df494","fixed":"6722e080b5b39ab7471386c73d0c1b39572f943c","status":"affected"},{"type":"git","introduced":"c52661d60f636d17e26ad834457db333bd1df494","fixed":"a33f507f36d5881f602dab581ab0f8d22b49762c","status":"affected"},{"type":"git","introduced":"c52661d60f636d17e26ad834457db333bd1df494","fixed":"358d5ba08f1609c34a054aed88c431844d09705a","status":"affected"},{"type":"git","introduced":"c52661d60f636d17e26ad834457db333bd1df494","fixed":"620a5e1e84a3a7004270703a118d33eeb1c0f368","status":"affected"},{"type":"git","introduced":"c52661d60f636d17e26ad834457db333bd1df494","fixed":"153874010354d050f62f8ae25cbb960c17633dc5","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.5","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.5","status":"unaffected"},{"type":"semver","introduced":"5.4.296","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.240","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.187","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.143","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.96","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.36","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.15.5","lastAffected":"6.15.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.16","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/0861b9cb2ff519b7c5a3b1dd52a343e18c4efb24","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/603a83e5fee38a950bfcfb2f36449311fa00a474","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6f77e344515b5258edb3988188311464209b1c7c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6722e080b5b39ab7471386c73d0c1b39572f943c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a33f507f36d5881f602dab581ab0f8d22b49762c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/358d5ba08f1609c34a054aed88c431844d09705a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/620a5e1e84a3a7004270703a118d33eeb1c0f368","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/153874010354d050f62f8ae25cbb960c17633dc5","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-68750","url":"https://www.cve.org/CVERecord?id=CVE-2025-68750","licence":"CVE Terms of Use","modified":"2026-05-11T21:52:37.371Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-68750","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68750","licence":"Public domain","modified":"2026-10-13T10:10:00.193Z"}],"updatedAt":"2026-11-25T22:59:09.909Z","epss":{"score":0.0021,"percentile":0.11881,"date":"2026-12-01T12:00:22.000Z"}}