{"id":"CVE-2023-53356","aliases":["CVE-2023-53356"],"related":[],"kind":"vulnerability","state":"published","title":"usb: gadget: u_serial: Add null pointer check in gserial_suspend","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: gadget: u_serial: Add null pointer check in gserial_suspend\n\nConsider a case where gserial_disconnect has already cleared\ngser->ioport. And if gserial_suspend gets called afterwards,\nit will lead to accessing of gser->ioport and thus causing\nnull pointer dereference.\n\nAvoid this by adding a null pointer check. Added a static\nspinlock to prevent gser->ioport from becoming null after\nthe newly added null pointer 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_suspend\n\nConsider a case where gserial_disconnect has already cleared\ngser->ioport. And if gserial_suspend gets called afterwards,\nit will lead to accessing of gser->ioport and thus causing\nnull pointer dereference.\n\nAvoid this by adding a null pointer check. Added a static\nspinlock to prevent gser->ioport from becoming null after\nthe newly added null pointer check.","source":"cvelist"}],"published":"2025-09-17T14:56:46.113Z","modified":"2026-06-17T06:44:59.380Z","severity":{"scorer":"CISA-ADP","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":"CISA-ADP","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"},{"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":"2788a3553f7497075653210b42e2aeb6ba95e28e","status":"affected"},{"type":"git","introduced":"aba3a8d01d623a5efef48ab8e78752d58d4c90c3","fixed":"a8ea7ed644cbf6314b5b0136b5398754b549fb8f","status":"affected"},{"type":"git","introduced":"aba3a8d01d623a5efef48ab8e78752d58d4c90c3","fixed":"e60a827ac074ce6bd58305fe5a86afab5fce6a04","status":"affected"},{"type":"git","introduced":"aba3a8d01d623a5efef48ab8e78752d58d4c90c3","fixed":"374447e3367767156405bedd230c5d391f4b7962","status":"affected"},{"type":"git","introduced":"aba3a8d01d623a5efef48ab8e78752d58d4c90c3","fixed":"2f6ecb89fe8feb2b60a53325b0eeb9866d88909a","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.188","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.121","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.39","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.4.4","lastAffected":"6.4.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.5","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.188"},{"status":"affected","introduced":"5.11","fixed":"5.15.121"},{"status":"affected","introduced":"5.16","fixed":"6.1.39"},{"status":"affected","introduced":"6.2","fixed":"6.4.4"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/2788a3553f7497075653210b42e2aeb6ba95e28e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a8ea7ed644cbf6314b5b0136b5398754b549fb8f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e60a827ac074ce6bd58305fe5a86afab5fce6a04","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/374447e3367767156405bedd230c5d391f4b7962","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2f6ecb89fe8feb2b60a53325b0eeb9866d88909a","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-01-14T18:42:52.369Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-53356","url":"https://www.cve.org/CVERecord?id=CVE-2023-53356","licence":"CVE Terms of Use","modified":"2026-05-11T19:43:21.819Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-53356","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53356","licence":"Public domain","modified":"2026-06-17T06:44:59.380Z"}],"updatedAt":"2026-11-25T22:58:34.847Z","epss":{"score":0.00197,"percentile":0.09958,"date":"2026-12-01T12:00:22.000Z"}}