CVEvulnerability
CVE-2023-53356
5.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2025-09-17
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-476
Description
In the Linux kernel, the following vulnerability has been resolved:
usb: gadget: u_serial: Add null pointer check in gserial_suspend
Consider a case where gserial_disconnect has already cleared
gser->ioport. And if gserial_suspend gets called afterwards,
it will lead to accessing of gser->ioport and thus causing
null pointer dereference.
Avoid this by adding a null pointer check. Added a static
spinlock to prevent gser->ioport from becoming null after
the newly added null pointer check.
Affected configurations
• linux linux kernel (>= 5.8 < 5.10.188)
• linux linux kernel (>= 5.11 < 5.15.121)
• linux linux kernel (>= 5.16 < 6.1.39)
• linux linux kernel (>= 6.2 < 6.4.4)
Related
Weakness · CWE (1)
- CWE-476 NULL Pointer Dereference weakness
References
- https://git.kernel.org/stable/c/2788a3553f7497075653210b42e2aeb6ba95e28e Patch
- https://git.kernel.org/stable/c/2f6ecb89fe8feb2b60a53325b0eeb9866d88909a Patch
- https://git.kernel.org/stable/c/374447e3367767156405bedd230c5d391f4b7962 Patch
- https://git.kernel.org/stable/c/a8ea7ed644cbf6314b5b0136b5398754b549fb8f Patch
- https://git.kernel.org/stable/c/e60a827ac074ce6bd58305fe5a86afab5fce6a04 Patch