5.5
MEDIUM
CVE-2015-8970
Linux AF_ALG Socket Setkey Accept Denial of Service Vulnerability
Description

crypto/algif_skcipher.c in the Linux kernel before 4.4.2 does not verify that a setkey operation has been performed on an AF_ALG socket before an accept system call is processed, which allows local users to cause a denial of service (NULL pointer dereference and system crash) via a crafted application that does not supply a key, related to the lrw_crypt function in crypto/lrw.c.

INFO

Published Date :

Nov. 28, 2016, 3:59 a.m.

Last Modified :

Nov. 21, 2024, 2:39 a.m.

Remotely Exploitable :

No

Impact Score :

3.6

Exploitability Score :

1.8
Public PoC/Exploit Available at Github

CVE-2015-8970 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2015-8970 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2015-8970.

URL Resource
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=dd504589577d8e8e70f51f997ad487a4cb6c026f Issue Tracking Patch Vendor Advisory
http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.4.2 Release Notes
http://www.openwall.com/lists/oss-security/2016/11/04/3 Mailing List Third Party Advisory
http://www.securityfocus.com/bid/94217 Third Party Advisory VDB Entry
https://access.redhat.com/errata/RHSA-2017:1842
https://access.redhat.com/errata/RHSA-2017:2077
https://access.redhat.com/errata/RHSA-2017:2437
https://access.redhat.com/errata/RHSA-2017:2444
https://bugzilla.redhat.com/show_bug.cgi?id=1386286 Issue Tracking
https://github.com/torvalds/linux/commit/dd504589577d8e8e70f51f997ad487a4cb6c026f Issue Tracking Patch Third Party Advisory
https://groups.google.com/forum/#%21msg/syzkaller/frb2XrB5aWk/xCXzkIBcDAAJ
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=dd504589577d8e8e70f51f997ad487a4cb6c026f Issue Tracking Patch Vendor Advisory
http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.4.2 Release Notes
http://www.openwall.com/lists/oss-security/2016/11/04/3 Mailing List Third Party Advisory
http://www.securityfocus.com/bid/94217 Third Party Advisory VDB Entry
https://access.redhat.com/errata/RHSA-2017:1842
https://access.redhat.com/errata/RHSA-2017:2077
https://access.redhat.com/errata/RHSA-2017:2437
https://access.redhat.com/errata/RHSA-2017:2444
https://bugzilla.redhat.com/show_bug.cgi?id=1386286 Issue Tracking
https://github.com/torvalds/linux/commit/dd504589577d8e8e70f51f997ad487a4cb6c026f Issue Tracking Patch Third Party Advisory
https://groups.google.com/forum/#%21msg/syzkaller/frb2XrB5aWk/xCXzkIBcDAAJ

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Python

