Description
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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | linux | 4.11.11-1 | — |
| Debian 13 | linux | 4.11.11-1 | — |
| Debian 12 | linux | 4.11.11-1 | — |
| Debian 9 | linux | 4.9.30-2+deb9u3 | DSA-3927-1 |
| Debian 8 | linux | 3.16.43-2+deb8u3 | DSA-3945-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 7 | linux | 3.2.93-1 | DLA-1099-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | linux-gcp-6.11 +4 | No fix yet | — |
| Ubuntu 22.04 LTS | linux-riscv +2 | No fix yet | — |
| Ubuntu 20.04 LTS | linux-gke +3 | No fix yet | — |
| Ubuntu 16.04 LTS | linux | 4.4.0-93.116 | USN-3405-1 |
| Ubuntu 16.04 LTS | linux-aws | 4.4.0-1032.41 | USN-3405-1 |
| Ubuntu 16.04 LTS | linux-gcp | 4.10.0-1008.8 | USN-3468-3 |
| Ubuntu 16.04 LTS | linux-gke | 4.4.0-1028.28 | USN-3405-1 |
| Ubuntu 16.04 LTS | linux-hwe | 4.13.0-32.35~16.04.1 | USN-3468-2 |
| Ubuntu 16.04 LTS | linux-raspi2 | 4.4.0-1071.79 | USN-3405-1 |
| Ubuntu 16.04 LTS | linux-snapdragon | 4.4.0-1073.78 | USN-3405-1 |
| Ubuntu 14.04 LTS | linux | 3.13.0-135.184 | USN-3470-1 |
| Ubuntu 14.04 LTS | linux-lts-xenial | 4.4.0-93.116~14.04.1 | USN-3405-2 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | linux-azure-fde-5.15 | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | kernel-rt +10 | 3.10.0-693.5.2.rt56.626.el7 | RHSA-2017:2931 |
| RHEL 7 | perf +18 | 3.10.0-693.5.2.el7 | RHSA-2017:2930 |
| RHEL 6 | perf +16 | 2.6.32-696.20.1.el6 | RHSA-2018:0169 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 5 ELS | kernel +12 | 2.6.18-436.el5 | RHSA-2018:3822 |
| Red Hat MRG 2 | kernel-rt +10 | 1:3.10.0-693.5.2.rt56.592.el6rt | RHSA-2017:2918 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP1 | kernel-xen +3 | 3.12.74-60.64.63.1 | SUSE-SU-2017:2908-1 |
| SLES 12 SP1 | kgraft-patch-SLE12-SP1_Update_22 | 1-2.1 | SUSE-SU-2017:2908-1 |
| SLES 12 | kernel-ec2 +4 | 3.12.61-52.101.1 | SUSE-SU-2017:2920-1, SUSE-SU-2017:2908-1 |
| SLES 12 | kgraft-patch-SLE12_Update_28 | 1-8.1 | SUSE-SU-2017:2920-1 |
| SLES 11 SP4 | cluster-network | 1.4-2.32.2.14 | SUSE-SU-2017:2389-1 |
| SLES 11 SP4 | drbd | 8.4.4-0.27.2.1 | SUSE-SU-2017:2389-1 |
| SLES 11 SP4 | drbd-kmp | 8.4.4-0.27.2.13 | SUSE-SU-2017:2389-1 |
| SLES 11 SP4 | gfs2 | 2-0.24.2.14 | SUSE-SU-2017:2389-1 |
| SLES 11 SP4 | kernel-docs | 3.0.101-108.7.2 | SUSE-SU-2017:2389-1 |
| SLES 11 SP4 | kernel-ec2 +8 | 3.0.101-108.7.1 | SUSE-SU-2017:2389-1 |
| SLES 11 SP4 | ocfs2 | 1.6-0.28.3.4 | SUSE-SU-2017:2389-1 |
| SLES 11 SP3 | kernel-ec2 +7 | 3.0.101-0.47.106.5.1 | SUSE-SU-2017:2525-1 |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 SP1 | kernel-xen +3 | 3.12.74-60.64.63.1 | SUSE-SU-2017:2908-1 |
| SLES for SAP 12 SP1 | kgraft-patch-SLE12-SP1_Update_22 | 1-2.1 | SUSE-SU-2017:2908-1 |
| SLES for SAP 11 SP4 | kernel-ec2 +8 | 3.0.101-108.7.1 | SUSE-SU-2017:2389-1 |
| SLE Real Time 11 SP4 | cluster-network | 1.4-2.32.2.14 | SUSE-SU-2017:2389-1 |
| SLE Real Time 11 SP4 | drbd-kmp | 8.4.4-0.27.2.13 | SUSE-SU-2017:2389-1 |
| SLE Real Time 11 SP4 | gfs2 | 2-0.24.2.14 | SUSE-SU-2017:2389-1 |
| SLE Real Time 11 SP4 | kernel-rt +3 | 3.0.101.rt130-69.5.1 | SUSE-SU-2017:2342-1 |
| SLE Real Time 11 SP4 | ocfs2 | 1.6-0.28.3.4 | SUSE-SU-2017:2389-1 |
| SUSE OpenStack Cloud 6 | kernel-xen +3 | 3.12.74-60.64.63.1 | SUSE-SU-2017:2908-1 |
| SUSE OpenStack Cloud 6 | kgraft-patch-SLE12-SP1_Update_22 | 1-2.1 | SUSE-SU-2017:2908-1 |
| SUSE Linux Enterprise Point of Sale 11 SP3 | kernel-ec2 +6 | 3.0.101-0.47.106.5.1 | SUSE-SU-2017:2525-1 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | dtrace-modules-3.8.13-118.19.10.el6uek | 0.4.5-3.el6 | ELSA-2017-3632 |
| Oracle Linux 7 | dtrace-modules-3.8.13-118.19.10.el7uek | 0.4.5-3.el7 | ELSA-2017-3632 |
| Oracle Linux 7 | kernel-uek +5 | 3.8.13-118.19.10.el7uek | ELSA-2017-3632 |
| Oracle Linux 7 | perf +11 | 3.10.0-693.5.2.el7 | ELSA-2017-2930 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- Linux Kernel < 4.11.8 - 'mq_notify: double sock_put()' Local Privilege Escalation EDB-45553 · local · Oct 2, 2018
GitHub 6 repositories
-
lexfo/cve-2017-11176 ★ 26 · Oct 2, 2018
-
c3r34lk1ll3r/CVE-2017-11176 ★ 1 · Apr 10, 2020
Code execution for CVE-2017-11176
-
Yanoro/CVE-2017-11176 ★ 0 · Feb 8, 2024
-
Sama-Ayman-Mokhtar/CVE-2017-11176 ★ 0 · Jul 5, 2022
mq_notify: double sock_put()
-
leonardo1101/cve-2017-11176 ★ 0 · Oct 23, 2019
-
DoubleMice/cve-2017-11176 ★ 0 · Nov 13, 2018
My first try to code my own LPE exploit.
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 20
- RHSA-2017:2931 Red Hat Security Advisory: kernel-rt security and bug fix update Red Hat Security Advisories (RHSA) · Jul 1, 2026
- RHSA-2017:2918 Red Hat Security Advisory: kernel-rt security and bug fix update Red Hat Security Advisories (RHSA) · Jul 1, 2026
- RHSA-2017:2930 Red Hat Security Advisory: kernel security and bug fix update Red Hat Security Advisories (RHSA) · Jul 1, 2026
- RHSA-2018:3822 Red Hat Security Advisory: kernel security and bug fix update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2018:0169 Red Hat Security Advisory: kernel security and bug fix update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- USN-3405-2 linux-lts-xenial vulnerabilities Ubuntu Security Notices (USN) · Jun 3, 2026
- USN-3405-1 linux, linux-aws, linux-gke, linux-raspi2, linux-snapdragon vulnerabilities Ubuntu Security Notices (USN) · Jun 3, 2026
- USN-3470-1 linux vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DSA-3945-1 linux - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-3927-1 linux - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1099-1 linux - security update Debian Security (DSA / DLA) · Mar 9, 2026
- USN-3468-2 linux-hwe vulnerabilities Ubuntu Security Notices (USN) · Feb 10, 2026
- USN-3468-3 linux-gcp vulnerabilities Ubuntu Security Notices (USN) · Feb 10, 2026
- SUSE-SU-2017:2389-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:2525-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:2908-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:2920-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2017:2342-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · May 2, 2025
- ELSA-2017-3632 Important: Unbreakable Enterprise kernel security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Oct 24, 2017
- ELSA-2017-2930 Important: kernel security and bug fix update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Oct 19, 2017
References
- DSA-3927 vendor-advisory
- RHSA-2018:0169 vendor-advisory
- RHSA-2017:2918 vendor-advisory
- RHSA-2017:2931 vendor-advisory
- https://help.ecostruxureit.com/display/public/UADCE725/Security+fixes+in+StruxureWare+Data+Center+Expert+v7.6.0
- 99919 vdb-entry
- https://github.com/torvalds/linux/commit/f991af3daabaecff34684fd51fac80319d1baad1
- DSA-3945 vendor-advisory
- 45553 exploit
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=f991af3daabaecff34684fd51fac80319d1baad1
- RHSA-2018:3822 vendor-advisory
- RHSA-2017:2930 vendor-advisory