What’s Vulnerable › Vulnerabilities
CVE-2019-18675
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2019-11-25 · updated 2026-06-17
- Weakness: CWE-190
Description
The Linux kernel through 5.3.13 has a start_offset+size Integer Overflow in cpia2_remap_buffer in drivers/media/usb/cpia2/cpia2_core.c because cpia2 has its own mmap implementation. This allows local users (with /dev/video0 access) to obtain read and write permissions on kernel physical pages, which can possibly result in a privilege escalation.
Affected products
- Linux kernel: before 3.16.60; from 3.17 before 3.18.113; from 3.19 before 4.4.137; from 4.5 before 4.9.108; from 4.10 before 4.14.49; from 4.15 before 4.16.15 — fixed in 3.16.60, 3.18.113, 4.14.49, 4.16.15, 4.4.137, 4.9.108
How to fix
Upgrade to a fixed version: Linux kernel 3.16.60, 3.18.113, 4.14.49, 4.16.15. Check the vendor advisory for mitigations.
References
- https://deshal3v.github.io/blog/kernel-research/mmap_exploitation
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=be83bbf806822b1b89e0a0f23cd87cddc409e429
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/log/drivers/media/usb/cpia2/cpia2_core.c
- https://security.netapp.com/advisory/ntap-20200103-0001/
- https://deshal3v.github.io/blog/kernel-research/mmap_exploitation
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=be83bbf806822b1b89e0a0f23cd87cddc409e429
- https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/log/drivers/media/usb/cpia2/cpia2_core.c
- https://security.netapp.com/advisory/ntap-20200103-0001/
Get alerted when CVE-2019-18675 or the next vulnerability affects your stack