CVE-2021-47525
kernel: serial: liteuart: fix use-after-free and memleak on unbind
Severity
LowRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · May 24, 2024
Updated · November 21, 2025
Description
In the Linux kernel, the following vulnerability has been resolved:
serial: liteuart: fix use-after-free and memleak on unbind
Deregister the port when unbinding the driver to prevent it from being used after releasing the driver data and leaking memory allocated by serial core.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 4.7CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:H
CWE-416 · Use After Free