cve/2017/CVE-2017-5669.md

19 lines
857 B
Markdown
Raw Normal View History

2024-05-26 14:27:05 +02:00
### [CVE-2017-5669](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-5669)
![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen)
### 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