{"id":"CVE-2016-4557","state":"PUBLISHED","title":"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","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.","publishedAt":"2016-05-23T10:00:00.000Z","updatedAt":"2024-08-06T00:32:25.891Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://bugs.debian.org/823603","http://lists.opensuse.org/opensuse-security-announce/2016-06/msg00044.html","https://bugzilla.redhat.com/show_bug.cgi?id=1334307","https://github.com/torvalds/linux/commit/8358b02bf67d3a5d8a825070e1aa73f25fb2e4c7","http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.5.5","https://bugs.chromium.org/p/project-zero/issues/detail?id=808","http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=8358b02bf67d3a5d8a825070e1aa73f25fb2e4c7","http://www.openwall.com/lists/oss-security/2016/05/06/4","https://www.exploit-db.com/exploits/40759/"],"weaknesses":[],"ingestedAt":"2026-10-29T19:42:43.384Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2016/4xxx/CVE-2016-4557.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2016-4557","state":"PUBLISHED","datePublished":"2016-05-23T10:00:00.000Z","dateUpdated":"2024-08-06T00:32:25.891Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2016-05-06T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://bugs.debian.org/823603","tags":["x_refsource_CONFIRM"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-06/msg00044.html","name":"openSUSE-SU-2016:1641","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1334307","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/torvalds/linux/commit/8358b02bf67d3a5d8a825070e1aa73f25fb2e4c7","tags":["x_refsource_CONFIRM"]},{"url":"http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.5.5","tags":["x_refsource_CONFIRM"]},{"url":"https://bugs.chromium.org/p/project-zero/issues/detail?id=808","tags":["x_refsource_MISC"]},{"url":"http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=8358b02bf67d3a5d8a825070e1aa73f25fb2e4c7","tags":["x_refsource_CONFIRM"]},{"url":"http://www.openwall.com/lists/oss-security/2016/05/06/4","name":"[oss-security] 20160506 CVE Requests: Linux: BPF flaws (one use-after-free / local root privilege escalation)","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://www.exploit-db.com/exploits/40759/","name":"40759","tags":["exploit","x_refsource_EXPLOIT-DB"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2017-09-02T09:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2016-05-06T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2016-4557","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://bugs.debian.org/823603","refsource":"CONFIRM","url":"https://bugs.debian.org/823603"},{"name":"openSUSE-SU-2016:1641","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2016-06/msg00044.html"},{"name":"https://bugzilla.redhat.com/show_bug.cgi?id=1334307","refsource":"CONFIRM","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1334307"},{"name":"https://github.com/torvalds/linux/commit/8358b02bf67d3a5d8a825070e1aa73f25fb2e4c7","refsource":"CONFIRM","url":"https://github.com/torvalds/linux/commit/8358b02bf67d3a5d8a825070e1aa73f25fb2e4c7"},{"name":"http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.5.5","refsource":"CONFIRM","url":"http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.5.5"},{"name":"https://bugs.chromium.org/p/project-zero/issues/detail?id=808","refsource":"MISC","url":"https://bugs.chromium.org/p/project-zero/issues/detail?id=808"},{"name":"http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=8358b02bf67d3a5d8a825070e1aa73f25fb2e4c7","refsource":"CONFIRM","url":"http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=8358b02bf67d3a5d8a825070e1aa73f25fb2e4c7"},{"name":"[oss-security] 20160506 CVE Requests: Linux: BPF flaws (one use-after-free / local root privilege escalation)","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2016/05/06/4"},{"name":"40759","refsource":"EXPLOIT-DB","url":"https://www.exploit-db.com/exploits/40759/"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://bugs.debian.org/823603","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-06/msg00044.html","name":"openSUSE-SU-2016:1641","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1334307","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/torvalds/linux/commit/8358b02bf67d3a5d8a825070e1aa73f25fb2e4c7","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.5.5","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://bugs.chromium.org/p/project-zero/issues/detail?id=808","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=8358b02bf67d3a5d8a825070e1aa73f25fb2e4c7","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2016/05/06/4","name":"[oss-security] 20160506 CVE Requests: Linux: BPF flaws (one use-after-free / local root privilege escalation)","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://www.exploit-db.com/exploits/40759/","name":"40759","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-06T00:32:25.891Z"}}]}}}