cve/2018/CVE-2018-18397.md

21 lines
955 B
Markdown
Raw Normal View History

2024-05-26 14:27:05 +02:00
### [CVE-2018-18397](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-18397)
![](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 userfaultfd implementation in the Linux kernel before 4.19.7 mishandles access control for certain UFFDIO_ ioctl calls, as demonstrated by allowing local users to write data into holes in a tmpfs file (if the user has read-only access to that file, and that file contains holes), related to fs/userfaultfd.c and mm/userfaultfd.c.
### POC
#### Reference
- https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.19.7
2024-06-09 00:33:16 +00:00
- https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.19.7
2024-05-26 14:27:05 +02:00
- https://usn.ubuntu.com/3901-1/
2024-06-09 00:33:16 +00:00
- https://usn.ubuntu.com/3901-1/
2024-05-26 14:27:05 +02:00
#### Github
- https://github.com/ARPSyndicate/cvemon