{"id":"CVE-2026-31615","aliases":["CVE-2026-31615"],"related":[],"kind":"vulnerability","state":"published","title":"usb: gadget: renesas_usb3: validate endpoint index in standard request handlers","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: gadget: renesas_usb3: validate endpoint index in standard request handlers\n\nThe GET_STATUS and SET/CLEAR_FEATURE handlers extract the endpoint\nnumber from the host-supplied wIndex without any sort of validation.\nFix this up by validating the number of endpoints actually match up with\nthe number the device has before attempting to dereference a pointer\nbased on this math.\n\nThis is just like what was done in commit ee0d382feb44 (\"usb: gadget:\naspeed_udc: validate endpoint index for ast udc\") for the aspeed driver.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: gadget: renesas_usb3: validate endpoint index in standard request handlers\n\nThe GET_STATUS and SET/CLEAR_FEATURE handlers extract the endpoint\nnumber from the host-supplied wIndex without any sort of validation.\nFix this up by validating the number of endpoints actually match up with\nthe number the device has before attempting to dereference a pointer\nbased on this math.\n\nThis is just like what was done in commit ee0d382feb44 (\"usb: gadget:\naspeed_udc: validate endpoint index for ast udc\") for the aspeed driver.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nusb: gadget: renesas_usb3: validar el índice del punto final en los manejadores de solicitudes estándar\n\nLos manejadores GET_STATUS y SET/CLEAR_FEATURE extraen el número de punto final del wIndex proporcionado por el host sin ningún tipo de validación. Solucionar esto validando que el número de puntos finales realmente coincida con el número que tiene el dispositivo antes de intentar desreferenciar un puntero basado en este cálculo.\n\nEsto es justo como lo que se hizo en el commit ee0d382feb44 (’usb: gadget: aspeed_udc: validar el índice del punto final para ast udc’) para el controlador aspeed.","source":"nvd"}],"published":"2026-04-24T14:42:34.806Z","modified":"2026-11-11T23:10:00.263Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"746bfe63bba37ad55956b7377c9af494e7e28929","fixed":"7caaf76207f50c77abfd788380e19b2c23a94415","status":"affected"},{"type":"git","introduced":"746bfe63bba37ad55956b7377c9af494e7e28929","fixed":"c4e5ae6db2328d2d9ed55d3005a36c13faab0752","status":"affected"},{"type":"git","introduced":"746bfe63bba37ad55956b7377c9af494e7e28929","fixed":"360aa6e71870a175a6d86af905be2ca171639eb3","status":"affected"},{"type":"git","introduced":"746bfe63bba37ad55956b7377c9af494e7e28929","fixed":"1b2bfedccc4fb8c9572e1ea464f905424c91de2a","status":"affected"},{"type":"git","introduced":"746bfe63bba37ad55956b7377c9af494e7e28929","fixed":"adb8014599fdf0818d3d93f1f74e06cd0bdec08d","status":"affected"},{"type":"git","introduced":"746bfe63bba37ad55956b7377c9af494e7e28929","fixed":"44216e3dd4455b798899b50eedb0ec3831dff8e0","status":"affected"},{"type":"git","introduced":"746bfe63bba37ad55956b7377c9af494e7e28929","fixed":"37f430b2240655e6b0199a92aa1057e4d621be51","status":"affected"},{"type":"git","introduced":"746bfe63bba37ad55956b7377c9af494e7e28929","fixed":"e3d42598f2995cdc07b7779874e7c5f8a1b773db","status":"affected"},{"type":"git","introduced":"746bfe63bba37ad55956b7377c9af494e7e28929","fixed":"f880aac8a57ebd92abfa685d45424b2998ac1059","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.5","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.5","status":"unaffected"},{"type":"semver","introduced":"5.10.258","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.209","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.175","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.136","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.83","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.24","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"6.19.14","lastAffected":"6.19.*","status":"unaffected"},{"type":"semver","introduced":"7.0.1","lastAffected":"7.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"4.5","fixed":"6.6.136"},{"status":"affected","introduced":"6.12","fixed":"6.12.83"},{"status":"affected","introduced":"6.13","fixed":"6.18.24"},{"status":"affected","introduced":"6.19","fixed":"6.19.14"},{"status":"affected","introduced":"7.0","fixed":"7.0.1"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/7caaf76207f50c77abfd788380e19b2c23a94415","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c4e5ae6db2328d2d9ed55d3005a36c13faab0752","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/360aa6e71870a175a6d86af905be2ca171639eb3","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1b2bfedccc4fb8c9572e1ea464f905424c91de2a","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/adb8014599fdf0818d3d93f1f74e06cd0bdec08d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/44216e3dd4455b798899b50eedb0ec3831dff8e0","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/37f430b2240655e6b0199a92aa1057e4d621be51","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e3d42598f2995cdc07b7779874e7c5f8a1b773db","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f880aac8a57ebd92abfa685d45424b2998ac1059","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-31615","url":"https://www.cve.org/CVERecord?id=CVE-2026-31615","licence":"CVE Terms of Use","modified":"2026-06-14T17:42:59.822Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-31615","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31615","licence":"Public domain","modified":"2026-11-11T23:10:00.263Z"}],"updatedAt":"2026-11-25T22:59:19.516Z","epss":{"score":0.0013,"percentile":0.02852,"date":"2026-12-01T12:00:22.000Z"}}