What’s Vulnerable › Vulnerabilities

CVE-2023-53687: tty: serial: samsung_tty: Fix a memory leak in s3c24xx_serial_getclk() when iterating clk

Description

In the Linux kernel, the following vulnerability has been resolved: tty: serial: samsung_tty: Fix a memory leak in s3c24xx_serial_getclk() when iterating clk When the best clk is searched, we iterate over all possible clk. If we find a better match, the previous one, if any, needs to be freed. If a better match has already been found, we still need to free the new one, otherwise it leaks.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 4.14.322, 4.19.291, 5.4.251, 5.10.188. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-53687 or the next vulnerability affects your stack