What’s Vulnerable › Vulnerabilities

CVE-2021-47330: tty: serial: 8250: serial_cs: Fix a memory leak in error handling path

Description

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 4.14.240, 4.19.198, 4.4.276, 4.9.276. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-47330 or the next vulnerability affects your stack