CVE-2017-16995: Linux eBPF Verifier Sign-Extension Privilege Escalation
- Vendors
- Debian ProjectLinuxCanonical
CVE-2017-16995 is an incorrect sign-extension vulnerability in the Linux kernel eBPF verifier's check_alu_op() function, affecting kernels described as through version 4.4. Incorrect handling of arithmetic instructions causes verifier assumptions to diverge from runtime behavior, allowing a local user to submit a crafted eBPF program that bypasses intended safety checks. Exploitation can cause kernel memory corruption, denial of service, or escalation to root privileges.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can elevate an unprivileged local user to root, compromising system confidentiality and integrity. Kernel memory corruption can also crash the system and disrupt workloads. In containerized environments, exploitation may compromise the shared host kernel and defeat container isolation if the vulnerable BPF interface is accessible.
Mitigation
If you can’t patch tonight, do this now.
Disable unprivileged BPF by setting kernel.unprivileged_bpf_disabled=1 where supported. Restrict access to the bpf() system call for untrusted workloads, including through container seccomp policies. These measures reduce exposure but do not replace a patched kernel.
Remediation
Patch, then assume compromise.
Install the distribution vendor's kernel update addressing CVE-2017-16995 and reboot into the patched kernel. Confirm that the running kernel includes the fix; upstream version numbers alone may not reflect distribution backports. An exact fixed package version is not established by the available information.
Exploits
3 exploits validated by Mallory's analysis. Hidden: 1 rejected by Mallory's analysis as not a working exploit; 2 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2017-16995 exploited in the wild?
- As of Nov 11, 2026, Mallory has no reports of CVE-2017-16995 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2017-16995?
- Yes. Mallory tracks 3 public exploits or proofs of concept for CVE-2017-16995, the earliest disclosed Nov 12, 2017.
- Is there a patch for CVE-2017-16995?
- Install the distribution vendor's kernel update addressing CVE-2017-16995 and reboot into the patched kernel. Confirm that the running kernel includes the fix; upstream version numbers alone may not reflect distribution backports.
- What products are affected by CVE-2017-16995?
- Linux Kernel, Debian Project Debian Linux, and Canonical Ubuntu Linux.
- How severe is CVE-2017-16995?
- CVE-2017-16995 has a CVSS v3.1 score of 7.8 (High) and an EPSS score of 30.1% (99th percentile) as of Nov 11, 2026.
Recent activity
5 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.