Bug 1552849 (CVE-2017-18221) - CVE-2017-18221 kernel: Race condition in __munlock_pagevec function in mm/mlock.c
Summary: CVE-2017-18221 kernel: Race condition in __munlock_pagevec function in mm/mlo...
Keywords:
Status: NEW
Alias: CVE-2017-18221
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1552856 1553995
Blocks: 1552857
TreeView+ depends on / blocked
 
Reported: 2018-03-07 20:53 UTC by Pedro Sampaio
Modified: 2020-01-17 22:33 UTC (History)
42 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
The __munlock_pagevec function in mm/mlock.c in the Linux kernel, before 4.11.4, allows local users to cause a denial of service (NR_MLOCK accounting corruption) via crafted use of mlockall and munlockall system calls.
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)

Description Pedro Sampaio 2018-03-07 20:53:44 UTC
The __munlock_pagevec function in mm/mlock.c in the Linux kernel before 4.11.4 allows local users to cause a denial of service (NR_MLOCK accounting corruption) via crafted use of mlockall and munlockall system calls.

References:

https://marc.info/?t=149567877900001&r=1&w=2

https://marc.info/?t=149569651900001&r=1&w=2

An upsteam patch:

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=70feee0e1ef331b22cc51f383d532a0d043fbdcc

Comment 1 Pedro Sampaio 2018-03-07 20:57:26 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1552856]

Comment 2 Justin M. Forbes 2018-03-07 22:58:33 UTC
This was fixed for Fedora with the 4.11.4 stable updates.


Note You need to log in before you can comment on or make changes to this bug.