5.5medium
serial: liteuart: Fix NULL pointer dereference in ->remove()
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.21% (higher than 11% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- 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().
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| 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 * | CVE List |
| linux linux_kernel | from 5.11 before 5.15.7 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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().
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: serial: liteuart: se corrige la desreferencia del puntero NULL en ->remove() drvdata debe configurarse en _probe(); de lo contrario, platform_get_drvdata() provoca un ERROR de desreferencia del puntero nulo en _remove().
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-47526 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2021-47526 changed 2026-06-17 | Public domain |