kernel: a race between inotify_handle_event() and sys_rename()
Published Aug 5, 2017
7.0
HIGHCVSS 3.1
EPSS 1.22%
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.
Affected products
- Vendor n/a Product Linux kernel through 4.12.4 Defaultn/a
- Version Linux kernel through 4.12.4StatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| n/a | Linux kernel through 4.12.4 | n/a |
|
- ≥ 3.14 · < 3.16.47
- ≥ 3.17 · < 3.18.64
- ≥ 3.19 · < 4.4.80
- ≥ 4.5 · < 4.9.41
- ≥ 4.10 · < 4.12.5
No data.
Red Hat Enterprise Linux 7
kernel-0:3.10.0-693.1.1.el7
Fixed · RHSA-2017:2473
Red Hat Enterprise Linux 7
kernel-rt-0:3.10.0-693.2.1.rt56.620.el7
Fixed · RHSA-2017:2585
Red Hat Enterprise Linux 7.2 Extended Update Support
kernel-0:3.10.0-327.61.3.el7
Fixed · RHSA-2017:2869
Red Hat Enterprise Linux 7.3 Extended Update Support
kernel-0:3.10.0-514.32.2.el7
Fixed · RHSA-2017:2770
Red Hat Enterprise MRG 2
kernel-rt-1:3.10.0-693.2.1.rt56.585.el6rt
Fixed · RHSA-2017:2669
Red Hat Enterprise Linux 5
kernel
Not affected
Red Hat Enterprise Linux 6
kernel
Not affected
Red Hat Enterprise Linux 7
kernel-alt
Affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | kernel-0:3.10.0-693.1.1.el7 | Fixed | RHSA-2017:2473 |
| Red Hat Enterprise Linux 7 | kernel-rt-0:3.10.0-693.2.1.rt56.620.el7 | Fixed | RHSA-2017:2585 |
| Red Hat Enterprise Linux 7.2 Extended Update Support | kernel-0:3.10.0-327.61.3.el7 | Fixed | RHSA-2017:2869 |
| Red Hat Enterprise Linux 7.3 Extended Update Support | kernel-0:3.10.0-514.32.2.el7 | Fixed | RHSA-2017:2770 |
| Red Hat Enterprise MRG 2 | kernel-rt-1:3.10.0-693.2.1.rt56.585.el6rt | Fixed | RHSA-2017:2669 |
| Red Hat Enterprise Linux 5 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 6 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel-alt | Affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat statement
This issue does not affect the versions of the Linux kernel as shipped with Red Hat Enterprise Linux 5, 6, 7.0 and 7.1 as the code with the flaw is not present in the products listed. This issue affects the versions of the Linux kernel as shipped with Red Hat Enterprise Linux 7.2 and newer and Red Hat Enterprise MRG 2. Future kernel updates for these products may address this issue.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
AV:L/AC:M/Au:N/C:C/I:C/A:C
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (26 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 1.22% (0.01223) | 67.64th | v5 (v2026.06.15) |
| Jun 15, 2026 | 1.22% (0.01223) | 64.69th | v5 (v2026.06.15) |
| Nov 21, 2025 | 9.42% (0.09416) | 92.47th | v4 (v2025.03.14) |
| Nov 18, 2025 | 7.14% (0.07140) | 90.66th | v4 (v2025.03.14) |
| Oct 4, 2025 | 9.42% (0.09416) | 92.49th | v4 (v2025.03.14) |
| Mar 23, 2025 | 6.97% (0.06965) | 89.91th | v4 (v2025.03.14) |
| Mar 17, 2025 | 1.99% (0.01994) | 82.44th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.05% (0.00050) | 21.40th | v3 (v2023.03.01) |
| Jul 8, 2024 | 0.06% (0.00059) | 25.36th | v3 (v2023.03.01) |
| Jun 4, 2024 | 0.06% (0.00057) | 23.30th | v3 (v2023.03.01) |
| Mar 8, 2024 | 0.06% (0.00057) | 21.29th | v3 (v2023.03.01) |
| Jan 30, 2024 | 0.06% (0.00063) | 25.56th | v3 (v2023.03.01) |
| Dec 21, 2023 | 0.06% (0.00059) | 23.33th | v3 (v2023.03.01) |
| Nov 9, 2023 | 0.05% (0.00050) | 17.52th | v3 (v2023.03.01) |
| Jul 16, 2023 | 0.06% (0.00059) | 22.88th | v3 (v2023.03.01) |
| Apr 21, 2023 | 0.05% (0.00049) | 15.52th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.04% (0.00044) | 8.39th | v3 (v2023.03.01) |
| Mar 6, 2023 | 9.35% (0.09345) | 94.24th | v2 (v2022.01.01) |
| Feb 13, 2023 | 9.35% (0.09345) | 94.04th | v2 (v2022.01.01) |
| Feb 3, 2023 | 4.21% (0.04209) | 87.04th | v2 (v2022.01.01) |
| Apr 1, 2022 | 9.35% (0.09345) | 93.71th | v2 (v2022.01.01) |
| Feb 4, 2022 | 9.35% (0.09345) | 87.11th | v2 (v2022.01.01) |
| Feb 3, 2022 | 16.00% (0.16000) | 90.18th | v1 |
| Jan 6, 2022 | 16.00% (0.16000) | 90.07th | v1 |
| Sep 1, 2021 | 16.00% (0.16000) | 97.32th | v1 |
| Apr 14, 2021 | 16.00% (0.16000) | 0.00th | v1 |
References (23)
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=49d31c2f389acfe83417083e1208422b4091cd9e x_refsource_MISCIssue TrackingPatchThird Party Advisory
- http://openwall.com/lists/oss-security/2017/08/03/2 x_refsource_MISCMailing ListPatchThird Party Advisory
- http://www.debian.org/security/2017/dsa-3927 vendor-advisoryx_refsource_DEBIANThird Party Advisory
- http://www.debian.org/security/2017/dsa-3945 vendor-advisoryx_refsource_DEBIANThird Party Advisory
- http://www.openwall.com/lists/oss-security/2019/06/27/7 mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- http://www.openwall.com/lists/oss-security/2019/06/28/1 mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- http://www.openwall.com/lists/oss-security/2019/06/28/2 mailing-listx_refsource_MLISTMailing ListThird Party Advisory
- http://www.securityfocus.com/bid/100123 vdb-entryx_refsource_BIDThird Party AdvisoryVDB Entry
- http://www.securitytracker.com/id/1039075 vdb-entryx_refsource_SECTRACKThird Party AdvisoryVDB Entry
- https://access.redhat.com/errata/RHSA-2017:2473 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2017:2585 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2017:2669 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2017:2770 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/errata/RHSA-2017:2869 vendor-advisoryx_refsource_REDHATThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2017-7533 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1468283 x_refsource_MISCIssue TrackingPatchThird Party Advisory
- https://github.com/torvalds/linux/commit/49d31c2f389acfe83417083e1208422b4091cd9e x_refsource_MISCIssue TrackingPatchThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2017-7533
- https://patchwork.kernel.org/patch/9755753/ x_refsource_MISCIssue TrackingPatchThird Party Advisory
- https://patchwork.kernel.org/patch/9755757/ x_refsource_MISCIssue TrackingPatchThird Party Advisory
- https://source.android.com/security/bulletin/2017-12-01 x_refsource_CONFIRMThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2017-7533
- https://www.mail-archive.com/linux-kernel%40vger.kernel.org/msg1408967.html x_refsource_MISCThird Party Advisory
Change history (0)
No recorded changes yet.