CVE-2023-53356
published 2025-09-17CVE-2023-53356: 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…
PriorityP418medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.17%
6.8th percentile
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
15 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 6.1.52-1 (bookworm) | linux 6.1.52-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= aba3a8d01d623a5efef48ab8e78752d58d4c90c3 < 2788a3553f7497075653210b42e2aeb6ba95e28e | 2788a3553f7497075653210b42e2aeb6ba95e28e |
| linux | linux | >= aba3a8d01d623a5efef48ab8e78752d58d4c90c3 < a8ea7ed644cbf6314b5b0136b5398754b549fb8f | a8ea7ed644cbf6314b5b0136b5398754b549fb8f |
| linux | linux | >= aba3a8d01d623a5efef48ab8e78752d58d4c90c3 < e60a827ac074ce6bd58305fe5a86afab5fce6a04 | e60a827ac074ce6bd58305fe5a86afab5fce6a04 |
| linux | linux | >= aba3a8d01d623a5efef48ab8e78752d58d4c90c3 < 374447e3367767156405bedd230c5d391f4b7962 | 374447e3367767156405bedd230c5d391f4b7962 |
| linux | linux | >= aba3a8d01d623a5efef48ab8e78752d58d4c90c3 < 2f6ecb89fe8feb2b60a53325b0eeb9866d88909a | 2f6ecb89fe8feb2b60a53325b0eeb9866d88909a |
| linux | linux_kernel | >= 0 < 5.10.191-1 | 5.10.191-1 |
| linux | linux_kernel | >= 0 < 6.1.52-1 | 6.1.52-1 |
| linux | linux_kernel | >= 0 < 6.4.4-1 | 6.4.4-1 |
| linux | linux_kernel | >= 0 < 6.4.4-1 | 6.4.4-1 |
| linux | linux_kernel | >= 5.11 < 5.15.121 | 5.15.121 |
| linux | linux_kernel | >= 5.16 < 6.1.39 | 6.1.39 |
| linux | linux_kernel | >= 5.8 < 5.10.188 | 5.10.188 |
| linux | linux_kernel | >= 6.2 < 6.4.4 | 6.4.4 |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Red Hat
kernel: usb: gadget: u_serial: Add null pointer check in gserial_suspend
vendor_redhat·2025-09-17·CVSS 5.5
CVE-2023-53356 [MEDIUM] CWE-476 kernel: usb: gadget: u_serial: Add null pointer check in gserial_suspend
kernel: usb: gadget: u_serial: Add null pointer check in gserial_suspend
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.
Package: kernel (Red Hat Enterprise Linux 10) - Not affected
Package: kernel (Red Hat Enterprise Linux 6) - Not affected
Package: kernel (Red Hat Enterprise Linux 7) - Not affected
Package: kernel-rt (Red Hat Enterprise Linux 7) -
Debian
CVE-2023-53356: linux - In the Linux kernel, the following vulnerability has been resolved: usb: gadget...
vendor_debian·2023·CVSS 5.5
CVE-2023-53356 [MEDIUM] CVE-2023-53356: linux - In the Linux kernel, the following vulnerability has been resolved: usb: gadget...
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.
Scope: local
bookworm: resolved (fixed in 6.1.52-1)
bullseye: resolved (fixed in 5.10.191-1)
forky: resolved (fixed in 6.4.4-1)
sid: resolved (fixed in 6.4.4-1)
trixie: resolved (fixed in 6.4.4-1)
GHSA
GHSA-fvf2-2vh9-p4j4: In the Linux kernel, the following vulnerability has been resolved:
usb: gadget: u_serial: Add null pointer check in gserial_suspend
Consider a case
ghsa_unreviewed·2025-09-17
CVE-2023-53356 [MEDIUM] CWE-476 GHSA-fvf2-2vh9-p4j4: In the Linux kernel, the following vulnerability has been resolved:
usb: gadget: u_serial: Add null pointer check in gserial_suspend
Consider a case
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.
OSV
CVE-2023-53356: In the Linux kernel, the following vulnerability has been resolved: usb: gadget: u_serial: Add null pointer check in gserial_suspend Consider a case w
osv·2025-09-17·CVSS 5.5
CVE-2023-53356 [MEDIUM] CVE-2023-53356: In the Linux kernel, the following vulnerability has been resolved: usb: gadget: u_serial: Add null pointer check in gserial_suspend Consider a case w
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.
No detection rules found.
No public exploits indexed.
https://git.kernel.org/stable/c/2788a3553f7497075653210b42e2aeb6ba95e28ehttps://git.kernel.org/stable/c/2f6ecb89fe8feb2b60a53325b0eeb9866d88909ahttps://git.kernel.org/stable/c/374447e3367767156405bedd230c5d391f4b7962https://git.kernel.org/stable/c/a8ea7ed644cbf6314b5b0136b5398754b549fb8fhttps://git.kernel.org/stable/c/e60a827ac074ce6bd58305fe5a86afab5fce6a04
2025-09-17
Published