CVE-2016-4557
Summary
| CVE | CVE-2016-4557 |
|---|---|
| State | PUBLISHED |
| Assigner | mitre |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2016-05-23 10:59:03 UTC |
| Updated | 2026-05-06 22:30:45 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 7.8 HIGH from [email protected]
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Problem Types: NVD-CWE-Other | n/a
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 2.0 | [email protected] | Primary | 7.2 | AV:L/AC:L/Au:N/C:C/I:C/A:C |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v2.0 Breakdown
Access Vector
LocalAccess Complexity
LowAuthentication
NoneConfidentiality
CompleteIntegrity
CompleteAvailability
CompleteAV:L/AC:L/Au:N/C:C/I:C/A:C
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| bpf: fix double-fdput in replace_map_fd_with_map_ptr() · torvalds/linux@8358b02 · GitHub | af854a3a-2127-422b-91ae-364da2661108 | github.com | Vendor Advisory |
| 1334307 – (CVE-2016-4557) CVE-2016-4557 kernel: Use after free vulnerability via double fdput | af854a3a-2127-422b-91ae-364da2661108 | bugzilla.redhat.com | Issue Tracking, Third Party Advisory |
| Exploit – Page 40759 – Exploits Database | af854a3a-2127-422b-91ae-364da2661108 | www.exploit-db.com | Third Party Advisory, VDB Entry |
| oss-security - CVE Requests: Linux: BPF flaws (one use-after-free / local root privilege escalation) | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | Mailing List, Third Party Advisory |
| 808 - Linux: UAF via double-fdput() in bpf(BPF_PROG_LOAD) error path - project-zero - Monorail | af854a3a-2127-422b-91ae-364da2661108 | bugs.chromium.org | Third Party Advisory |
| [security-announce] openSUSE-SU-2016:1641-1: important: Security update | af854a3a-2127-422b-91ae-364da2661108 | lists.opensuse.org | Mailing List, Third Party Advisory |
| kernel/git/torvalds/linux.git - Linux kernel source tree | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Vendor Advisory |
| www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.5.5 | af854a3a-2127-422b-91ae-364da2661108 | www.kernel.org | Vendor Advisory |
| #823603 - linux: CVE-2016-4557: [Local root exploit] Use after free via double-fdput in bpf - Debian Bug report logs | af854a3a-2127-422b-91ae-364da2661108 | bugs.debian.org | Third Party Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.