CVE-2017-16995 in the critical feed json
The check_alu_op function in kernel/bpf/verifier.c in the Linux kernel through 4.4 allows local users to cause a denial of service (memory…
published 2017-12-22 8 y ago modified 2026-06-17 4 mo ago also EUVD-2017-8163
- cvss
- 7.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 30.1%
- EPSS 30.1% chance of exploitation in 30 days, percentile 98%
- public exploits
- 4
- Metasploit, Exploit-DB
Summary
The check_alu_op function in kernel/bpf/verifier.c in the Linux kernel through 4.4 allows local users to cause a denial of service (memory corruption) or possibly have unspecified other impact by leveraging incorrect sign extension.
Patch / fix
- linux linux_kernel 4.9.72, 4.14.9
- linux Debian 14, Debian 13, Debian 12 4.14.7-1
debian advisories DEBIAN-CVE-2017-16995
- linux Ubuntu 16.04 LTS 4.4.0-119.143
- linux-aws Ubuntu 14.04 LTS 4.4.0-1016.16
- linux-aws Ubuntu 16.04 LTS 4.4.0-1054.63
- linux-gcp Ubuntu 16.04 LTS 4.13.0-1006.9
- linux-hwe Ubuntu 16.04 LTS 4.13.0-32.35~16.04.1
- linux-kvm Ubuntu 16.04 LTS 4.4.0-1020.25
- linux-oem Ubuntu 16.04 LTS 4.13.0-1015.16
- linux-azure Ubuntu 16.04 LTS 4.13.0-1005.7
ubuntu advisories UBUNTU-CVE-2017-16995
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-source openSUSE Tumbleweed 5.14.6-1.4
- kernel-source openSUSE Tumbleweed 6.6.17-1.1
opensuse advisories openSUSE-SU-2024:10728-1openSUSE-SU-2024:13704-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2017-16995 updated cvss 7.8
kernel: memory corruption caused by BPF verifier bugs can allow for arbitrary code execution
-
Red Hat Enterprise Linux 5 kernel Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, kernel-alt, python-perf, +9 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-core, kernel-tools, python3-perf, +17 more Red Hat Enterprise MRG 2 kernel-rt, mrg-rt-release, kernel-rt-trace, kernel-rt-vanilla, kernel-rt-firmwarenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- First public exploit (Metasploit exploit/linux/local/bpf_sign_extension_priv_esc)
- Published
Exploit prediction
30.05% chance of exploitation in the next 30 days, higher than 98% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- Metasploit exploit/linux/local/bpf_sign_extension_priv_esc Linux BPF Sign Extension Local Privilege Escalation metasploit exploit, great rank, 2017-11-12
- EDB-45058 Linux - BPF Sign Extension Local Privilege Escalation (Metasploit) local, 2018-07-19
- EDB-45010 Linux Kernel < 4.13.9 (Ubuntu 16.04 / Fedora 27) - Local Privilege Escalation local, 2018-07-10
- EDB-44298 Linux Kernel < 4.4.0-116 (Ubuntu 16.04.4) - Local Privilege Escalation local, 2018-03-16
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.2 | AV:L/AC:L/Au:N/C:C/I:C/A:C |
Classification
- Weakness
-
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
- Technology feeds
References
-
github.com
/torvalds/linux/commit/95a762e2c8c942780948091f8f2a4f32fce1ac6f
third-party-advisory
-
git.kernel.org
/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=95a762e2c8c942780948091f8f2a4f32fce1ac6f
vendor-advisory
-
git.kernel.org
/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=a6132276ab5dcc38b3299082efeb25b948263adb
vendor-advisory
-
exploit-db.com
/exploits/45058/
exploit, third-party-advisory, vdb-entry
-
exploit-db.com
/exploits/44298/
exploit, third-party-advisory, vdb-entry
-
exploit-db.com
/exploits/45010/
exploit, third-party-advisory, vdb-entry
-
usn.ubuntu.com
/3619-2/
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/3633-1/
vendor-advisory, third-party-advisory
-
debian.org
/security/2017/dsa-4073
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/usn/usn-3523-2/
vendor-advisory, third-party-advisory
-
usn.ubuntu.com
/3619-1/
vendor-advisory, third-party-advisory
-
bugs.chromium.org
/p/project-zero/issues/detail?id=1454
third-party-advisory
-
securityfocus.com
/bid/102288
vdb-entry, third-party-advisory
-
openwall.com
/lists/oss-security/2017/12/21/2
mailing-list, third-party-advisory
Sources
- CVE List CVE-2017-16995
- NVD CVE-2017-16995
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.