Medium · published July 10, 2024
In the Linux kernel, the following vulnerability has been resolved:
ipv6: sr: fix memleak in seg6_hmac_init_algo
seg6_hmac_init_algo returns without cleaning up the previous allocations
if one fails, so it's going to leak all that memory and the crypto tfms.
Update seg6_hmac_exit to only free the memory when allocated, so we can
reuse the code directly.
| Product | Versions | Fixed in |
|---|---|---|
| linux/linux_kernel | ≥ 4.10, < 4.19.316 | 4.19.316 |
| linux/linux_kernel | ≥ 4.20, < 5.4.278 | 5.4.278 |
| linux/linux_kernel | ≥ 5.5, < 5.10.219 | 5.10.219 |
| linux/linux_kernel | ≥ 5.11, < 5.15.161 | 5.15.161 |
| linux/linux_kernel | ≥ 5.16, < 6.1.93 | 6.1.93 |
| linux/linux_kernel | ≥ 6.2, < 6.6.33 | 6.6.33 |
| linux/linux_kernel | ≥ 6.7, < 6.9.4 | 6.9.4 |