CVE-2021-47330: tty: serial: 8250: serial_cs: Fix a memory leak in error handling path
In the Linux kernel, the following vulnerability has been resolved:
tty: serial: 8250: serial_cs: Fix a memory leak in error handling path
In the probe function, if the final 'serial_config()' fails, 'info' is
leaking.
Add a resource handling path to free this memory.
Security readout for executives and security teams
Plain-English summary
CVE-2021-47330 is a Linux kernel memory leak in the 8250 serial_cs driver error path. If a final serial_config() call fails during probing, allocated memory is not freed. The source bundle does not provide CVSS, confirmed exploitation, or a broad business-impact statement.
Executive priority
Treat as low operational urgency based on current evidence. Address through normal kernel update cycles, with higher priority only for systems depending on affected serial driver paths or where vendor advisories assign greater impact.
Technical view
The Linux kernel fix adds resource cleanup when serial_config() fails in the serial_cs probe path. Affected entries include Linux kernel versions from 2.6.17 through 5.14, with stable commit references provided for fixes across supported branches.
Likely exposure
Exposure appears limited to Linux systems running affected kernels where the 8250 serial_cs driver code path is present and the failing probe condition can occur. Distribution backports may change practical exposure.
Exploitation context
The bundle says KEV is false and provides no cited evidence of active exploitation. The described issue is a memory leak in an error-handling path, not a documented remote code execution or privilege-escalation condition.
Researcher notes
Evidence is narrow: the CVE describes only a leaked info allocation after serial_config() failure. No CVSS, CWE, exploit details, or exploit-in-the-wild source is included. Validate fixes by commit inclusion or vendor backport mapping.
Mitigation direction
Update to a vendor-supported kernel containing the referenced stable fixes.
Check Linux distribution advisories for backported fixes and fixed package versions.
Prioritize systems that use affected Linux kernel ranges and serial_cs functionality.
Track this as kernel hygiene unless vendor guidance raises severity.
Validation and detection
Inventory Linux kernel versions across servers, endpoints, and appliances.
Confirm whether kernels include one referenced stable commit or distributor-equivalent backport.
Review vendor security notes before treating version strings as vulnerable.
Monitor for repeated serial_cs probe failures if relevant telemetry exists.
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-47330 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.