---
title: "CVE-2018-18397"
canonical_url: "https://pkgseek.com/security/CVE-2018-18397"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

# CVE-2018-18397

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.

CVE-2018-18397 is rated MEDIUM (5.5), with 1 indexed affected package builds across 1 distributions.

- **Severity / Score**: MEDIUM (5.5)
- **Affected builds**: 1
- **Affected distros**: 1
- **Distros with fixed_in**: Debian

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Debian | trixie | usbip | 2.0+6.12.117-1 | 4.19.9-1 |
