{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-23031","id":"CVE-2026-23031","title":"can: gs_usb: gs_usb_receive_bulk_callback(): fix URB memory leak","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ncan: gs_usb: gs_usb_receive_bulk_callback(): fix URB memory leak\n\nIn gs_can_open(), the URBs for USB-in transfers are allocated, added to the\nparent->rx_submitted anchor and submitted. In the complete callback\ngs_usb_receive_bulk_callback(), the URB is processed and resubmitted. In\ngs_can_close() the URBs are freed by calling\nusb","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\ncan: gs_usb: gs_usb_receive_bulk_callback(): fix URB memory leak\n\nIn gs_can_open(), the URBs for USB-in transfers are allocated, added to the\nparent->rx_submitted anchor and submitted. In the complete callback\ngs_usb_receive_bulk_callback(), the URB is processed and resubmitted. In\ngs_can_close() the URBs are freed by calling\nusb_kill_anchored_urbs(parent->rx_submitted).\n\nHowever, this does not take into account that the USB framework unanchors\nthe URB before the complete function is called. This means that once an\nin-URB has been completed, it is no longer anchored and is ultimately not\nreleased in gs_can_close().\n\nFix the memory leak by anchoring the URB in the\ngs_usb_receive_bulk_callback() to the parent->rx_submitted anchor.","published":"2026-01-31T11:42:09.276Z","updated":"2026-10-28T02:30:54.020835894Z","reserved":"2026-01-13T15:37:45.942Z","status":"Deferred","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"d08e973a77d128b25e01a08c34d89593fdf222da","lessThan":"9c151898cc259a7784be60ba38664f42ede39b31","status":"affected","versionType":"git"},{"version":"d08e973a77d128b25e01a08c34d89593fdf222da","lessThan":"ec5ccc2af9e5b045671f3f604b57512feda8bcc5","status":"affected","versionType":"git"},{"version":"d08e973a77d128b25e01a08c34d89593fdf222da","lessThan":"f905bcfa971edb89e398c98957838d8c6381c0c7","status":"affected","versionType":"git"},{"version":"d08e973a77d128b25e01a08c34d89593fdf222da","lessThan":"08624b7206ddb9148eeffc2384ebda2c47b6d1e9","status":"affected","versionType":"git"},{"version":"d08e973a77d128b25e01a08c34d89593fdf222da","lessThan":"9f669a38ca70839229b7ba0f851820850a2fe1f7","status":"affected","versionType":"git"},{"version":"d08e973a77d128b25e01a08c34d89593fdf222da","lessThan":"7352e1d5932a0e777e39fa4b619801191f57e603","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.16","status":"affected"},{"version":"0","lessThan":"3.16","status":"unaffected","versionType":"semver"},{"version":"5.15.203","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.162","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.122","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.67","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.7","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"6.19","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/9c151898cc259a7784be60ba38664f42ede39b31","tags":["web"]},{"url":"https://git.kernel.org/stable/c/ec5ccc2af9e5b045671f3f604b57512feda8bcc5","tags":["web"]},{"url":"https://git.kernel.org/stable/c/f905bcfa971edb89e398c98957838d8c6381c0c7","tags":["web"]},{"url":"https://git.kernel.org/stable/c/08624b7206ddb9148eeffc2384ebda2c47b6d1e9","tags":["web"]},{"url":"https://git.kernel.org/stable/c/9f669a38ca70839229b7ba0f851820850a2fe1f7","tags":["web"]},{"url":"https://git.kernel.org/stable/c/7352e1d5932a0e777e39fa4b619801191f57e603","tags":["web"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-253495.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23031.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23031","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.0022,"epssPercentile":0.12742,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-23031","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23031","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-23031","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-23031","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}