CVE-2016-4557
The replace_map_fd_with_map_ptr function in kernel/bpf/verifier.c in the Linux kernel before 4.5.5 does not properly maintain an fd data structure, which allows local users to gain privileges or cause a denial of service (use-after-free) via crafted BPF…
Does this matter?
EPSS puts the probability of exploitation in the next 30 days at 10.2%, higher than 96% of all known CVEs. Patch or mitigate before the next change window.
Description
The replace_map_fd_with_map_ptr function in kernel/bpf/verifier.c in the Linux kernel before 4.5.5 does not properly maintain an fd data structure, which allows local users to gain privileges or cause a denial of service (use-after-free) via crafted BPF instructions that reference an incorrect file descriptor.
- CVSS 3.1
- 7.8 HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 10.20% probability · 96th percentile
- Public exploits
- 2 in Exploit-DB · verified · first 4 May 2016
- CISA KEV
- Not listed
- Affected
- linux/linux kernel
- Source
- cve@mitre.org
EPSS 10.2% since 26 October 2026; no change recorded yet. The dashed line is the ten per cent mark our analysts treat as “patch before the next change window”. Points are recorded when the score first appears and whenever it moves by a percentage point or more.
Public exploits (2)
Entries in Exploit-DB that cite this CVE. Links go to the Exploit-DB page and to the file in the public repository; nothing is hosted here. A verified tick means the Exploit-DB team confirmed the exploit works against the stated version.
| EDB-ID | Title | Type | Published | Verified |
|---|---|---|---|---|
| EDB-40759source ↗ | Linux Kernel 4.4 (Ubuntu 16.04) - 'BPF' Local Privilege Escalation (Metasploit)linux · Metasploit | local | 14 November 2016 | yes |
| EDB-39772source ↗ | Linux Kernel 4.4.x (Ubuntu 16.04) - 'double-fdput()' bpf(BPF_PROG_LOAD) Privilege Escalationlinux · Google Security Research | local | 4 May 2016 | yes |
References
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=8358b02bf67d3a5d8a825070e1aa73f25fb2e4c7Vendor Advisory
- http://lists.opensuse.org/opensuse-security-announce/2016-06/msg00044.htmlMailing List, Third Party Advisory
- http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.5.5Vendor Advisory
- http://www.openwall.com/lists/oss-security/2016/05/06/4Mailing List, Third Party Advisory
- https://bugs.chromium.org/p/project-zero/issues/detail?id=808Third Party Advisory
- https://bugs.debian.org/823603Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1334307Issue Tracking, Third Party Advisory
- https://github.com/torvalds/linux/commit/8358b02bf67d3a5d8a825070e1aa73f25fb2e4c7Vendor Advisory
- https://www.exploit-db.com/exploits/40759/Third Party Advisory, VDB Entry
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=8358b02bf67d3a5d8a825070e1aa73f25fb2e4c7Vendor Advisory
- http://lists.opensuse.org/opensuse-security-announce/2016-06/msg00044.htmlMailing List, Third Party Advisory
- http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.5.5Vendor Advisory
- http://www.openwall.com/lists/oss-security/2016/05/06/4Mailing List, Third Party Advisory
- https://bugs.chromium.org/p/project-zero/issues/detail?id=808Third Party Advisory
- https://bugs.debian.org/823603Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1334307Issue Tracking, Third Party Advisory
- https://github.com/torvalds/linux/commit/8358b02bf67d3a5d8a825070e1aa73f25fb2e4c7Vendor Advisory
- https://www.exploit-db.com/exploits/40759/Third Party Advisory, VDB Entry
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.