7.0
HIGH
CVE-2017-7533
Linux Kernel fsnotify Race Condition Privilege Escalation Denial-of-Service
Description

Race condition in the fsnotify implementation in the Linux kernel through 4.12.4 allows local users to gain privileges or cause a denial of service (memory corruption) via a crafted application that leverages simultaneous execution of the inotify_handle_event and vfs_rename functions.

INFO

Published Date :

Aug. 5, 2017, 4:29 p.m.

Last Modified :

Nov. 21, 2024, 3:32 a.m.

Remotely Exploitable :

No

Impact Score :

5.9

Exploitability Score :

1.0
Public PoC/Exploit Available at Github

CVE-2017-7533 has a 12 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-2017-7533 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-2017-7533.

URL Resource
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=49d31c2f389acfe83417083e1208422b4091cd9e Issue Tracking Patch Third Party Advisory
http://openwall.com/lists/oss-security/2017/08/03/2 Mailing List Patch Third Party Advisory
http://www.debian.org/security/2017/dsa-3927 Third Party Advisory
http://www.debian.org/security/2017/dsa-3945 Third Party Advisory
http://www.openwall.com/lists/oss-security/2019/06/27/7 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2019/06/28/1 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2019/06/28/2 Mailing List Third Party Advisory
http://www.securityfocus.com/bid/100123 Third Party Advisory VDB Entry
http://www.securitytracker.com/id/1039075 Third Party Advisory VDB Entry
https://access.redhat.com/errata/RHSA-2017:2473 Third Party Advisory
https://access.redhat.com/errata/RHSA-2017:2585 Third Party Advisory
https://access.redhat.com/errata/RHSA-2017:2669 Third Party Advisory
https://access.redhat.com/errata/RHSA-2017:2770 Third Party Advisory
https://access.redhat.com/errata/RHSA-2017:2869 Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=1468283 Issue Tracking Patch Third Party Advisory
https://github.com/torvalds/linux/commit/49d31c2f389acfe83417083e1208422b4091cd9e Issue Tracking Patch Third Party Advisory
https://patchwork.kernel.org/patch/9755753/ Issue Tracking Patch Third Party Advisory
https://patchwork.kernel.org/patch/9755757/ Issue Tracking Patch Third Party Advisory
https://source.android.com/security/bulletin/2017-12-01 Third Party Advisory
https://www.mail-archive.com/linux-kernel%40vger.kernel.org/msg1408967.html Third Party Advisory
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=49d31c2f389acfe83417083e1208422b4091cd9e Issue Tracking Patch Third Party Advisory
http://openwall.com/lists/oss-security/2017/08/03/2 Mailing List Patch Third Party Advisory
http://www.debian.org/security/2017/dsa-3927 Third Party Advisory
http://www.debian.org/security/2017/dsa-3945 Third Party Advisory
http://www.openwall.com/lists/oss-security/2019/06/27/7 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2019/06/28/1 Mailing List Third Party Advisory
http://www.openwall.com/lists/oss-security/2019/06/28/2 Mailing List Third Party Advisory
http://www.securityfocus.com/bid/100123 Third Party Advisory VDB Entry
http://www.securitytracker.com/id/1039075 Third Party Advisory VDB Entry
https://access.redhat.com/errata/RHSA-2017:2473 Third Party Advisory
https://access.redhat.com/errata/RHSA-2017:2585 Third Party Advisory
https://access.redhat.com/errata/RHSA-2017:2669 Third Party Advisory
https://access.redhat.com/errata/RHSA-2017:2770 Third Party Advisory
https://access.redhat.com/errata/RHSA-2017:2869 Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=1468283 Issue Tracking Patch Third Party Advisory
https://github.com/torvalds/linux/commit/49d31c2f389acfe83417083e1208422b4091cd9e Issue Tracking Patch Third Party Advisory
https://patchwork.kernel.org/patch/9755753/ Issue Tracking Patch Third Party Advisory
https://patchwork.kernel.org/patch/9755757/ Issue Tracking Patch Third Party Advisory
https://source.android.com/security/bulletin/2017-12-01 Third Party Advisory
https://www.mail-archive.com/linux-kernel%40vger.kernel.org/msg1408967.html Third Party Advisory

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

