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.
https://www.exploit-db.com/exploits/45553/
https://github.com/torvalds/linux/commit/f991af3daabaecff34684fd51fac80319d1baad1
https://access.redhat.com/errata/RHSA-2018:3822
https://access.redhat.com/errata/RHSA-2018:0169
https://access.redhat.com/errata/RHSA-2017:2931
https://access.redhat.com/errata/RHSA-2017:2930
https://access.redhat.com/errata/RHSA-2017:2918
http://www.securityfocus.com/bid/99919
http://www.debian.org/security/2017/dsa-3945