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.
| Software | From | Fixed in |
|---|---|---|
| linux / linux_kernel | 3.3 | 4.14.322 |
| linux / linux_kernel | 4.15 | 4.19.291 |
| linux / linux_kernel | 4.20 | 5.4.251 |
| linux / linux_kernel | 5.5 | 5.10.188 |
| linux / linux_kernel | 5.11 | 5.15.121 |
| linux / linux_kernel | 5.16 | 6.1.40 |
| linux / linux_kernel | 6.2 | 6.4.5 |