Entreprise d'experts en Sécurité Informatique : Audits et conseils en cybersécurité
Entreprise française de cybersécurité depuis 2004
☎ 03 60 47 09 81 - info@securiteinfo.com


CVE-2017-5669

Description

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.

POC

Reference

- https://bugzilla.kernel.org/show_bug.cgi?id=192931

- https://usn.ubuntu.com/3583-2/

Github

- https://github.com/omniosorg/lx-port-data

- https://github.com/tatischev/lx-port-data