Makefile C

Updated: 9 months ago
2 stars 1 fork 1 watcher
Born at : July 22, 2023, 3:11 a.m. This repo has been linked 18 different CVEs too.

None

Updated: 1 year, 10 months ago
0 stars 0 fork 0 watcher
Born at : Jan. 11, 2023, 1:21 p.m. This repo has been linked 1044 different CVEs too.

Final NTO2022 InfoSec report

Batchfile

Updated: 2 years, 8 months ago
0 stars 0 fork 0 watcher
Born at : March 12, 2022, 12:08 p.m. This repo has been linked 2 different CVEs too.

None

Updated: 1 year ago
1 stars 0 fork 0 watcher
Born at : March 6, 2022, 8:16 a.m. This repo has been linked 1 different CVEs too.

None

Updated: 3 months, 2 weeks ago
13 stars 4 fork 4 watcher
Born at : May 25, 2020, 7:51 a.m. This repo has been linked 1029 different CVEs too.

Localroot-ALL-CVE~

localroot cheatsheet security kernel linux exploits cve linux-privilege-escalation cybersecurity infosec pentesting

C Shell Python Ruby Makefile HTML Perl Batchfile

Updated: 1 month ago
128 stars 48 fork 48 watcher
Born at : Feb. 2, 2020, 6:25 a.m. This repo has been linked 93 different CVEs too.

Towards Facilitating Exploit Generation of Kernel Out-Of-Bounds Write Vulnerabilities

Updated: 2 months, 1 week ago
84 stars 16 fork 16 watcher
Born at : Nov. 4, 2019, 11:04 p.m. This repo has been linked 4 different CVEs too.

None

C Perl 6 Perl ASP HTML Rich Text Format Visual Basic TeX Assembly Shell

Updated: 3 months, 2 weeks ago
1 stars 1 fork 1 watcher
Born at : June 13, 2019, 1:51 p.m. This repo has been linked 308 different CVEs too.

None

Makefile Go Ragel Yacc

Updated: 2 weeks, 3 days ago
96 stars 25 fork 25 watcher
Born at : July 12, 2018, 3:43 p.m. This repo has been linked 3 different CVEs too.

None

Python

Updated: 3 weeks, 4 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.

✍️ A curated list of CVE PoCs.

awesome cve poc

Updated: 2 days ago
3329 stars 680 fork 680 watcher
Born at : Feb. 2, 2017, 6:43 a.m. This repo has been linked 1044 different CVEs too.

The vm images in this repo are lost, we recommend our new project: https://github.com/hust-open-atom-club/S2VulnHub

linux vulnerability reproduction cve edb

Shell C Perl PHP TeX Python Assembly Makefile HTML XSLT

