PT-2017-4169 · Linux+3 · Linux Kernel+3

Gareth Evans

·

Published

2017-02-23

·

Updated

2020-10-09

·

CVE-2017-5669

CVSS v3.1

7.8

High

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Linux kernel versions prior to 4.9.12
Description The issue is related to the do shmat function in ipc/shm.c in the Linux kernel, which does not properly restrict the address calculated by a certain rounding operation. This allows local users to map page zero and bypass a protection mechanism that exists for the mmap system call. The exploitation can be done by making crafted shmget and shmat system calls in a privileged context. The vulnerability is also related to insufficient input validation.
Recommendations For Linux kernel versions prior to 4.9.12, update to a version 4.9.12 or later to resolve the issue. As a temporary workaround, consider restricting the use of the do shmat function in ipc/shm.c until a patch is available. Avoid making crafted shmget and shmat system calls in a privileged context to minimize the risk of exploitation.

Fix

RCE

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALT-PU-2017-1854
ALT-PU-2018-1991
BDU:2021-06409
CVE-2017-5669
DLA-849-1
DSA-3804-1
OPENSUSE-SU-2017_0906-1
SUSE-SU-2017:1247-1
SUSE-SU-2017:1301-1
SUSE-SU-2017:1360-1
SUSE-SU-2017:2342-1
SUSE-SU-2017:2525-1
USN-3265-1
USN-3265-2
USN-3361-1
USN-3583-1
USN-3583-2

Affected Products

Alt Linux
Linux Kernel
Suse
Ubuntu