CVE-2021-47526

serial: liteuart: Fix NULL pointer dereference in ->remove()

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 NULL pointer dereference in ->remove()

drvdata has to be set in _probe() - otherwise platform_get_drvdata() causes null pointer dereference BUG in _remove().

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 1da81e5562fac8286567422cc56a7fbd0dc646d4 to before 189c99c629bbf85916c02c153f904649cc0a9d7fAffected
  • 1da81e5562fac8286567422cc56a7fbd0dc646d4 to before 0f55f89d98c8b3e12b4f55f71c127a173e29557cAffected
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.