CVE-2017-6001
published 2017-02-18CVE-2017-6001: Race condition in kernel/events/core.c in the Linux kernel before 4.9.7 allows local users to gain privileges via a crafted application that makes concurrent…
PriorityP432high7CVSS 3.1
AVLACHPRNUIRSUCHIHAH
EPSS
1.67%
74.6th percentile
Race condition in kernel/events/core.c in the Linux kernel before 4.9.7 allows local users to gain privileges via a crafted application that makes concurrent perf_event_open system calls for moving a software group into a hardware context. NOTE: this vulnerability exists because of an incomplete fix for CVE-2016-6786.
Affected
9 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 4.9.10-1 (bookworm) | linux 4.9.10-1 (bookworm) |
| linux | linux_kernel | >= 0 < 4.9.10-1 | 4.9.10-1 |
| linux | linux_kernel | >= 0 < 4.9.10-1 | 4.9.10-1 |
| linux | linux_kernel | >= 0 < 4.9.10-1 | 4.9.10-1 |
| linux | linux_kernel | >= 0 < 4.9.10-1 | 4.9.10-1 |
| linux | linux_kernel | >= 0 < 4.4.0-79.100 | 4.4.0-79.100 |
| linux | linux_kernel | >= 3.18.54 < 3.18.92 | 3.18.92 |
| linux | linux_kernel | >= 4.0 < 4.4.65 | 4.4.65 |
| linux | linux_kernel | >= 4.5 < 4.9.7 | 4.9.7 |
CVSS provenance
nvdv3.17.0HIGHCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv2.07.6HIGHAV:N/AC:H/Au:N/C:C/I:C/A:C
osv7.0HIGH
vendor_debian7.0HIGH
vendor_redhat7.0HIGH
vendor_ubuntu5.5MEDIUM
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.
GHSA
GHSA-w3wx-x8m4-p4qj: Race condition in kernel/events/core
ghsa_unreviewed·2022-05-14·CVSS 7.0
CVE-2017-6001 [HIGH] CWE-362 GHSA-w3wx-x8m4-p4qj: Race condition in kernel/events/core
Race condition in kernel/events/core.c in the Linux kernel before 4.9.7 allows local users to gain privileges via a crafted application that makes concurrent perf_event_open system calls for moving a software group into a hardware context. NOTE: this vulnerability exists because of an incomplete fix for CVE-2016-6786.
OSV
linux-hwe vulnerabilities
osv·2017-07-21·CVSS 5.5
[MEDIUM] linux-hwe vulnerabilities
linux-hwe vulnerabilities
USN-3358-1 fixed vulnerabilities in the Linux kernel for Ubuntu 17.04.
This update provides the corresponding updates for the Linux Hardware
Enablement (HWE) kernel from Ubuntu 17.04 for Ubuntu 16.04 LTS. Please
note that this update changes the Linux HWE kernel to the 4.10 based
kernel from Ubuntu 17.04, superseding the 4.8 based HWE kernel from
Ubuntu 16.10.
Ben Harris discovered that the Linux kernel would strip extended privilege
attributes of files when performing a failed unprivileged system call. A
local attacker could use this to cause a denial of service. (CVE-2015-1350)
Ralf Spenneberg discovered that the ext4 implementation in the Linux kernel
did not properly validate meta block groups. An attacker with physical
access could use this to specially cr
OSV
linux-lts-xenial vulnerabilities
osv·2017-06-07·CVSS 5.0
[MEDIUM] linux-lts-xenial vulnerabilities
linux-lts-xenial vulnerabilities
USN-3312-1 fixed vulnerabilities in the Linux kernel for Ubuntu 16.04
LTS. This update provides the corresponding updates for the Linux
Hardware Enablement (HWE) kernel from Ubuntu 16.04 LTS for Ubuntu
14.04 LTS.
It was discovered that the netfilter netlink implementation in the Linux
kernel did not properly validate batch messages. A local attacker with the
CAP_NET_ADMIN capability could use this to expose sensitive information or
cause a denial of service. (CVE-2016-7917)
Qian Zhang discovered a heap-based buffer overflow in the tipc_msg_build()
function in the Linux kernel. A local attacker could use to cause a denial
of service (system crash) or possibly execute arbitrary code with
administrative privileges. (CVE-2016-8632)
It was discovered that th
OSV
linux, linux-aws, linux-gke, linux-raspi2, linux-snapdragon vulnerabilities
osv·2017-06-07·CVSS 5.0
CVE-2016-7917 [MEDIUM] linux, linux-aws, linux-gke, linux-raspi2, linux-snapdragon vulnerabilities
linux, linux-aws, linux-gke, linux-raspi2, linux-snapdragon vulnerabilities
It was discovered that the netfilter netlink implementation in the Linux
kernel did not properly validate batch messages. A local attacker with the
CAP_NET_ADMIN capability could use this to expose sensitive information or
cause a denial of service. (CVE-2016-7917)
Qian Zhang discovered a heap-based buffer overflow in the tipc_msg_build()
function in the Linux kernel. A local attacker could use to cause a denial
of service (system crash) or possibly execute arbitrary code with
administrative privileges. (CVE-2016-8632)
It was discovered that the keyring implementation in the Linux kernel in
some situations did not prevent special internal keyrings from being joined
by userspace keyrings. A privileged local attac
OSV
CVE-2017-6001: Race condition in kernel/events/core
osv·2017-02-18·CVSS 7.0
CVE-2017-6001 [HIGH] CVE-2017-6001: Race condition in kernel/events/core
Race condition in kernel/events/core.c in the Linux kernel before 4.9.7 allows local users to gain privileges via a crafted application that makes concurrent perf_event_open system calls for moving a software group into a hardware context. NOTE: this vulnerability exists because of an incomplete fix for CVE-2016-6786.
Ubuntu
Linux kernel (HWE) vulnerabilities
vendor_ubuntu·2017-07-21·CVSS 5.5
CVE-2015-1350 [MEDIUM] Linux kernel (HWE) vulnerabilities
Title: Linux kernel (HWE) vulnerabilities
Summary: Several security issues were fixed in the Linux kernel.
USN-3358-1 fixed vulnerabilities in the Linux kernel for Ubuntu 17.04.
This update provides the corresponding updates for the Linux Hardware
Enablement (HWE) kernel from Ubuntu 17.04 for Ubuntu 16.04 LTS. Please
note that this update changes the Linux HWE kernel to the 4.10 based
kernel from Ubuntu 17.04, superseding the 4.8 based HWE kernel from
Ubuntu 16.10.
Ben Harris discovered that the Linux kernel would strip extended privilege
attributes of files when performing a failed unprivileged system call. A
local attacker could use this to cause a denial of service. (CVE-2015-1350)
Ralf Spenneberg discovered that the ext4 implementation in the Linux kernel
did not properly validate
Ubuntu
Linux kernel (Xenial HWE) vulnerabilities
vendor_ubuntu·2017-06-07·CVSS 5.0
CVE-2016-7913 [MEDIUM] Linux kernel (Xenial HWE) vulnerabilities
Title: Linux kernel (Xenial HWE) vulnerabilities
Summary: Several security issues were fixed in the Linux kernel.
USN-3312-1 fixed vulnerabilities in the Linux kernel for Ubuntu 16.04
LTS. This update provides the corresponding updates for the Linux
Hardware Enablement (HWE) kernel from Ubuntu 16.04 LTS for Ubuntu
14.04 LTS.
It was discovered that the netfilter netlink implementation in the Linux
kernel did not properly validate batch messages. A local attacker with the
CAP_NET_ADMIN capability could use this to expose sensitive information or
cause a denial of service. (CVE-2016-7917)
Qian Zhang discovered a heap-based buffer overflow in the tipc_msg_build()
function in the Linux kernel. A local attacker could use to cause a denial
of service (system crash) or possibly execute arbitra
Ubuntu
Linux kernel vulnerabilities
vendor_ubuntu·2017-06-07·CVSS 5.0
CVE-2016-7913 [MEDIUM] Linux kernel vulnerabilities
Title: Linux kernel vulnerabilities
Summary: Several security issues were fixed in the Linux kernel.
It was discovered that the netfilter netlink implementation in the Linux
kernel did not properly validate batch messages. A local attacker with the
CAP_NET_ADMIN capability could use this to expose sensitive information or
cause a denial of service. (CVE-2016-7917)
Qian Zhang discovered a heap-based buffer overflow in the tipc_msg_build()
function in the Linux kernel. A local attacker could use to cause a denial
of service (system crash) or possibly execute arbitrary code with
administrative privileges. (CVE-2016-8632)
It was discovered that the keyring implementation in the Linux kernel in
some situations did not prevent special internal keyrings from being joined
by userspace keyrings
Red Hat
kernel: Race condition between multiple sys_perf_event_open() calls
vendor_redhat·2017-01-14·CVSS 7.0
CVE-2017-6001 [HIGH] CWE-362 kernel: Race condition between multiple sys_perf_event_open() calls
kernel: Race condition between multiple sys_perf_event_open() calls
Race condition in kernel/events/core.c in the Linux kernel before 4.9.7 allows local users to gain privileges via a crafted application that makes concurrent perf_event_open system calls for moving a software group into a hardware context. NOTE: this vulnerability exists because of an incomplete fix for CVE-2016-6786.
It was found that the original fix for CVE-2016-6786 was incomplete. There exist a race between two concurrent sys_perf_event_open() calls when both try and move the same pre-existing software group into a hardware context.
Statement: This issue does not affect the Linux kernel packages as shipped with Red Hat Enterprise Linux 5 as the perf subsystem where the flaw was found is not present in this product.
Debian
CVE-2017-6001: linux - Race condition in kernel/events/core.c in the Linux kernel before 4.9.7 allows l...
vendor_debian·2017·CVSS 7.0
CVE-2017-6001 [HIGH] CVE-2017-6001: linux - Race condition in kernel/events/core.c in the Linux kernel before 4.9.7 allows l...
Race condition in kernel/events/core.c in the Linux kernel before 4.9.7 allows local users to gain privileges via a crafted application that makes concurrent perf_event_open system calls for moving a software group into a hardware context. NOTE: this vulnerability exists because of an incomplete fix for CVE-2016-6786.
Scope: local
bookworm: resolved (fixed in 4.9.10-1)
bullseye: resolved (fixed in 4.9.10-1)
forky: resolved (fixed in 4.9.10-1)
sid: resolved (fixed in 4.9.10-1)
trixie: resolved (fixed in 4.9.10-1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2017-6001 kernel: Race condition between multiple sys_perf_event_open() calls [fedora-all]
bugzilla·2017-02-16·CVSS 7.0
CVE-2017-6001 [HIGH] CVE-2017-6001 kernel: Race condition between multiple sys_perf_event_open() calls [fedora-all]
CVE-2017-6001 kernel: Race condition between multiple sys_perf_event_open() calls [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-all.
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 s
Bugzilla
CVE-2017-6001 kernel: Race condition between multiple sys_perf_event_open() calls
bugzilla·2017-02-16·CVSS 7.0
CVE-2017-6001 [HIGH] CVE-2017-6001 kernel: Race condition between multiple sys_perf_event_open() calls
CVE-2017-6001 kernel: Race condition between multiple sys_perf_event_open() calls
It was found that the original fix for CVE-2016-6786 was incomplete. There exist a race between two concurrent sys_perf_event_open() calls when both try and move the same pre-existing software group into a hardware context.
References:
https://marc.info/?l=linux-kernel&m=148370849716035
http://seclists.org/oss-sec/2017/q1/446
Upstream patch:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=321027c1fe77f892f4ea07846aeae08cefbbb290
Discussion:
Created kernel tracking bugs for this issue:
Affects: fedora-all [bug 1422827]
---
This was fixed in the 4.9.7 stable update available to all Fedora releases.
---
Statement:
This issue does not affect the Linux kernel packages as shi
arXiv
A Context-Sensitive, Outlier-Based Static Analysis to Find Kernel Race Conditions
arxiv_fulltext·2024-03-30
A Context-Sensitive, Outlier-Based Static Analysis to Find Kernel Race Conditions
A Context-Sensitive, Outlier-Based Static Analysis to Find Kernel Race Conditions
Niels Dossche
Ghent University
Bert Abrath
Ghent University
Bart Coppens
Ghent University
* [1][1ex]
-0.5ex 0.5ex 0 0
* [1][1ex]
-0.5ex 0.5ex 0 0
* [1][1ex]
0 0.5ex 0 0
* [1][1ex]
* [1][1ex]
* [1][1ex]
1mm
bccnt
[1]bccnt
magentaBart [ ]: #1
bacnt
[1]bacnt
blueBert [ ]: #1
ndcnt
carrotorangergb0.93, 0.57, 0.13
[1]ndcnt
carrotorangeNiels [ ]: #1
LLIF
[1]round(#1, 2) (floor(100*#1) == 100*#1) ? 0 : 9 0.00
[2]
#1#2
[1]100 * #1falsepositives / (#1truepositives + #1falsepositives)%
1214
24
23
1107
211
648
248
modulesandcorenoheuristics
611
257
169
185
modulesandcoreallheuristics
0.10%
1 minute and 3 seconds
56 seconds
49 seconds
8 minutes and 59 seconds
5 minutes and 42 seconds
mygreenrgb0,
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=321027c1fe77f892f4ea07846aeae08cefbbb290http://www.debian.org/security/2017/dsa-3791http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.9.7http://www.openwall.com/lists/oss-security/2017/02/16/1http://www.securityfocus.com/bid/96264https://access.redhat.com/errata/RHSA-2017:1842https://access.redhat.com/errata/RHSA-2017:2077https://access.redhat.com/errata/RHSA-2017:2669https://access.redhat.com/errata/RHSA-2018:1854https://bugzilla.redhat.com/show_bug.cgi?id=1422825https://github.com/torvalds/linux/commit/321027c1fe77f892f4ea07846aeae08cefbbb290https://source.android.com/security/bulletin/pixel/2017-11-01http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=321027c1fe77f892f4ea07846aeae08cefbbb290http://www.debian.org/security/2017/dsa-3791http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.9.7http://www.openwall.com/lists/oss-security/2017/02/16/1http://www.securityfocus.com/bid/96264https://access.redhat.com/errata/RHSA-2017:1842https://access.redhat.com/errata/RHSA-2017:2077https://access.redhat.com/errata/RHSA-2017:2669https://access.redhat.com/errata/RHSA-2018:1854https://bugzilla.redhat.com/show_bug.cgi?id=1422825https://github.com/torvalds/linux/commit/321027c1fe77f892f4ea07846aeae08cefbbb290https://source.android.com/security/bulletin/pixel/2017-11-01
2017-02-18
Published