Updated: 5 days, 6 hours ago
328 stars 71 fork 71 watcher
Born at : July 30, 2015, 10:36 a.m. This repo has been linked 309 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-2017-7533 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2017-7533 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
  • Modified Analysis by [email protected]

    Jun. 21, 2023

    Action Type Old Value New Value
    Removed CVSS V3 NIST AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
    Added CVSS V3.1 NIST AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type http://www.debian.org/security/2017/dsa-3927 No Types Assigned http://www.debian.org/security/2017/dsa-3927 Third Party Advisory
    Changed Reference Type http://www.debian.org/security/2017/dsa-3945 No Types Assigned http://www.debian.org/security/2017/dsa-3945 Third Party Advisory
    Changed Reference Type http://www.openwall.com/lists/oss-security/2019/06/27/7 No Types Assigned http://www.openwall.com/lists/oss-security/2019/06/27/7 Mailing List, Third Party Advisory
    Changed Reference Type http://www.openwall.com/lists/oss-security/2019/06/28/1 No Types Assigned http://www.openwall.com/lists/oss-security/2019/06/28/1 Mailing List, Third Party Advisory
    Changed Reference Type http://www.openwall.com/lists/oss-security/2019/06/28/2 No Types Assigned http://www.openwall.com/lists/oss-security/2019/06/28/2 Mailing List, Third Party Advisory
    Changed Reference Type https://access.redhat.com/errata/RHSA-2017:2473 No Types Assigned https://access.redhat.com/errata/RHSA-2017:2473 Third Party Advisory
    Changed Reference Type https://access.redhat.com/errata/RHSA-2017:2585 No Types Assigned https://access.redhat.com/errata/RHSA-2017:2585 Third Party Advisory
    Changed Reference Type https://access.redhat.com/errata/RHSA-2017:2669 No Types Assigned https://access.redhat.com/errata/RHSA-2017:2669 Third Party Advisory
    Changed Reference Type https://access.redhat.com/errata/RHSA-2017:2770 No Types Assigned https://access.redhat.com/errata/RHSA-2017:2770 Third Party Advisory
    Changed Reference Type https://access.redhat.com/errata/RHSA-2017:2869 No Types Assigned https://access.redhat.com/errata/RHSA-2017:2869 Third Party Advisory
    Changed Reference Type https://source.android.com/security/bulletin/2017-12-01 No Types Assigned https://source.android.com/security/bulletin/2017-12-01 Third Party Advisory
    Changed Reference Type https://www.mail-archive.com/linux-kernel%40vger.kernel.org/msg1408967.html No Types Assigned https://www.mail-archive.com/linux-kernel%40vger.kernel.org/msg1408967.html Third Party Advisory
    Changed CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions up to (including) 4.12.4 OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 3.14 up to (excluding) 3.16.47 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 3.17 up to (excluding) 3.18.64 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 3.19 up to (excluding) 4.4.80 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.5 up to (excluding) 4.9.41 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.10 up to (excluding) 4.12.5
  • CVE Modified by [email protected]

    Feb. 12, 2023

    Action Type Old Value New Value
    Changed Description A race condition was found in the Linux kernel, present since v3.14-rc1 through v4.12. The race happens between threads of inotify_handle_event() and vfs_rename() while running the rename operation against the same file. As a result of the race the next slab data or the slab's free list pointer can be corrupted with attacker-controlled data, which may lead to the privilege escalation. Race condition in the fsnotify implementation in the Linux kernel through 4.12.4 allows local users to gain privileges or cause a denial of service (memory corruption) via a crafted application that leverages simultaneous execution of the inotify_handle_event and vfs_rename functions.
    Removed CVSS V3 Red Hat, Inc. AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Removed Reference https://access.redhat.com/security/cve/CVE-2017-7533 [No Types Assigned]
  • CVE Modified by [email protected]

    Feb. 02, 2023

    Action Type Old Value New Value
    Changed Description Race condition in the fsnotify implementation in the Linux kernel through 4.12.4 allows local users to gain privileges or cause a denial of service (memory corruption) via a crafted application that leverages simultaneous execution of the inotify_handle_event and vfs_rename functions. A race condition was found in the Linux kernel, present since v3.14-rc1 through v4.12. The race happens between threads of inotify_handle_event() and vfs_rename() while running the rename operation against the same file. As a result of the race the next slab data or the slab's free list pointer can be corrupted with attacker-controlled data, which may lead to the privilege escalation.
    Added CVSS V3 Red Hat, Inc. AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    Removed Reference https://www.mail-archive.com/[email protected]/msg1408967.html [Issue Tracking, Patch, Third Party Advisory]
    Added Reference https://access.redhat.com/security/cve/CVE-2017-7533 [No Types Assigned]
    Added Reference https://www.mail-archive.com/linux-kernel%40vger.kernel.org/msg1408967.html [No Types Assigned]
  • CVE Modified by [email protected]

    Jun. 28, 2019

    Action Type Old Value New Value
    Added Reference http://www.openwall.com/lists/oss-security/2019/06/28/2 [No Types Assigned]
  • CVE Modified by [email protected]

    Jun. 28, 2019

    Action Type Old Value New Value
    Added Reference http://www.openwall.com/lists/oss-security/2019/06/28/1 [No Types Assigned]
  • CVE Modified by [email protected]

    Jun. 27, 2019

    Action Type Old Value New Value
    Added Reference http://www.openwall.com/lists/oss-security/2019/06/27/7 [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:2585 [No Types Assigned]
    Added Reference https://access.redhat.com/errata/RHSA-2017:2473 [No Types Assigned]
  • CVE Modified by [email protected]

    Dec. 31, 2017

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHSA-2017:2669 [No Types Assigned]
  • CVE Modified by [email protected]

    Dec. 09, 2017

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHSA-2017:2770 [No Types Assigned]
  • CVE Modified by [email protected]

    Dec. 08, 2017

    Action Type Old Value New Value
    Added Reference https://access.redhat.com/errata/RHSA-2017:2869 [No Types Assigned]
  • CVE Modified by [email protected]

    Dec. 06, 2017

    Action Type Old Value New Value
    Added Reference https://source.android.com/security/bulletin/2017-12-01 [No Types Assigned]
  • CVE Modified by [email protected]

    Nov. 04, 2017

    Action Type Old Value New Value
    Added Reference http://www.debian.org/security/2017/dsa-3945 [No Types Assigned]
    Added Reference http://www.debian.org/security/2017/dsa-3927 [No Types Assigned]
  • Initial Analysis by [email protected]

    Aug. 09, 2017

    Action Type Old Value New Value
    Added CVSS V2 (AV:L/AC:M/Au:N/C:C/I:C/A:C)
    Added CVSS V3 AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
    Changed Reference Type http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=49d31c2f389acfe83417083e1208422b4091cd9e No Types Assigned http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=49d31c2f389acfe83417083e1208422b4091cd9e Issue Tracking, Patch, Third Party Advisory
    Changed Reference Type https://github.com/torvalds/linux/commit/49d31c2f389acfe83417083e1208422b4091cd9e No Types Assigned https://github.com/torvalds/linux/commit/49d31c2f389acfe83417083e1208422b4091cd9e Issue Tracking, Patch, Third Party Advisory
    Changed Reference Type https://patchwork.kernel.org/patch/9755757/ No Types Assigned https://patchwork.kernel.org/patch/9755757/ Issue Tracking, Patch, Third Party Advisory
    Changed Reference Type https://www.mail-archive.com/[email protected]/msg1408967.html No Types Assigned https://www.mail-archive.com/[email protected]/msg1408967.html Issue Tracking, Patch, Third Party Advisory
    Changed Reference Type http://www.securitytracker.com/id/1039075 No Types Assigned http://www.securitytracker.com/id/1039075 Third Party Advisory, VDB Entry
    Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=1468283 No Types Assigned https://bugzilla.redhat.com/show_bug.cgi?id=1468283 Issue Tracking, Patch, Third Party Advisory
    Changed Reference Type http://openwall.com/lists/oss-security/2017/08/03/2 No Types Assigned http://openwall.com/lists/oss-security/2017/08/03/2 Mailing List, Patch, Third Party Advisory
    Changed Reference Type https://patchwork.kernel.org/patch/9755753/ No Types Assigned https://patchwork.kernel.org/patch/9755753/ Issue Tracking, Patch, Third Party Advisory
    Changed Reference Type http://www.securityfocus.com/bid/100123 No Types Assigned http://www.securityfocus.com/bid/100123 Third Party Advisory, VDB Entry
    Added CWE CWE-362
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:4.12.4:*:*:*:*:*:*:* (and previous)
  • CVE Modified by [email protected]

    Aug. 08, 2017

    Action Type Old Value New Value
    Changed Description Race condition in the fsnotify implementation in the Linux kernel through 4.12.4 allows local users to gain privileges or cause a denial of service (memory corruption) via a crafted application that leverages simultaneous execution of the inotify_handle_event and vfs_rename functions, as exploited in the wild in August 2017. Race condition in the fsnotify implementation in the Linux kernel through 4.12.4 allows local users to gain privileges or cause a denial of service (memory corruption) via a crafted application that leverages simultaneous execution of the inotify_handle_event and vfs_rename functions.
  • CVE Modified by [email protected]

    Aug. 07, 2017

    Action Type Old Value New Value
    Added Reference http://www.securitytracker.com/id/1039075 [No Types Assigned]
    Added Reference http://www.securityfocus.com/bid/100123 [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-2017-7533 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-2017-7533 weaknesses.

Exploit Prediction

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

0.05 }} -0.01%

score

0.20568

percentile

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