Linux Kernel Privilege Escalation via Unrestricted Address Calculation in do_shmat Function

Linux Kernel Privilege Escalation via Unrestricted Address Calculation in do_shmat Function

CVE-2017-5669 · HIGH Severity

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

The do_shmat function in ipc/shm.c in the Linux kernel through 4.9.12 does not restrict the address calculated by a certain rounding operation, which allows local users to map page zero, and consequently bypass a protection mechanism that exists for the mmap system call, by making crafted shmget and shmat system calls in a privileged context.

Learn more about our Cis Benchmark Audit For Distribution Independent Linux.