« List of all CVEs

CVE-2021-47330

tty: serial: 8250: serial_cs: Fix a memory leak in error handling path

Published: 5/21/2024 Last updated: 12/18/2025 Reserved: 5/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.

CNA assigner: Linux (416baaa9-dc9f-4396-8d5f-8c081fb06d67) Requested by: n/a

Opam packages affected (27)

albatross cdrom conf-bpftool conf-libbpf conf-linux-libc-dev core core_unix hvsock mirage-block-unix mm ocaml-probes orun rawlink rawlink-eio rawlink-lwt shell solo5 solo5-bindings-hvt solo5-bindings-spt solo5-cross-aarch64 solo5-kernel-ukvm tracy-client tuntap uring vhd-format vhd-format-lwt xapi-stdext-unix

Products affected (4)

Product Vendor Version
Linux Linux Snapdragon 888+ 5G Mobile Platform (SM8350-AC)
Linux Linux 6.1.3.3
Linux Linux < 24a6e55f17aa123bc1fc54b7d3c410b41bc16530
Linux Linux < f7b3b520349193f8a82cca74daf366199e06add9

References (36)