{"api_version":"1","generated_at":"2026-05-07T15:55:11+00:00","cve":"CVE-2026-31615","urls":{"html":"https://cve.report/CVE-2026-31615","api":"https://cve.report/api/cve/CVE-2026-31615.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-31615","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-31615"},"summary":{"title":"usb: gadget: renesas_usb3: validate endpoint index in standard request handlers","description":"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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-04-24 15:16:40","updated_at":"2026-04-28 17:29:26"},"problem_types":["CWE-476"],"metrics":[{"version":"3.1","source":"nvd@nist.gov","type":"Primary","score":"5.5","severity":"MEDIUM","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","baseScore":5.5,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"}}],"references":[{"url":"https://git.kernel.org/stable/c/adb8014599fdf0818d3d93f1f74e06cd0bdec08d","name":"https://git.kernel.org/stable/c/adb8014599fdf0818d3d93f1f74e06cd0bdec08d","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/e3d42598f2995cdc07b7779874e7c5f8a1b773db","name":"https://git.kernel.org/stable/c/e3d42598f2995cdc07b7779874e7c5f8a1b773db","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/37f430b2240655e6b0199a92aa1057e4d621be51","name":"https://git.kernel.org/stable/c/37f430b2240655e6b0199a92aa1057e4d621be51","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/1b2bfedccc4fb8c9572e1ea464f905424c91de2a","name":"https://git.kernel.org/stable/c/1b2bfedccc4fb8c9572e1ea464f905424c91de2a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/f880aac8a57ebd92abfa685d45424b2998ac1059","name":"https://git.kernel.org/stable/c/f880aac8a57ebd92abfa685d45424b2998ac1059","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/44216e3dd4455b798899b50eedb0ec3831dff8e0","name":"https://git.kernel.org/stable/c/44216e3dd4455b798899b50eedb0ec3831dff8e0","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-31615","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31615","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 746bfe63bba37ad55956b7377c9af494e7e28929 1b2bfedccc4fb8c9572e1ea464f905424c91de2a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 746bfe63bba37ad55956b7377c9af494e7e28929 adb8014599fdf0818d3d93f1f74e06cd0bdec08d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 746bfe63bba37ad55956b7377c9af494e7e28929 44216e3dd4455b798899b50eedb0ec3831dff8e0 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 746bfe63bba37ad55956b7377c9af494e7e28929 37f430b2240655e6b0199a92aa1057e4d621be51 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 746bfe63bba37ad55956b7377c9af494e7e28929 e3d42598f2995cdc07b7779874e7c5f8a1b773db git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 746bfe63bba37ad55956b7377c9af494e7e28929 f880aac8a57ebd92abfa685d45424b2998ac1059 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.5","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 4.5 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.136 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.83 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.24 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.19.14 6.19.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.0.1 7.0.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.1-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2026","cve_id":"31615","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"linux","cpe5":"linux_kernel","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"31615","cve":"CVE-2026-31615","epss":"0.000180000","percentile":"0.048130000","score_date":"2026-04-27","updated_at":"2026-04-28 00:06:44"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/usb/gadget/udc/renesas_usb3.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"1b2bfedccc4fb8c9572e1ea464f905424c91de2a","status":"affected","version":"746bfe63bba37ad55956b7377c9af494e7e28929","versionType":"git"},{"lessThan":"adb8014599fdf0818d3d93f1f74e06cd0bdec08d","status":"affected","version":"746bfe63bba37ad55956b7377c9af494e7e28929","versionType":"git"},{"lessThan":"44216e3dd4455b798899b50eedb0ec3831dff8e0","status":"affected","version":"746bfe63bba37ad55956b7377c9af494e7e28929","versionType":"git"},{"lessThan":"37f430b2240655e6b0199a92aa1057e4d621be51","status":"affected","version":"746bfe63bba37ad55956b7377c9af494e7e28929","versionType":"git"},{"lessThan":"e3d42598f2995cdc07b7779874e7c5f8a1b773db","status":"affected","version":"746bfe63bba37ad55956b7377c9af494e7e28929","versionType":"git"},{"lessThan":"f880aac8a57ebd92abfa685d45424b2998ac1059","status":"affected","version":"746bfe63bba37ad55956b7377c9af494e7e28929","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/usb/gadget/udc/renesas_usb3.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"4.5"},{"lessThan":"4.5","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.136","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.83","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.24","versionType":"semver"},{"lessThanOrEqual":"6.19.*","status":"unaffected","version":"6.19.14","versionType":"semver"},{"lessThanOrEqual":"7.0.*","status":"unaffected","version":"7.0.1","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.1-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.136","versionStartIncluding":"4.5","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.83","versionStartIncluding":"4.5","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.24","versionStartIncluding":"4.5","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.19.14","versionStartIncluding":"4.5","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.0.1","versionStartIncluding":"4.5","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.1-rc1","versionStartIncluding":"4.5","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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."}],"providerMetadata":{"dateUpdated":"2026-04-27T13:56:53.705Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/1b2bfedccc4fb8c9572e1ea464f905424c91de2a"},{"url":"https://git.kernel.org/stable/c/adb8014599fdf0818d3d93f1f74e06cd0bdec08d"},{"url":"https://git.kernel.org/stable/c/44216e3dd4455b798899b50eedb0ec3831dff8e0"},{"url":"https://git.kernel.org/stable/c/37f430b2240655e6b0199a92aa1057e4d621be51"},{"url":"https://git.kernel.org/stable/c/e3d42598f2995cdc07b7779874e7c5f8a1b773db"},{"url":"https://git.kernel.org/stable/c/f880aac8a57ebd92abfa685d45424b2998ac1059"}],"title":"usb: gadget: renesas_usb3: validate endpoint index in standard request handlers","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-31615","datePublished":"2026-04-24T14:42:34.806Z","dateReserved":"2026-03-09T15:48:24.123Z","dateUpdated":"2026-04-27T13:56:53.705Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-04-24 15:16:40","lastModifiedDate":"2026-04-28 17:29:26","problem_types":["CWE-476"],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","baseScore":5.5,"baseSeverity":"MEDIUM","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":3.6}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.5","versionEndExcluding":"6.6.136","matchCriteriaId":"FCEFD340-4D12-4082-8086-2A113C4D3AAD"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.12","versionEndExcluding":"6.12.83","matchCriteriaId":"A8BAD957-8E20-401C-A129-DFF3655CA0B7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.13","versionEndExcluding":"6.18.24","matchCriteriaId":"8126B8B8-6D0B-4443-86C1-672AEE893555"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.19","versionEndExcluding":"6.19.14","matchCriteriaId":"D6A8A074-BBF4-4803-ABED-519A839435BB"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.0","versionEndExcluding":"7.0.1","matchCriteriaId":"9B5888AB-7403-4335-89E4-21CC0B48366A"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"31615","Ordinal":"1","Title":"usb: gadget: renesas_usb3: validate endpoint index in standard r","CVE":"CVE-2026-31615","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"31615","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"usb: gadget: renesas_usb3: validate endpoint index in standard r"}]}}}