CVE-2016-7117
published 2016-10-10CVE-2016-7117: Use-after-free vulnerability in the __sys_recvmmsg function in net/socket.c in the Linux kernel before 4.5.2 allows remote attackers to execute arbitrary code…
PriorityP261critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EPSS
24.30%
97.6th percentile
Use-after-free vulnerability in the __sys_recvmmsg function in net/socket.c in the Linux kernel before 4.5.2 allows remote attackers to execute arbitrary code via vectors involving a recvmmsg system call that is mishandled during error processing.
Affected
18 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| canonical | ubuntu_linux | — | — |
| debian | debian_linux | — | — |
| debian | linux | < linux 4.5.2-1 (bookworm) | linux 4.5.2-1 (bookworm) |
| android | — | — | |
| linux | linux_kernel | >= 0 < 4.5.2-1 | 4.5.2-1 |
| linux | linux_kernel | >= 0 < 4.5.2-1 | 4.5.2-1 |
| linux | linux_kernel | >= 0 < 4.5.2-1 | 4.5.2-1 |
| linux | linux_kernel | >= 0 < 4.5.2-1 | 4.5.2-1 |
| linux | linux_kernel | >= 2.6.33 < 3.2.80 | 3.2.80 |
| linux | linux_kernel | >= 3.11 < 3.12.59 | 3.12.59 |
| linux | linux_kernel | >= 3.13 < 3.14.67 | 3.14.67 |
| linux | linux_kernel | >= 3.15 < 3.16.35 | 3.16.35 |
| linux | linux_kernel | >= 3.17 < 3.18.37 | 3.18.37 |
| linux | linux_kernel | >= 3.19 < 4.1.28 | 4.1.28 |
| linux | linux_kernel | >= 3.3 < 3.4.113 | 3.4.113 |
| linux | linux_kernel | >= 3.5 < 3.10.102 | 3.10.102 |
| linux | linux_kernel | >= 4.2.0 < 4.4.8 | 4.4.8 |
| linux | linux_kernel | >= 4.5.0 < 4.5.2 | 4.5.2 |
Detection & IOCsextracted from sources · hover to see the quote
- →Target the __sys_recvmmsg() function in net/socket.c — the use-after-free is triggered during error handling routines within this function via a recvmmsg(2) system call ↗
- →Monitor for exploitation attempts targeting the recvmmsg(2) syscall from remote sources, particularly patterns that induce error conditions in the recvmmsg exit path ↗
- →On Android, track reference A-30515201 (rated CRITICAL) for device-specific detection; the vulnerability is present in upstream kernel and Android CAF builds ↗
- →CVE-2017-8281 is a confirmed duplicate of CVE-2016-7117 affecting Qualcomm/CAF Android kernels via a race condition in DCI event status querying — detections for CVE-2016-7117 cover both ↗
- ·Vulnerable code path is in net/socket.c; only Linux kernels before 4.5.2 are affected — kernels >= 4.5.2 have the fix applied ↗
- ·Red Hat Enterprise Linux 5, 6, 7, MRG-2, and realtime kernel variants were all confirmed affected at time of disclosure ↗
CVSS provenance
nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvdv2.010.0CRITICALAV:N/AC:L/Au:N/C:C/I:C/A:C
osv9.8CRITICAL
vendor_debian9.8CRITICAL
vendor_redhat9.8CRITICAL
vendor_ubuntu6.2MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
Linux kernel vulnerabilities
vendor_ubuntu·2016-11-11·CVSS 6.2
CVE-2016-7042 [MEDIUM] Linux kernel vulnerabilities
Title: Linux kernel vulnerabilities
Summary: Several security issues were fixed in the kernel.
Ondrej Kozina discovered that the keyring interface in the Linux kernel
contained a buffer overflow when displaying timeout events via the
/proc/keys interface. A local attacker could use this to cause a denial of
service (system crash). (CVE-2016-7042)
Dmitry Vyukov discovered a use-after-free vulnerability during error
processing in the recvmmsg(2) implementation in the Linux kernel. A remote
attacker could use this to cause a denial of service (system crash) or
possibly execute arbitrary code. (CVE-2016-7117)
Instructions: After a standard system update you need to reboot your computer to make
all the necessary changes.
ATTENTION: Due to an unavoidable ABI change the kernel updates have
b
Ubuntu
Linux kernel (OMAP4) vulnerabilities
vendor_ubuntu·2016-11-11·CVSS 6.2
CVE-2016-7042 [MEDIUM] Linux kernel (OMAP4) vulnerabilities
Title: Linux kernel (OMAP4) vulnerabilities
Summary: Several security issues were fixed in the kernel.
Ondrej Kozina discovered that the keyring interface in the Linux kernel
contained a buffer overflow when displaying timeout events via the
/proc/keys interface. A local attacker could use this to cause a denial of
service (system crash). (CVE-2016-7042)
Dmitry Vyukov discovered a use-after-free vulnerability during error
processing in the recvmmsg(2) implementation in the Linux kernel. A remote
attacker could use this to cause a denial of service (system crash) or
possibly execute arbitrary code. (CVE-2016-7117)
Instructions: After a standard system update you need to reboot your computer to make
all the necessary changes.
ATTENTION: Due to an unavoidable ABI change the kernel update
Android
CVE-2016-7117: Android Security Bulletin 2016-10-01
CVE: CVE-2016-7117
Severity: CRITICAL
References: A-30515201
Upstream
kernel
vendor_android·2016-10-01·CVSS 9.8
CVE-2016-7117 [CRITICAL] CVE-2016-7117: Android Security Bulletin 2016-10-01
CVE: CVE-2016-7117
Severity: CRITICAL
References: A-30515201
Upstream
kernel
Android Security Bulletin 2016-10-01
CVE: CVE-2016-7117
Severity: CRITICAL
References: A-30515201
Upstream
kernel
Red Hat
kernel: Use-after-free in the recvmmsg exit path
vendor_redhat·2016-03-14·CVSS 9.8
CVE-2016-7117 [CRITICAL] CWE-416 kernel: Use-after-free in the recvmmsg exit path
kernel: Use-after-free in the recvmmsg exit path
Use-after-free vulnerability in the __sys_recvmmsg function in net/socket.c in the Linux kernel before 4.5.2 allows remote attackers to execute arbitrary code via vectors involving a recvmmsg system call that is mishandled during error processing.
A use-after-free vulnerability was found in the kernel's socket recvmmsg subsystem. This may allow remote attackers to corrupt memory and may allow execution of arbitrary code. This corruption takes place during the error handling routines within __sys_recvmmsg() function.
Statement: This issue affects the Linux kernels as shipped with Red Hat Enterprise Linux 5, 6, 7, MRG-2 and realtime and may be addressed in a future update.
Red Hat
kernel: use after free in the recvmmsg exit path
vendor_redhat·2016-03-14·CVSS 9.8
CVE-2017-8281 [CRITICAL] CWE-416 kernel: use after free in the recvmmsg exit path
kernel: use after free in the recvmmsg exit path
In all Qualcomm products with Android releases from CAF using the Linux kernel, a race condition can allow access to already freed memory while querying event status via DCI.
Statement: This issue is a duplicate of CVE-2016-7117; refer to that CVE for details. It has already been fixed in all supported Red Hat products.
Package: kernel (Red Hat Enterprise Linux 5) - Not affected
Package: kernel (Red Hat Enterprise Linux 6) - Not affected
Package: kernel (Red Hat Enterprise Linux 7) - Not affected
Package: kernel-alt (Red Hat Enterprise Linux 7) - Not affected
Package: kernel-rt (Red Hat Enterprise Linux 7) - Not affected
Package: realtime-kernel (Red Hat Enterprise MRG 2) - Not affected
Debian
CVE-2016-7117: linux - Use-after-free vulnerability in the __sys_recvmmsg function in net/socket.c in t...
vendor_debian·2016·CVSS 9.8
CVE-2016-7117 [CRITICAL] CVE-2016-7117: linux - Use-after-free vulnerability in the __sys_recvmmsg function in net/socket.c in t...
Use-after-free vulnerability in the __sys_recvmmsg function in net/socket.c in the Linux kernel before 4.5.2 allows remote attackers to execute arbitrary code via vectors involving a recvmmsg system call that is mishandled during error processing.
Scope: local
bookworm: resolved (fixed in 4.5.2-1)
bullseye: resolved (fixed in 4.5.2-1)
forky: resolved (fixed in 4.5.2-1)
sid: resolved (fixed in 4.5.2-1)
trixie: resolved (fixed in 4.5.2-1)
GHSA
GHSA-ggx5-r43p-75wm: Use-after-free vulnerability in the __sys_recvmmsg function in net/socket
ghsa_unreviewed·2022-05-14
CVE-2016-7117 [CRITICAL] GHSA-ggx5-r43p-75wm: Use-after-free vulnerability in the __sys_recvmmsg function in net/socket
Use-after-free vulnerability in the __sys_recvmmsg function in net/socket.c in the Linux kernel before 4.5.2 allows remote attackers to execute arbitrary code via vectors involving a recvmmsg system call that is mishandled during error processing.
OSV
CVE-2016-7117: Use-after-free vulnerability in the __sys_recvmmsg function in net/socket
osv·2016-10-10·CVSS 9.8
CVE-2016-7117 [CRITICAL] CVE-2016-7117: Use-after-free vulnerability in the __sys_recvmmsg function in net/socket
Use-after-free vulnerability in the __sys_recvmmsg function in net/socket.c in the Linux kernel before 4.5.2 allows remote attackers to execute arbitrary code via vectors involving a recvmmsg system call that is mishandled during error processing.
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2017-8281 kernel: use after free in the recvmmsg exit path
bugzilla·2017-09-06·CVSS 9.8
CVE-2017-8281 [CRITICAL] CVE-2017-8281 kernel: use after free in the recvmmsg exit path
CVE-2017-8281 kernel: use after free in the recvmmsg exit path
Use after free vulnerability in the recvmmsg exit path was found.
Patch:
https://source.codeaurora.org/quic/la/kernel/msm-3.18/commit/?id%3D9be5b16de622c2426408425e3df29e945cd21d37&sa=D&usg=AFQjCNHuM63XOo5Y0C7bMJQIIedBHSDKjw
Discussion:
External References:
https://source.android.com/security/bulletin/2017-09-01
---
Statement:
This issue is a duplicate of CVE-2016-7117; refer to that CVE for details. It has already been fixed in all supported Red Hat products.
---
*** This bug has been marked as a duplicate of bug 1382268 ***
Bugzilla
CVE-2016-7117 kernel: Use-after-free in the recvmmsg exit path
bugzilla·2016-10-06·CVSS 9.8
CVE-2016-7117 [CRITICAL] CVE-2016-7117 kernel: Use-after-free in the recvmmsg exit path
CVE-2016-7117 kernel: Use-after-free in the recvmmsg exit path
A use after free vulnerability was found in the kernels socket recvmsg subsystem. This may allows remote attackers to corrupt memory and may allow execution of arbitrary code. This corruption takes place during the error handling routines within __sys_recvmmsg() function.
To attack the kernel using this method the system must be running application using the UDP recvmmsg syscall().
Upstream patch:
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=34b88a68f26a75e4fded796f1a49c40f82234b7d
Upstream discussion:
https://patchwork.kernel.org/patch/8093221/
Additional Write up:
https://blog.lizzie.io/notes-about-cve-2016-7117.html
Discussion:
Created kernel tracking bugs for this issue:
Affects: fedora
Bugzilla
CVE-2016-7117 kernel: Use-after-free in the recvmmsg exit path [fedora-all]
bugzilla·2016-10-06·CVSS 9.8
CVE-2016-7117 [CRITICAL] CVE-2016-7117 kernel: Use-after-free in the recvmmsg exit path [fedora-all]
CVE-2016-7117 kernel: Use-after-free in the recvmmsg exit path [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported versions of Fe
arXiv
Trusted Container Extensions for Container-based Confidential Computing
arxiv_fulltext·2022-05-11
Trusted Container Extensions for Container-based Confidential Computing
Trusted Container Extensions for Container-based Confidential Computing
draft
[1]
plain
Anonymous
[1]
camera
Ferdinand Brasser, Patrick Jauernig, Frederik Pustelnik,
Ahmad-Reza Sadeghi, Emmanuel Stapf
Technical University of Darmstadt, Germany
\ferdinand.brasser, patrick.jauernig, emmanuel.stapf\@sanctuary.dev
\ahmad.sadeghi\@trust.tu-darmstadt.de
## Abstract
Cloud computing has emerged as a corner stone of today's computing landscape. More and more customers who outsource their infrastructure benefit from the manageability, scalability and cost saving that come with cloud computing. Those benefits get amplified by the trend towards microservices. Instead of renting and maintaining full VMs, customers increasingly leverage container technologies, which come with a much more light
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=34b88a68f26a75e4fded796f1a49c40f82234b7dhttp://rhn.redhat.com/errata/RHSA-2016-2962.htmlhttp://rhn.redhat.com/errata/RHSA-2017-0031.htmlhttp://rhn.redhat.com/errata/RHSA-2017-0036.htmlhttp://rhn.redhat.com/errata/RHSA-2017-0065.htmlhttp://rhn.redhat.com/errata/RHSA-2017-0086.htmlhttp://rhn.redhat.com/errata/RHSA-2017-0091.htmlhttp://rhn.redhat.com/errata/RHSA-2017-0113.htmlhttp://rhn.redhat.com/errata/RHSA-2017-0196.htmlhttp://rhn.redhat.com/errata/RHSA-2017-0215.htmlhttp://rhn.redhat.com/errata/RHSA-2017-0216.htmlhttp://rhn.redhat.com/errata/RHSA-2017-0217.htmlhttp://rhn.redhat.com/errata/RHSA-2017-0270.htmlhttp://source.android.com/security/bulletin/2016-10-01.htmlhttp://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.5.2http://www.securityfocus.com/bid/93304https://bugzilla.novell.com/show_bug.cgi?id=1003077https://bugzilla.redhat.com/show_bug.cgi?id=1382268https://github.com/torvalds/linux/commit/34b88a68f26a75e4fded796f1a49c40f82234b7dhttps://people.canonical.com/~ubuntu-security/cve/2016/CVE-2016-7117.htmlhttps://security-tracker.debian.org/tracker/CVE-2016-7117http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=34b88a68f26a75e4fded796f1a49c40f82234b7dhttp://rhn.redhat.com/errata/RHSA-2016-2962.htmlhttp://rhn.redhat.com/errata/RHSA-2017-0031.htmlhttp://rhn.redhat.com/errata/RHSA-2017-0036.htmlhttp://rhn.redhat.com/errata/RHSA-2017-0065.htmlhttp://rhn.redhat.com/errata/RHSA-2017-0086.htmlhttp://rhn.redhat.com/errata/RHSA-2017-0091.htmlhttp://rhn.redhat.com/errata/RHSA-2017-0113.htmlhttp://rhn.redhat.com/errata/RHSA-2017-0196.htmlhttp://rhn.redhat.com/errata/RHSA-2017-0215.htmlhttp://rhn.redhat.com/errata/RHSA-2017-0216.htmlhttp://rhn.redhat.com/errata/RHSA-2017-0217.htmlhttp://rhn.redhat.com/errata/RHSA-2017-0270.htmlhttp://source.android.com/security/bulletin/2016-10-01.htmlhttp://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.5.2http://www.securityfocus.com/bid/93304https://bugzilla.novell.com/show_bug.cgi?id=1003077https://bugzilla.redhat.com/show_bug.cgi?id=1382268https://github.com/torvalds/linux/commit/34b88a68f26a75e4fded796f1a49c40f82234b7dhttps://people.canonical.com/~ubuntu-security/cve/2016/CVE-2016-7117.htmlhttps://security-tracker.debian.org/tracker/CVE-2016-7117
2016-10-10
Published