CVE-2021-47525

serial: liteuart: fix use-after-free and memleak on unbind

State
Published
Severity
Not scored
Published
May 24, 2024
Updated
May 11, 2026
Reserved
May 24, 2024

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 1da81e5562fac8286567422cc56a7fbd0dc646d4 to before 602824cf9aa9db8830ffe5cfb2cd54365cada4feAffected
  • 1da81e5562fac8286567422cc56a7fbd0dc646d4 to before 05f929b395dec8957b636ff14e66b277ed022ed9Affected
LinuxLinux
  • 5.11Affected
  • before 5.11Not affected
  • 5.15.7 through 5.15.*Not affected
  • 5.16 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.