CVE-2021-47330
tty: serial: 8250: serial_cs: Fix a memory leak in error handling path
Reported by linux · Published May 21, 2024
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| Linux | Linux | fad92b11047a748c996ebd6cfb164a63814eeb2e, ee16bed959862a6de2913f71a04cb563d7237b67, cddee5c287e26f6b2ba5c0ffdfc3a846f2f10461, c39cf4df19acf0133fa284a8cd83fad42cd13cc2, b5a2799cd62ed30c81b22c23028d9ee374e2138c, b2ef1f5de40342de44fc5355321595f91774dab5, 7a80f71601af015856a0aeb1e3c294037ac3dd32, 34f4590f5ec9859ea9136249f528173d150bd584, 331f5923fce4f45b8170ccf06c529e8eb28f37bc |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 15b99ac1729503db9e6dc642a50b9b6cb3bf51f9, 15b99ac1729503db9e6dc642a50b9b6cb3bf51f9, 15b99ac1729503db9e6dc642a50b9b6cb3bf51f9 |
| Linux | Linux | 2.6.17, 0, 4.4.276 |
| Linux | Linux | 15b99ac1729503db9e6dc642a50b9b6cb3bf51f9, 4.9.276, 4.14.240 |
| linux | linux_kernel | 2.6.17, 2.6.17, 2.6.17 |
Timeline
- May 21, 2024 CVE Published
- May 22, 2024 EPSS Score (30 in total, the first dated here)
- Apr 29, 2026 Distribution Patch (22 in total, the first dated here)
- Apr 29, 2026 Security Advisory (23 in total, the first dated here)
- Jul 13, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-47330
vulnetix vdb fixes CVE-2021-47330
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-47330/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart