CVE-2021-47526: serial: liteuart: Fix NULL pointer dereference in ->remove()
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().
Security readout for executives and security teams
Plain-English summary
This is a Linux kernel bug in the LiteUART serial driver. If the driver is removed after being loaded, missing driver data can trigger a NULL pointer dereference and kernel BUG. The provided sources do not show remote exposure, privilege requirements, CVSS scoring, or active exploitation.
Executive priority
Treat as targeted operational risk, not an emergency based on available evidence. Prioritize patching for systems using LiteUART or affected custom kernels, and track vendor guidance where standard distribution kernels are deployed.
Technical view
The LiteUART platform driver failed to set drvdata during probe. Its remove path later calls platform_get_drvdata(), which can return NULL and cause a NULL pointer dereference. The kernel stable references identify fixes for this driver lifecycle bug.
Likely exposure
Likely limited to systems running affected Linux kernel versions with the LiteUART serial driver built in or loadable and used. Exposure is unclear for generic servers unless this driver is present. The source bundle does not name distributions, configurations, or CPEs.
Exploitation context
CISA KEV is false, and the supplied sources do not report active exploitation. The described impact is a kernel BUG from a driver remove path, suggesting local or operational trigger conditions, but the sources do not define an attacker model.
Researcher notes
Evidence is narrow: the CVE text describes only the bug and fix. No CVSS, CWE, exploitability analysis, or distribution matrix is provided. Validation should focus on kernel version, LiteUART driver presence, and whether the stable commits are included or backported.
Mitigation direction
Identify affected Linux kernels that include the LiteUART driver.
Apply kernel updates containing the referenced stable fixes.
Check Linux vendor or distribution advisories for backported fixes.
Disable or avoid the LiteUART driver where it is unnecessary.
Validation and detection
Confirm the running kernel version and vendor patch status.
Check whether the LiteUART driver is present, loaded, or built in.
Review fleet inventory for affected embedded or FPGA-oriented systems.
Verify vendor advisories map the fix to deployed kernels.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cve · low confidence lookup
CVE-2021-47526 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.