CVE-2017-16995

high
Published 2017-12-27 ยท Modified 2026-05-13
CVSS v3
7.8
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
8.8

Description

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.

Predictions

Exploit likelihood
100%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

Exploits

Public proof-of-concept code below. AS-IS, for defenders and authorised testing only.

Exploit-DB

EDB-45058 local linux verified
Metasploit ยท 2018-07-19

Linux - BPF Sign Extension Local Privilege Escalation (Metasploit)

Source code queued for fetch โ€” refresh in a moment.
EDB-45010 local linux verified
rlarabee ยท 2018-07-10

Linux Kernel < 4.13.9 (Ubuntu 16.04 / Fedora 27) - Local Privilege Escalation

Source code queued for fetch โ€” refresh in a moment.
EDB-44298 local linux
Bruce Leidl ยท 2018-03-16

Linux Kernel < 4.4.0-116 (Ubuntu 16.04.4) - Local Privilege Escalation

Source code queued for fetch โ€” refresh in a moment.

Metasploit modules

Linux BPF Sign Extension Local Privilege Escalation
Source fetch failed: fetch_error โ€” view the original via the link above.

OS impact

linux Linux kernel Affected 1 release
VersionStatusFixed in
โ€” Affected 4.9.72
ubuntu Ubuntu Affected 2 releases
VersionStatusFixed in
16.04 Affected โ€”
14.04 Affected โ€”
debian Debian Mixed 6 releases
VersionStatusFixed in
trixie Fixed 4.14.7-1
sid Fixed 4.14.7-1
forky Fixed 4.14.7-1
bullseye Fixed 4.14.7-1
bookworm Fixed 4.14.7-1
9.0 Affected โ€”
arch Arch Fixed 1 release
VersionStatusFixed in
โ€” Fixed 4.14.11.a-1

References

CWEs

CWE-119

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.