drm/exynos: vidi: use priv->vidi_dev for ctx lookup in vidi_connection_ioctl() (Linux Linux)

CVE-2026-45956
HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.13 % · percentile 2 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: drm/exynos: vidi: use priv->vidi_dev for ctx lookup in vidi_connection_ioctl() vidi_connection_ioctl() retrieves the driver_data from drm_dev->dev to obtain a struct vidi_context pointer. However, drm_dev->dev is the exynos-drm master device, and the driver_data contained therein is not the vidi component device, but a completely different device. This can lead to various bugs, ranging from null pointer dereferences and garbage value accesses to, in unlucky cases, out-of-bounds errors, use-after-free errors, and more. To resolve this issue, we need to store/delete the vidi device pointer in exynos_drm_private->vidi_dev during bind/unbind, and then read this exynos_drm_private->vidi_dev within ioctl() to obtain the correct struct vidi_context pointer.

Weaknesses (CWE)

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected cf67cc9a29ac19c98bc4fa0e6d14b0c1f592d322 < 2987642c5213508c6c9e718324c0d5289a92c474 ; affected cf67cc9a29ac19c98bc4fa0e6d14b0c1f592d322 < 65d1213baffa363f2eb1117b1dc7acc573b890f8 ; affected cf67cc9a29ac19c98bc4fa0e6d14b0c1f592d322 < 875fa28690e93ed5296c31d3344556c6bb867234 ; affected cf67cc9a29ac19c98bc4fa0e6d14b0c1f592d322 < 21ca24ba51a2c28bcc4df9d7e5a40b0eb66ab76d ; affected cf67cc9a29ac19c98bc4fa0e6d14b0c1f592d322 < e1aed617eb80b49eac2f8c7bb7a0990f641dd59b ; affected cf67cc9a29ac19c98bc4fa0e6d14b0c1f592d322 < b5fc86d753dd4c281a943b92f0eef02d31af03d7
Linux · Linuxaffected 4.3 ; unaffected 0 < 4.3 ; unaffected 5.10.253 ≤ 5.10.* ; unaffected 5.15.203 ≤ 5.15.* ; unaffected 6.1.167 ≤ 6.1.* ; unaffected 6.6.130 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD