{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-31755","id":"CVE-2026-31755","title":"usb: cdns3: gadget: fix NULL pointer dereference in ep_queue","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: cdns3: gadget: fix NULL pointer dereference in ep_queue\n\nWhen the gadget endpoint is disabled or not yet configured, the ep->desc\npointer can be NULL. This leads to a NULL pointer dereference when\n__cdns3_gadget_ep_queue() is called, causing a kernel crash.\n\nAdd a check to return -ESHUTDOWN if ep->desc is NULL, which is the\n","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: cdns3: gadget: fix NULL pointer dereference in ep_queue\n\nWhen the gadget endpoint is disabled or not yet configured, the ep->desc\npointer can be NULL. This leads to a NULL pointer dereference when\n__cdns3_gadget_ep_queue() is called, causing a kernel crash.\n\nAdd a check to return -ESHUTDOWN if ep->desc is NULL, which is the\nstandard return code for unconfigured endpoints.\n\nThis prevents potential crashes when ep_queue is called on endpoints\nthat are not ready.","published":"2026-05-01T14:14:46.288Z","updated":"2026-11-13T02:30:20.939223275Z","reserved":"2026-03-09T15:48:24.139Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"7733f6c32e36ff9d7adadf40001039bf219b1cbe","lessThan":"3cf0580a09d417eab41ce914a11f9cde3a121871","status":"affected","versionType":"git"},{"version":"7733f6c32e36ff9d7adadf40001039bf219b1cbe","lessThan":"3d1433fe34b224b90259e207e5389e95b504ef04","status":"affected","versionType":"git"},{"version":"7733f6c32e36ff9d7adadf40001039bf219b1cbe","lessThan":"fb2ad0c1334a3eccfe4ed203f9eef5a4879226f6","status":"affected","versionType":"git"},{"version":"7733f6c32e36ff9d7adadf40001039bf219b1cbe","lessThan":"9ab9b0e5fcdac325f950fc8b6caa08a9e22a0db9","status":"affected","versionType":"git"},{"version":"7733f6c32e36ff9d7adadf40001039bf219b1cbe","lessThan":"d61446dfc9d387775bb1b95b081953201b9222af","status":"affected","versionType":"git"},{"version":"7733f6c32e36ff9d7adadf40001039bf219b1cbe","lessThan":"390536cc6af4ca5566bc3bf1f8b704700380cd2c","status":"affected","versionType":"git"},{"version":"7733f6c32e36ff9d7adadf40001039bf219b1cbe","lessThan":"14bf08ab2cdfcdfd3f13e799d06692a1b3e0745f","status":"affected","versionType":"git"},{"version":"7733f6c32e36ff9d7adadf40001039bf219b1cbe","lessThan":"7f6f127b9bc34bed35f56faf7ecb1561d6b39000","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.4","status":"affected"},{"version":"0","lessThan":"5.4","status":"unaffected","versionType":"semver"},{"version":"5.10.260","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.203","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.168","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.134","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.81","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.22","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"6.19.12","lessThanOrEqual":"6.19.*","status":"unaffected","versionType":"semver"},{"version":"7.0","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-476"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/3cf0580a09d417eab41ce914a11f9cde3a121871","tags":["web"]},{"url":"https://git.kernel.org/stable/c/3d1433fe34b224b90259e207e5389e95b504ef04","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/fb2ad0c1334a3eccfe4ed203f9eef5a4879226f6","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/9ab9b0e5fcdac325f950fc8b6caa08a9e22a0db9","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/d61446dfc9d387775bb1b95b081953201b9222af","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/390536cc6af4ca5566bc3bf1f8b704700380cd2c","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/14bf08ab2cdfcdfd3f13e799d06692a1b3e0745f","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/7f6f127b9bc34bed35f56faf7ecb1561d6b39000","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31755.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31755","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00123,"epssPercentile":0.02113,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-31755","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31755","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-31755","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-31755","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}