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-2018-18397

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

- https://usn.ubuntu.com/3901-1/

- https://usn.ubuntu.com/3903-1/

Github

- https://github.com/ARPSyndicate/cvemon

- https://github.com/chadjoan/cdj-kernel-config