# CVE-2021-47526: serial: liteuart: Fix NULL pointer dereference in ->remove()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 11% of CVEs (2026-12-01)
- Published: 2024-05-24T15:09:38.024Z
- Modified: 2026-06-17T04:17:41.697Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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().

(As written by CVE List.)

## Affected

- Linux Linux: from 1da81e5562fac8286567422cc56a7fbd0dc646d4 before 189c99c629bbf85916c02c153f904649cc0a9d7f; from 1da81e5562fac8286567422cc56a7fbd0dc646d4 before 0f55f89d98c8b3e12b4f55f71c127a173e29557c; 5.11 (not affected: before 5.11; from 5.15.7 up to 5.15.*; from 5.16 up to *)
- linux linux_kernel: from 5.11 before 5.15.7

## References

- <https://git.kernel.org/stable/c/189c99c629bbf85916c02c153f904649cc0a9d7f> (patch)
- <https://git.kernel.org/stable/c/0f55f89d98c8b3e12b4f55f71c127a173e29557c> (patch)

## Sources

- CVE List: [CVE-2021-47526](https://www.cve.org/CVERecord?id=CVE-2021-47526), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2021-47526](https://nvd.nist.gov/vuln/detail/CVE-2021-47526), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-47526 · Whole record: https://cve.day/CVE-2021-47526.json · Rebuilt by cve.day 2026-11-25T22:58:08.900Z
