CVE-2017-7533: Race Condition

Published Jul 6, 2017
·
Updated

A race condition was found in Linux kernel present since v3.14-rc1 upto v4.12 including. The race happens between threads of inotifyhandleevent() and vfsrename() while running the rename operation against the same file. As a result of the race the 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.

The researchers of this flaw are Leilei Lin from Alibaba Group and Fan Wu and Shixiong Zhao from a research group supervised by Dr. Heming Cui of the Department of Computer Science, The University of Hong Kong. Thanks to Rui Gu and Prof.Junfeng Yang from Columbia University for tools and suggestions.

References:

http://seclists.org/oss-sec/2017/q3/240

https://access.redhat.com/security/vulnerabilities/3112931

https://patchwork.kernel.org/patch/9755753/

https://patchwork.kernel.org/patch/9755757/

https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1408967.html

https://bugzilla.kernel.org/showbug.cgi?id=196279 (restricted access)

Upstream patch: 49d31c2f389a

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=49d31c2f389acfe83417083e1208422b4091cd9

Other sources

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 inotifyhandleevent and vfsrename functions.

Launchpad

Affected Software

7 affected componentsFixes available
Google Android
Linux Linux Kernel>=3.14<3.16.47
Linux Linux Kernel>=3.17<3.18.64
Linux Linux Kernel>=3.19<4.4.80
Linux Linux Kernel>=4.5<4.9.41
Linux Linux Kernel>=4.10<4.12.5
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.22-16.12.25-1

Event History

Jul 6, 2017
Data Sourced
via Red Hat·02:55 PM
DescriptionSeverityAffected Software
Aug 5, 2017
CVE Published
via MITRE·04:00 PM
Data Sourced
via MITRE·04:00 PM
DescriptionWeakness
Jan 11, 2024
Data Sourced
via Launchpad·10:40 PM
Description
Dec 1, 2024
Data Sourced
via Ubuntu·01:35 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is CVE-2017-7533?

CVE-2017-7533 is a vulnerability in the Linux kernel that allows local users to gain privileges or cause a denial of service through a crafted application.

2

How does CVE-2017-7533 work?

CVE-2017-7533 is caused by a race condition in the fsnotify implementation of the Linux kernel, which can be exploited by executing the inotify_handle_event and vfs_rename functions simultaneously.

3

What is the severity of CVE-2017-7533?

CVE-2017-7533 has a severity rating of high (7 out of 10).

4

Which software versions are affected by CVE-2017-7533?

CVE-2017-7533 affects various versions of the Linux kernel, including Ubuntu, Debian, and Google Android.

5

How can CVE-2017-7533 be fixed?

To fix CVE-2017-7533, it is recommended to update the affected software packages to the specified remedy versions or higher.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203