Advisory
UBUNTU-CVE-2018-18397
Also known as: CVE-2018-18397
Summary
The record has no summary.
Details
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.
Severity
Medium Basis: CVSS v3 score 5.5, vector CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
Dates
- Published
- 2018-12-12 00:00 UTC
- Modified
- 2026-04-22 11:49 UTC
Affected packages and fixes
| Package | System | Fix |
|---|---|---|
| linux-azure | Debian packages (deb) · Ubuntu 14.04 | sudo apt-get update && sudo apt-get upgrade |
| linux-aws-hwe | Debian packages (deb) · Ubuntu 16.04 | sudo apt-get update && sudo apt-get upgrade |
| linux-azure | Debian packages (deb) · Ubuntu 16.04 | sudo apt-get update && sudo apt-get upgrade |
| linux-gcp | Debian packages (deb) · Ubuntu 16.04 | sudo apt-get update && sudo apt-get upgrade |
| linux-hwe | Debian packages (deb) · Ubuntu 16.04 | sudo apt-get update && sudo apt-get upgrade |
| linux-oracle | Debian packages (deb) · Ubuntu 16.04 | sudo apt-get update && sudo apt-get upgrade |
| linux | Debian packages (deb) · Ubuntu 18.04 | sudo apt-get update && sudo apt-get upgrade |
| linux-aws | Debian packages (deb) · Ubuntu 18.04 | sudo apt-get update && sudo apt-get upgrade |
| linux-azure | Debian packages (deb) · Ubuntu 18.04 | sudo apt-get update && sudo apt-get upgrade |
| linux-gcp | Debian packages (deb) · Ubuntu 18.04 | sudo apt-get update && sudo apt-get upgrade |
| linux-gcp-edge | Debian packages (deb) · Ubuntu 18.04 | sudo apt-get update && sudo apt-get upgrade |
| linux-hwe | Debian packages (deb) · Ubuntu 18.04 | sudo apt-get update && sudo apt-get upgrade |
| linux-kvm | Debian packages (deb) · Ubuntu 18.04 | sudo apt-get update && sudo apt-get upgrade |
| linux-oem | Debian packages (deb) · Ubuntu 18.04 | sudo apt-get update && sudo apt-get upgrade |
| linux-oracle | Debian packages (deb) · Ubuntu 18.04 | sudo apt-get update && sudo apt-get upgrade |
| linux-raspi2 | Debian packages (deb) · Ubuntu 18.04 | sudo apt-get update && sudo apt-get upgrade |
Some commands upgrade the distribution's packages. Compare the fixed version with the version you have installed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Links
- https://ubuntu.com/security/CVE-2018-18397
- https://lore.kernel.org/lkml/[email protected]/
- https://ubuntu.com/security/notices/USN-3901-1
- https://ubuntu.com/security/notices/USN-3901-2
- https://ubuntu.com/security/notices/USN-3903-1
- https://ubuntu.com/security/notices/USN-3903-2
- https://www.cve.org/CVERecord?id=CVE-2018-18397
Source
Source: Ubuntu Security Notices · CC BY-SA 4.0