drm/exynos: vidi: fix to avoid directly dereferencing user pointer
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ b73d12303ecfc91123363d8900e127da44bf42a6 · < 4949e32387fe315b59ad5f422c9fc52836fbdd1e| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
drm/exynos: vidi: fix to avoid directly dereferencing user pointer
In vidi_connection_ioctl(), vidi->edid(user pointer) is directly dereferenced in the kernel.
This allows arbitrary kernel memory access from the user space, so instead of directly accessing the user pointer in the kernel, we should modify it to copy edid to kernel memory using copy_from_user() and use it.
From the CVE record · Linux
The Linux kernel’s Exynos VIDI ioctl directly dereferences a user-provided EDID pointer. A local user-space caller can use this to access arbitrary kernel memory; the input does not specify authentication requirements.
Engineers running Linux kernels with the Exynos VIDI component should check their versions; affected versions are not specified.