{"id":"CVE-2023-53356","summary":"usb: gadget: u_serial: Add null pointer check in gserial_suspend","details":"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-\u003eioport. And if gserial_suspend gets called afterwards,\nit will lead to accessing of gser-\u003eioport and thus causing\nnull pointer dereference.\n\nAvoid this by adding a null pointer check. Added a static\nspinlock to prevent gser-\u003eioport from becoming null after\nthe newly added null pointer check.","modified":"2026-04-02T09:44:03.614316Z","published":"2025-09-17T14:56:46.113Z","related":["SUSE-SU-2025:03600-1","SUSE-SU-2025:03615-1","SUSE-SU-2025:03628-1","SUSE-SU-2025:03634-1","SUSE-SU-2025:20851-1","SUSE-SU-2025:20861-1","SUSE-SU-2025:20870-1","SUSE-SU-2025:20898-1","SUSE-SU-2025:3716-1","SUSE-SU-2025:3751-1","SUSE-SU-2025:3761-1","SUSE-SU-2025:4057-1","SUSE-SU-2025:4132-1","SUSE-SU-2025:4141-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53356.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/2788a3553f7497075653210b42e2aeb6ba95e28e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2f6ecb89fe8feb2b60a53325b0eeb9866d88909a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/374447e3367767156405bedd230c5d391f4b7962"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a8ea7ed644cbf6314b5b0136b5398754b549fb8f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e60a827ac074ce6bd58305fe5a86afab5fce6a04"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53356.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53356"},{"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":"2788a3553f7497075653210b42e2aeb6ba95e28e"},{"fixed":"a8ea7ed644cbf6314b5b0136b5398754b549fb8f"},{"fixed":"e60a827ac074ce6bd58305fe5a86afab5fce6a04"},{"fixed":"374447e3367767156405bedd230c5d391f4b7962"},{"fixed":"2f6ecb89fe8feb2b60a53325b0eeb9866d88909a"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53356.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}