Bug 1777471 (CVE-2019-18675) - CVE-2019-18675 kernel: integer overflow in cpia2_remap_buffer in drivers/media/usb/cpia2/cpia2_core.c
Summary: CVE-2019-18675 kernel: integer overflow in cpia2_remap_buffer in drivers/medi...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2019-18675
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1777478
Blocks: 1777482
TreeView+ depends on / blocked
 
Reported: 2019-11-27 15:56 UTC by Dhananjay Arunesh
Modified: 2020-03-19 22:03 UTC (History)
47 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-12-06 10:46:41 UTC
Embargoed:


Attachments (Terms of Use)

Description Dhananjay Arunesh 2019-11-27 15:56:57 UTC
A vulnerability was found in Linux kernel 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.

Reference:
https://deshal3v.github.io/blog/kernel-research/mmap_exploitation
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/log/drivers/media/usb/cpia2/cpia2_core.c

Comment 1 Dhananjay Arunesh 2019-11-27 16:05:20 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1777478]

Comment 2 Justin M. Forbes 2020-03-19 22:03:25 UTC
This was fixed upstream with commit be83bbf806822b1b89e0a0f23cd87cddc409e429


Note You need to log in before you can comment on or make changes to this bug.