{"id":"CVE-2023-53551","summary":"usb: gadget: u_serial: Add null pointer check in gserial_resume","details":"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-\u003eioport. And if a wakeup interrupt triggers afterwards,\ngserial_resume gets called, which will lead to accessing of\ngser-\u003eioport and thus causing null pointer dereference.Add\na null pointer check to prevent this.\n\nAdded a static spinlock to prevent gser-\u003eioport from becoming\nnull after the newly added check.","modified":"2026-04-02T09:44:26.801361Z","published":"2025-10-04T15:16:57.736Z","related":["SUSE-SU-2025:4111-1","SUSE-SU-2025:4139-1","SUSE-SU-2025:4149-1","SUSE-SU-2025:4320-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53551.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/3b24c980dc07be4550a9d1450ed7057f882530e5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/44e004f757a7ae13dfebaadbcfdb1a6f98c10377"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5ec63fdbca604568890c577753c6f66c5b3ef0b5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c5360eec648bd506afa304ae4a71f82e13d41897"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ec357cd3e8af614855d286dd378725cdc7264df6"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53551.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53551"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"aba3a8d01d623a5efef48ab8e78752d58d4c90c3"},{"fixed":"c5360eec648bd506afa304ae4a71f82e13d41897"},{"fixed":"3b24c980dc07be4550a9d1450ed7057f882530e5"},{"fixed":"ec357cd3e8af614855d286dd378725cdc7264df6"},{"fixed":"44e004f757a7ae13dfebaadbcfdb1a6f98c10377"},{"fixed":"5ec63fdbca604568890c577753c6f66c5b3ef0b5"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53551.json"}}],"schema_version":"1.7.5"}