CVE-2023-53551
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
04/10/2025
Last modified:
06/10/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
usb: gadget: u_serial: Add null pointer check in gserial_resume<br />
<br />
Consider a case where gserial_disconnect has already cleared<br />
gser->ioport. And if a wakeup interrupt triggers afterwards,<br />
gserial_resume gets called, which will lead to accessing of<br />
gser->ioport and thus causing null pointer dereference.Add<br />
a null pointer check to prevent this.<br />
<br />
Added a static spinlock to prevent gser->ioport from becoming<br />
null after the newly added check.
Impact
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/3b24c980dc07be4550a9d1450ed7057f882530e5
- https://git.kernel.org/stable/c/44e004f757a7ae13dfebaadbcfdb1a6f98c10377
- https://git.kernel.org/stable/c/5ec63fdbca604568890c577753c6f66c5b3ef0b5
- https://git.kernel.org/stable/c/c5360eec648bd506afa304ae4a71f82e13d41897
- https://git.kernel.org/stable/c/ec357cd3e8af614855d286dd378725cdc7264df6



