{"id":"CVE-2017-16995","published":"2017-12-22T10:00:00Z","modified":"2024-08-05T20:43:57Z","title":"The check_alu_op function in kernel/bpf/verifier.c in the Linux kernel through 4.4 allows local users to cause a…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.30052,"percentile":0.98251,"provenance":"source"},"cwes":[],"references":[{"url":"https://www.exploit-db.com/exploits/45058/","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"https://github.com/torvalds/linux/commit/95a762e2c8c942780948091f8f2a4f32fce1ac6f","tags":["x_refsource_MISC"]},{"url":"https://usn.ubuntu.com/3619-2/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://bugs.chromium.org/p/project-zero/issues/detail?id=1454","tags":["x_refsource_MISC"]},{"url":"https://usn.ubuntu.com/3633-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://www.securityfocus.com/bid/102288","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://www.exploit-db.com/exploits/44298/","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"https://www.exploit-db.com/exploits/45010/","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"https://www.debian.org/security/2017/dsa-4073","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://usn.ubuntu.com/usn/usn-3523-2/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://openwall.com/lists/oss-security/2017/12/21/2","tags":["x_refsource_MISC"]},{"url":"https://usn.ubuntu.com/3619-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=95a762e2c8c942780948091f8f2a4f32fce1ac6f","tags":["x_refsource_MISC"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/commit/?id=a6132276ab5dcc38b3299082efeb25b948263adb","tags":["x_refsource_CONFIRM"]}],"priority":{"score":24.7,"factors":[{"name":"EPSS percentile","points":19.65},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":4,"earliest":"2018-03-16"},"pocGithub":{"count":9,"skipped":6,"earliest":"2018-03-19","earliestUrl":"https://github.com/C0dak/CVE-2017-16995","repos":[{"name":"Al1ex/CVE-2017-16995","url":"https://github.com/Al1ex/CVE-2017-16995","stars":15,"created":"2018-04-26"},{"name":"ph4ntonn/CVE-2017-16995","url":"https://github.com/ph4ntonn/CVE-2017-16995","stars":2,"created":"2021-01-28"},{"name":"gugronnier/CVE-2017-16995","url":"https://github.com/gugronnier/CVE-2017-16995","stars":1,"created":"2018-10-18"},{"name":"senyuuri/cve-2017-16995","url":"https://github.com/senyuuri/cve-2017-16995","stars":1,"created":"2019-01-22"},{"name":"vnik5287/CVE-2017-16995","url":"https://github.com/vnik5287/CVE-2017-16995","stars":1,"created":"2019-07-23"}]},"metasploit":[{"name":"Linux BPF Sign Extension Local Privilege Escalation","module":"exploit/linux/local/bpf_sign_extension_priv_esc","type":"exploit","disclosureDate":"2017-11-12","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/local/bpf_sign_extension_priv_esc.rb"}],"first":{"date":"2017-11-12","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/local/bpf_sign_extension_priv_esc.rb"},"provenance":"source"},"affectedVersions":[{"vendor":"n/a","product":"n/a","versions":["through 4.4"]}],"summary":{"text":"The check_alu_op function in kernel/bpf/verifier.c, part of the Linux kernel's BPF verifier, contains a flaw in how it handles sign extension. An attacker with local access and the ability to load BPF programs can trigger memory corruption, causing a denial of service, and possibly other unspecified impacts.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:45:08Z"},"euvd":{"id":"EUVD-2017-8163","exploited":false,"provenance":"source"},"exploits":[{"id":44298,"url":"https://www.exploit-db.com/exploits/44298","title":"Linux Kernel < 4.4.0-116 (Ubuntu 16.04.4) - Local Privilege Escalation","date":"2018-03-16","verified":false,"provenance":"source"},{"id":45010,"url":"https://www.exploit-db.com/exploits/45010","title":"Linux Kernel < 4.13.9 (Ubuntu 16.04 / Fedora 27) - Local Privilege Escalation","date":"2018-07-10","verified":true,"provenance":"source"},{"id":45058,"url":"https://www.exploit-db.com/exploits/45058","title":"Linux - BPF Sign Extension Local Privilege Escalation (Metasploit)","date":"2018-07-19","verified":true,"provenance":"source"},{"id":45058,"url":"https://www.exploit-db.com/exploits/45058","title":"Linux - BPF Sign Extension Local Privilege Escalation (Metasploit)","date":"2018-07-19","verified":true,"provenance":"source"}],"exploitRefs":["https://www.exploit-db.com/exploits/45058/","https://www.exploit-db.com/exploits/44298/","https://www.exploit-db.com/exploits/45010/"]}