Updated: 3 weeks, 5 days ago
10 stars 1 fork 1 watcher
Born at : Aug. 30, 2017, 2:37 p.m. This repo has been linked 1269 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2015-8970 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2015-8970 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Feb. 13, 2023

    Action Type Old Value New Value
    Changed Description The lrw_crypt() function in 'crypto/lrw.c' in the Linux kernel before 4.5 allows local users to cause a system crash and a denial of service by the NULL pointer dereference via accept(2) system call for AF_ALG socket without calling setkey() first to set a cipher key. crypto/algif_skcipher.c in the Linux kernel before 4.4.2 does not verify that a setkey operation has been performed on an AF_ALG socket before an accept system call is processed, which allows local users to cause a denial of service (NULL pointer dereference and system crash) via a crafted application that does not supply a key, related to the lrw_crypt function in crypto/lrw.c.
    Removed CVSS V2 Red Hat, Inc. (AV:L/AC:L/Au:N/C:N/I:N/A:C)
    Removed CVSS V3 Red Hat, Inc. AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
    Removed Reference https://access.redhat.com/security/cve/CVE-2015-8970 [No Types Assigned]
  • CVE Modified by [email protected]

    Feb. 02, 2023

    Action Type Old Value New Value
    Changed Description crypto/algif_skcipher.c in the Linux kernel before 4.4.2 does not verify that a setkey operation has been performed on an AF_ALG socket before an accept system call is processed, which allows local users to cause a denial of service (NULL pointer dereference and system crash) via a crafted application that does not supply a key, related to the lrw_crypt function in crypto/lrw.c. The lrw_crypt() function in 'crypto/lrw.c' in the Linux kernel before 4.5 allows local users to cause a system crash and a denial of service by the NULL pointer dereference via accept(2) system call for AF_ALG socket without calling setkey() first to set a cipher key.
    Added CVSS V2 Red Hat, Inc. (AV:L/AC:L/Au:N/C:N/I:N/A:C)
    Added CVSS V3 Red Hat, Inc. AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
    Removed Reference https://groups.google.com/forum/#!msg/syzkaller/frb2XrB5aWk/xCXzkIBcDAAJ [No Types Assigned]
    Added Reference https://groups.google.com/forum/#%21msg/syzkaller/frb2XrB5aWk/xCXzkIBcDAAJ [No Types Assigned]
    Added Reference https://access.redhat.com/security/cve/CVE-2015-8970 [No Types Assigned]
  • CVE Modified by [email protected]

    Aug. 13, 2018

    Action Type Old Value New Value
    Removed Reference https://groups.google.com/forum/#%21msg/syzkaller/frb2XrB5aWk/xCXzkIBcDAAJ [Third Party Advisory]
    Added Reference https://groups.google.com/forum/#!msg/syzkaller/frb2XrB5aWk/xCXzkIBcDAAJ [No Types Assigned]
  • CVE Modified by [email protected]

    Jan. 05, 2018

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHSA-2017:2444 [No Types Assigned]
    Added Reference https://access.redhat.com/errata/RHSA-2017:2437 [No Types Assigned]
    Added Reference https://access.redhat.com/errata/RHSA-2017:2077 [No Types Assigned]
    Added Reference https://access.redhat.com/errata/RHSA-2017:1842 [No Types Assigned]
  • Initial Analysis by [email protected]

    Nov. 29, 2016

    Action Type Old Value New Value
    Added CPE Configuration Configuration 1 OR *cpe:2.3:o:linux:linux_kernel:4.4.1:*:*:*:*:*:*:* (and previous)
    Added CVSS V2 (AV:L/AC:L/Au:N/C:N/I:N/A:C)
    Added CVSS V3 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
    Changed Reference Type http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.4.2 No Types Assigned http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.4.2 Release Notes
    Changed Reference Type https://github.com/torvalds/linux/commit/dd504589577d8e8e70f51f997ad487a4cb6c026f No Types Assigned https://github.com/torvalds/linux/commit/dd504589577d8e8e70f51f997ad487a4cb6c026f Third Party Advisory, Issue Tracking, Patch
    Changed Reference Type https://groups.google.com/forum/#%21msg/syzkaller/frb2XrB5aWk/xCXzkIBcDAAJ No Types Assigned https://groups.google.com/forum/#%21msg/syzkaller/frb2XrB5aWk/xCXzkIBcDAAJ Third Party Advisory
    Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=1386286 No Types Assigned https://bugzilla.redhat.com/show_bug.cgi?id=1386286 Issue Tracking
    Changed Reference Type http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=dd504589577d8e8e70f51f997ad487a4cb6c026f No Types Assigned http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=dd504589577d8e8e70f51f997ad487a4cb6c026f Issue Tracking, Vendor Advisory, Patch
    Changed Reference Type http://www.securityfocus.com/bid/94217 No Types Assigned http://www.securityfocus.com/bid/94217 Third Party Advisory, VDB Entry
    Changed Reference Type http://www.openwall.com/lists/oss-security/2016/11/04/3 No Types Assigned http://www.openwall.com/lists/oss-security/2016/11/04/3 Third Party Advisory, Mailing List
    Added CWE CWE-476
  • CVE Modified by [email protected]

    Nov. 28, 2016

    Action Type Old Value New Value
    Removed Reference https://groups.google.com/forum/#!msg/syzkaller/frb2XrB5aWk/xCXzkIBcDAAJ [No Types Assigned]
    Added Reference https://groups.google.com/forum/#%21msg/syzkaller/frb2XrB5aWk/xCXzkIBcDAAJ [No Types Assigned]
    Added Reference http://www.securityfocus.com/bid/94217 [No Types Assigned]
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2015-8970 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2015-8970 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.04 }} 0.00%

score

0.05635

percentile

CVSS30 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability