CVE-2021-47330
MEDIUM 5.5CVSS 3.1In 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.
- Published
- 21 May 2024
- Last modified
- 17 Jun 2026
- Assigned by
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Analyzed
- Weakness
- CWE-401
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
< 4.4.276 | 4.4.276 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 4.5, < 4.9.276 | 4.9.276 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 4.10, < 4.14.240 | 4.14.240 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 4.15, < 4.19.198 | 4.19.198 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 4.20, < 5.4.134 | 5.4.134 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 5.5, < 5.10.52 | 5.10.52 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 5.11, < 5.12.19 | 5.12.19 |
| NVD | linux | linux_kernelcpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
>= 5.13, < 5.13.4 | 5.13.4 |
References
- https://git.kernel.org/stable/c/331f5923fce4f45b8170ccf06c529e8eb28f37bc · Patch
- https://git.kernel.org/stable/c/34f4590f5ec9859ea9136249f528173d150bd584 · Patch
- https://git.kernel.org/stable/c/7a80f71601af015856a0aeb1e3c294037ac3dd32 · Patch
- https://git.kernel.org/stable/c/b2ef1f5de40342de44fc5355321595f91774dab5 · Patch
- https://git.kernel.org/stable/c/b5a2799cd62ed30c81b22c23028d9ee374e2138c · Patch
- https://git.kernel.org/stable/c/c39cf4df19acf0133fa284a8cd83fad42cd13cc2 · Patch
- https://git.kernel.org/stable/c/cddee5c287e26f6b2ba5c0ffdfc3a846f2f10461 · Patch
- https://git.kernel.org/stable/c/ee16bed959862a6de2913f71a04cb563d7237b67 · Patch
- https://git.kernel.org/stable/c/fad92b11047a748c996ebd6cfb164a63814eeb2e · Patch
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 21 May 2024)