The mq_notify function in the Linux kernel through 4.11.9 does not set the sock pointer to NULL upon entry into the retry logic. During a user-space close of a Netlink socket, it allows attackers to cause a denial of service (use-after-free) or possibly have unspecified other impact.
| Software | From | Fixed in |
|---|---|---|
| linux / linux_kernel | 3.19 | 4.1.43 |
| linux / linux_kernel | 4.2 | 4.4.77 |
| linux / linux_kernel | - | 3.2.92 |
| linux / linux_kernel | 3.3 | 3.16.47 |
| linux / linux_kernel | 3.17 | 3.18.61 |
| linux / linux_kernel | 4.5 | 4.9.38 |
| linux / linux_kernel | 4.10 | 4.11.11 |
| linux / linux_kernel | 4.12 | 4.12.2 |
| debian / debian_linux | 8.0 | 8.0.x |
| debian / debian_linux | 9.0 | 9.0.x |