High · published December 27, 2024
In the Linux kernel, the following vulnerability has been resolved:
net: inet6: do not leave a dangling sk pointer in inet6_create()
sock_init_data() attaches the allocated sk pointer to the provided sock
object. If inet6_create() fails later, the sk object is released, but the
sock object retains the dangling sk pointer, which may cause use-after-free
later.
Clear the sock sk pointer on error.
| Product | Versions | Fixed in |
|---|---|---|
| linux/linux_kernel | < 5.4.287 | 5.4.287 |
| linux/linux_kernel | ≥ 5.5, < 5.10.231 | 5.10.231 |
| linux/linux_kernel | ≥ 5.11, < 5.15.174 | 5.15.174 |
| linux/linux_kernel | ≥ 5.16, < 6.1.120 | 6.1.120 |
| linux/linux_kernel | ≥ 6.2, < 6.6.66 | 6.6.66 |
| linux/linux_kernel | ≥ 6.7, < 6.12.5 | 6.12.5 |