Skip to content
OpenAdvisories
Unscored Public exploit CVE-2017-7533 EUVD-2017-16547GHSA-679h-84ch-2wh9

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…

Published Aug 5, 2017 · Updated Aug 5, 2024 · Assigned by redhat

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

VendorProductAffectedFixed
— Linux kernel through 4.12.4 Linux kernel through 4.12.4 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 linux 4.12.6-1 —
Debian 13 linux 4.12.6-1 —
Debian 12 linux 4.12.6-1 —
Debian 9 linux 4.9.30-2+deb9u3 DSA-3927-1
Debian 8 linux 3.16.43-2+deb8u3 DSA-3945-1
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS linux-raspi-realtime No fix yet —
Ubuntu 22.04 LTS linux-riscv +2 No fix yet —
Ubuntu 20.04 LTS linux-gke +3 No fix yet —
Ubuntu 18.04 LTS linux-gcp +4 No fix yet —
Ubuntu 16.04 LTS linux 4.4.0-89.112 USN-3378-1
Ubuntu 16.04 LTS linux-aws 4.4.0-1028.37 USN-3378-1
Ubuntu 16.04 LTS linux-gke 4.4.0-1024.24 USN-3378-1
Ubuntu 16.04 LTS linux-hwe 4.10.0-32.36~16.04.1 USN-3377-2
Ubuntu 16.04 LTS linux-raspi2 4.4.0-1067.75 USN-3378-1
Ubuntu 16.04 LTS linux-snapdragon 4.4.0-1069.74 USN-3378-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 14.04 LTS linux-lts-xenial 4.4.0-89.112~14.04.1 USN-3378-2
ReleasePackageFixed inAdvisory
RHEL 7 kernel-rt +10 3.10.0-693.2.1.rt56.620.el7 RHSA-2017:2585
RHEL 7 perf +18 3.10.0-693.1.1.el7 RHSA-2017:2473
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 7.3 EUS perf +18 3.10.0-514.32.2.el7 RHSA-2017:2770
RHEL 7.2 EUS perf +18 3.10.0-327.61.3.el7 RHSA-2017:2869
Red Hat MRG 2 kernel-rt +10 1:3.10.0-693.2.1.rt56.585.el6rt RHSA-2017:2669
ReleasePackageFixed inAdvisory
SLES 12 SP3 kernel-docs 4.4.82-6.3.5 SUSE-SU-2017:2286-1
SLES 12 SP3 kernel-obs-build 4.4.82-6.3.3 SUSE-SU-2017:2286-1
SLES 12 SP3 kernel-syms +2 4.4.82-6.3.1 SUSE-SU-2017:2286-1
SLES 12 SP2 kernel-docs 4.4.74-92.32.3 SUSE-SU-2017:2041-1
SLES 12 SP2 kernel-syms +3 4.4.74-92.32.1 SUSE-SU-2017:2041-1
SLES 12 SP1 kernel-xen +3 3.12.74-60.64.51.1 SUSE-SU-2017:2042-1
SLES 12 SP1 kgraft-patch-SLE12-SP1_Update_10 8-2.1 SUSE-SU-2017:2072-1
SLES 12 SP1 kgraft-patch-SLE12-SP1_Update_11 7-2.1 SUSE-SU-2017:2073-1
SLES 12 SP1 kgraft-patch-SLE12-SP1_Update_12 6-2.1 SUSE-SU-2017:2049-1
SLES 12 SP1 kgraft-patch-SLE12-SP1_Update_13 5-2.1 SUSE-SU-2017:2092-1
SLES 12 SP1 kgraft-patch-SLE12-SP1_Update_14 4-2.1 SUSE-SU-2017:2091-1
SLES 12 SP1 kgraft-patch-SLE12-SP1_Update_15 +1 3-2.1 SUSE-SU-2017:2094-1, SUSE-SU-2017:2090-1
SLES 12 SP1 kgraft-patch-SLE12-SP1_Update_17 2-2.1 SUSE-SU-2017:2089-1
SLES 12 SP1 kgraft-patch-SLE12-SP1_Update_18 1-2.1 SUSE-SU-2017:2042-1
SLES 12 SP1 kgraft-patch-SLE12-SP1_Update_7 +1 10-2.1 SUSE-SU-2017:2088-1, SUSE-SU-2017:2060-1
SLES 12 SP1 kgraft-patch-SLE12-SP1_Update_9 9-2.1 SUSE-SU-2017:2061-1
SLES 12 kernel-ec2 +4 3.12.61-52.83.1 SUSE-SU-2017:2074-1, SUSE-SU-2017:2042-1
SLES 12 kgraft-patch-SLE12_Update_16 8-2.1 SUSE-SU-2017:2099-1
SLES 12 kgraft-patch-SLE12_Update_17 +1 7-2.1 SUSE-SU-2017:2095-1, SUSE-SU-2017:2093-1
SLES 12 kgraft-patch-SLE12_Update_19 6-2.1 SUSE-SU-2017:2096-1
SLES 12 kgraft-patch-SLE12_Update_20 4-2.1 SUSE-SU-2017:2103-1
SLES 12 kgraft-patch-SLE12_Update_21 +1 3-2.1 SUSE-SU-2017:2102-1, SUSE-SU-2017:2100-1
SLES 12 kgraft-patch-SLE12_Update_23 2-2.1 SUSE-SU-2017:2098-1
SLES 12 kgraft-patch-SLE12_Update_24 1-2.1 SUSE-SU-2017:2074-1
SLES 11 SP4 cluster-network 1.4-2.32.2.14 SUSE-SU-2017:2389-1
SLES 11 SP4 drbd 8.4.4-0.27.2.1 SUSE-SU-2017:2389-1
SLES 11 SP4 drbd-kmp 8.4.4-0.27.2.13 SUSE-SU-2017:2389-1
SLES 11 SP4 gfs2 2-0.24.2.14 SUSE-SU-2017:2389-1
SLES 11 SP4 kernel-docs 3.0.101-108.7.2 SUSE-SU-2017:2389-1
SLES 11 SP4 kernel-ec2 +8 3.0.101-108.7.1 SUSE-SU-2017:2389-1
SLES 11 SP4 ocfs2 1.6-0.28.3.4 SUSE-SU-2017:2389-1
Show 12 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 11 SP3 kernel-ec2 +7 3.0.101-0.47.106.5.1 SUSE-SU-2017:2525-1
SLES for SAP 12 SP3 kernel-syms +2 4.4.82-6.3.1 SUSE-SU-2017:2286-1
SLES for SAP 12 SP2 kernel-syms +2 4.4.74-92.32.1 SUSE-SU-2017:2041-1
SLES for SAP 12 SP1 kernel-xen +3 3.12.74-60.64.51.1 SUSE-SU-2017:2042-1
SLES for SAP 12 SP1 kgraft-patch-SLE12-SP1_Update_10 8-2.1 SUSE-SU-2017:2072-1
SLES for SAP 12 SP1 kgraft-patch-SLE12-SP1_Update_11 7-2.1 SUSE-SU-2017:2073-1
SLES for SAP 12 SP1 kgraft-patch-SLE12-SP1_Update_12 6-2.1 SUSE-SU-2017:2049-1
SLES for SAP 12 SP1 kgraft-patch-SLE12-SP1_Update_13 5-2.1 SUSE-SU-2017:2092-1
SLES for SAP 12 SP1 kgraft-patch-SLE12-SP1_Update_14 4-2.1 SUSE-SU-2017:2091-1
SLES for SAP 12 SP1 kgraft-patch-SLE12-SP1_Update_15 +1 3-2.1 SUSE-SU-2017:2094-1, SUSE-SU-2017:2090-1
SLES for SAP 12 SP1 kgraft-patch-SLE12-SP1_Update_17 2-2.1 SUSE-SU-2017:2089-1
SLES for SAP 12 SP1 kgraft-patch-SLE12-SP1_Update_18 1-2.1 SUSE-SU-2017:2042-1
SLES for SAP 12 SP1 kgraft-patch-SLE12-SP1_Update_7 +1 10-2.1 SUSE-SU-2017:2088-1, SUSE-SU-2017:2060-1
SLES for SAP 12 SP1 kgraft-patch-SLE12-SP1_Update_9 9-2.1 SUSE-SU-2017:2061-1
SLES for SAP 12 kernel-xen +3 3.12.61-52.83.1 SUSE-SU-2017:2074-1
SLES for SAP 12 kgraft-patch-SLE12_Update_16 8-2.1 SUSE-SU-2017:2099-1
SLES for SAP 12 kgraft-patch-SLE12_Update_17 +1 7-2.1 SUSE-SU-2017:2095-1, SUSE-SU-2017:2093-1
SLES for SAP 12 kgraft-patch-SLE12_Update_19 6-2.1 SUSE-SU-2017:2096-1
SLES for SAP 12 kgraft-patch-SLE12_Update_20 4-2.1 SUSE-SU-2017:2103-1
SLES for SAP 12 kgraft-patch-SLE12_Update_21 +1 3-2.1 SUSE-SU-2017:2102-1, SUSE-SU-2017:2100-1
SLES for SAP 12 kgraft-patch-SLE12_Update_23 2-2.1 SUSE-SU-2017:2098-1
SLES for SAP 12 kgraft-patch-SLE12_Update_24 1-2.1 SUSE-SU-2017:2074-1
SLES for SAP 11 SP4 kernel-ec2 +8 3.0.101-108.7.1 SUSE-SU-2017:2389-1
SLE Real Time 12 SP2 kernel-rt +3 4.4.88-18.1 SUSE-SU-2017:2956-1
SLE Real Time 11 SP4 cluster-network 1.4-2.32.2.14 SUSE-SU-2017:2389-1
SLE Real Time 11 SP4 drbd-kmp 8.4.4-0.27.2.13 SUSE-SU-2017:2389-1
SLE Real Time 11 SP4 gfs2 2-0.24.2.14 SUSE-SU-2017:2389-1
SLE Real Time 11 SP4 kernel-rt +3 3.0.101.rt130-69.5.1 SUSE-SU-2017:2342-1
SLE Real Time 11 SP4 ocfs2 1.6-0.28.3.4 SUSE-SU-2017:2389-1
SLE Live Patching 12 SP3 kgraft-patch-SLE12-SP3_Update_0 2-2.3.2 SUSE-SU-2017:2114-1
SLE Live Patching 12 SP3 kgraft-patch-SLE12-SP3_Update_1 1-2.1 SUSE-SU-2017:2286-1
SLE Live Patching 12 kgraft-patch-SLE12-SP2_Update_0 8-18.7.1 SUSE-SU-2017:2062-1
SLE Live Patching 12 kgraft-patch-SLE12-SP2_Update_1 8-2.1 SUSE-SU-2017:2067-1
SLE Live Patching 12 kgraft-patch-SLE12-SP2_Update_11 1-2.1 SUSE-SU-2017:2041-1
SLE Live Patching 12 kgraft-patch-SLE12-SP2_Update_2 +2 7-2.1 SUSE-SU-2017:2068-1, SUSE-SU-2017:2065-1, SUSE-SU-2017:2043-1
SLE Live Patching 12 kgraft-patch-SLE12-SP2_Update_5 5-2.1 SUSE-SU-2017:2063-1
SLE Live Patching 12 kgraft-patch-SLE12-SP2_Update_6 4-2.1 SUSE-SU-2017:2070-1
SLE Live Patching 12 kgraft-patch-SLE12-SP2_Update_7 +1 3-2.1 SUSE-SU-2017:2064-1, SUSE-SU-2017:2046-1
SLE Live Patching 12 kgraft-patch-SLE12-SP2_Update_9 +1 2-2.1 SUSE-SU-2017:2069-1, SUSE-SU-2017:2066-1
SUSE OpenStack Cloud 6 kernel-xen +3 3.12.74-60.64.51.1 SUSE-SU-2017:2042-1
SUSE OpenStack Cloud 6 kgraft-patch-SLE12-SP1_Update_18 1-2.1 SUSE-SU-2017:2042-1
SUSE Linux Enterprise Point of Sale 11 SP3 kernel-ec2 +6 3.0.101-0.47.106.5.1 SUSE-SU-2017:2525-1

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 dtrace-modules-4.1.12-94.5.9.el6uek 0.6.0-4.el6 ELSA-2017-3605
Oracle Linux 7 dtrace-modules-4.1.12-94.5.9.el7uek 0.6.0-4.el7 ELSA-2017-3605
Oracle Linux 7 kernel-uek +5 4.1.12-94.5.9.el7uek ELSA-2017-3605
Oracle Linux 7 perf +11 3.10.0-693.1.1.el7 ELSA-2017-2473

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 50

References