- Home
- Vulnerabilities
- CVE-2023-53551
CVE-2023-53551
In the Linux kernel, the following vulnerability has been resolved: usb: gadget: u_serial: Add null pointer…
Low
23/100
Summary
In the Linux kernel, the following vulnerability has been resolved: usb: gadget: u_serial: Add null pointer check in gserial_resume Consider a case where gserial_disconnect has already cleared gser->ioport. And if a wakeup interrupt triggers afterwards, gserial_resume gets called, which will lead to accessing of gser->ioport and thus causing null pointer dereference.Add a null pointer check to prevent this. Added a static spinlock to prevent gser->ioport from becoming null after the newly added check.
Affected products and versions
Linux (4 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| Linux kernel | from 5.8 (included) to 5.10.171 (excluded) |
— | NVD |
| Linux kernel | from 5.11 (included) to 5.15.97 (excluded) |
— | NVD |
| Linux kernel | from 5.16 (included) to 6.1.15 (excluded) |
— | NVD |
| Linux kernel | from 6.2 (included) to 6.2.2 (excluded) |
— | NVD |
Fix
Not provided by the vendor.
Workaround
No workaround provided.
Check whether you are affected
No verification method provided.
Timeline
- — CVE published (cve)
References
- https://git.kernel.org/stable/c/3b24c980dc07be4550a9d1450ed7057f882530e5Patch
- https://git.kernel.org/stable/c/44e004f757a7ae13dfebaadbcfdb1a6f98c10377Patch
- https://git.kernel.org/stable/c/5ec63fdbca604568890c577753c6f66c5b3ef0b5Patch
- https://git.kernel.org/stable/c/c5360eec648bd506afa304ae4a71f82e13d41897Patch
- https://git.kernel.org/stable/c/ec357cd3e8af614855d286dd378725cdc7264df6Patch
Data provenance
- Status
- NVD
- Publication date
- NVD
- Description
- NVD
- CVSS score
- NVD
- Weakness (CWE)
- NVD
- CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H(CVSS 3.1, NVD)- Weakness
- CWE-476 · Corruption mémoire