{"id":"CVE-2023-53551","aliases":["CVE-2023-53551"],"related":[],"kind":"vulnerability","state":"published","title":"usb: gadget: u_serial: Add null pointer check in gserial_resume","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: gadget: u_serial: Add null pointer check in gserial_resume\n\nConsider a case where gserial_disconnect has already cleared\ngser->ioport. And if a wakeup interrupt triggers afterwards,\ngserial_resume gets called, which will lead to accessing of\ngser->ioport and thus causing null pointer dereference.Add\na null pointer check to prevent this.\n\nAdded a static spinlock to prevent gser->ioport from becoming\nnull after the newly added check.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: gadget: u_serial: Add null pointer check in gserial_resume\n\nConsider a case where gserial_disconnect has already cleared\ngser->ioport. And if a wakeup interrupt triggers afterwards,\ngserial_resume gets called, which will lead to accessing of\ngser->ioport and thus causing null pointer dereference.Add\na null pointer check to prevent this.\n\nAdded a static spinlock to prevent gser->ioport from becoming\nnull after the newly added check.","source":"cvelist"}],"published":"2025-10-04T15:16:57.736Z","modified":"2026-06-17T06:45:35.250Z","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":"aba3a8d01d623a5efef48ab8e78752d58d4c90c3","fixed":"c5360eec648bd506afa304ae4a71f82e13d41897","status":"affected"},{"type":"git","introduced":"aba3a8d01d623a5efef48ab8e78752d58d4c90c3","fixed":"3b24c980dc07be4550a9d1450ed7057f882530e5","status":"affected"},{"type":"git","introduced":"aba3a8d01d623a5efef48ab8e78752d58d4c90c3","fixed":"ec357cd3e8af614855d286dd378725cdc7264df6","status":"affected"},{"type":"git","introduced":"aba3a8d01d623a5efef48ab8e78752d58d4c90c3","fixed":"44e004f757a7ae13dfebaadbcfdb1a6f98c10377","status":"affected"},{"type":"git","introduced":"aba3a8d01d623a5efef48ab8e78752d58d4c90c3","fixed":"5ec63fdbca604568890c577753c6f66c5b3ef0b5","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.8","status":"unaffected"},{"type":"semver","introduced":"5.10.171","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.97","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.15","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.2.2","lastAffected":"6.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.3","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":"5.8","fixed":"5.10.171"},{"status":"affected","introduced":"5.11","fixed":"5.15.97"},{"status":"affected","introduced":"5.16","fixed":"6.1.15"},{"status":"affected","introduced":"6.2","fixed":"6.2.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/c5360eec648bd506afa304ae4a71f82e13d41897","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3b24c980dc07be4550a9d1450ed7057f882530e5","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ec357cd3e8af614855d286dd378725cdc7264df6","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/44e004f757a7ae13dfebaadbcfdb1a6f98c10377","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5ec63fdbca604568890c577753c6f66c5b3ef0b5","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-53551","url":"https://www.cve.org/CVERecord?id=CVE-2023-53551","licence":"CVE Terms of Use","modified":"2026-05-11T19:47:09.678Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-53551","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53551","licence":"Public domain","modified":"2026-06-17T06:45:35.250Z"}],"updatedAt":"2026-11-25T22:58:34.935Z","epss":{"score":0.0016,"percentile":0.05443,"date":"2026-12-01T12:00:22.000Z"}}