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

16 affected packages; affected: earlier versions
PackageSystemFix
linux-azureDebian packages (deb) · Ubuntu 14.04sudo apt-get update && sudo apt-get upgrade
linux-aws-hweDebian packages (deb) · Ubuntu 16.04sudo apt-get update && sudo apt-get upgrade
linux-azureDebian packages (deb) · Ubuntu 16.04sudo apt-get update && sudo apt-get upgrade
linux-gcpDebian packages (deb) · Ubuntu 16.04sudo apt-get update && sudo apt-get upgrade
linux-hweDebian packages (deb) · Ubuntu 16.04sudo apt-get update && sudo apt-get upgrade
linux-oracleDebian packages (deb) · Ubuntu 16.04sudo apt-get update && sudo apt-get upgrade
linuxDebian packages (deb) · Ubuntu 18.04sudo apt-get update && sudo apt-get upgrade
linux-awsDebian packages (deb) · Ubuntu 18.04sudo apt-get update && sudo apt-get upgrade
linux-azureDebian packages (deb) · Ubuntu 18.04sudo apt-get update && sudo apt-get upgrade
linux-gcpDebian packages (deb) · Ubuntu 18.04sudo apt-get update && sudo apt-get upgrade
linux-gcp-edgeDebian packages (deb) · Ubuntu 18.04sudo apt-get update && sudo apt-get upgrade
linux-hweDebian packages (deb) · Ubuntu 18.04sudo apt-get update && sudo apt-get upgrade
linux-kvmDebian packages (deb) · Ubuntu 18.04sudo apt-get update && sudo apt-get upgrade
linux-oemDebian packages (deb) · Ubuntu 18.04sudo apt-get update && sudo apt-get upgrade
linux-oracleDebian packages (deb) · Ubuntu 18.04sudo apt-get update && sudo apt-get upgrade
linux-raspi2Debian packages (deb) · Ubuntu 18.04sudo 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

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences