drm/rockchip: dw_dp: Fix null-ptr-deref in dw_dp_remove() (Linux Linux)

CVE-2026-80658
Not available

At a glance

Source
NVD
EPSS
EPSS 0.21 % · percentile 11 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Received

Description

In the Linux kernel, the following vulnerability has been resolved: drm/rockchip: dw_dp: Fix null-ptr-deref in dw_dp_remove() Attempting to access driver data in the platform driver ->remove() callback may lead to a null pointer dereference since there is no guaranty that the component ->bind() callback invoking platform_set_drvdata() was executed. A common scenario is when Rockchip DRM driver didn't manage to run component_bind_all() because of an (unrelated) error causing early return from rockchip_drm_bind(). Drop the unnecessary call to platform_get_drvdata() and, instead, reference the target device structure via platform_device.

References

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected d68ba7bac9555d05e2f5b310c898b2a5c7eff174 < b3ec263a719e0d499bd95d20012d90d7e8641655 ; affected d68ba7bac9555d05e2f5b310c898b2a5c7eff174 < 33bc9fba3ae05863fabe3436ddca2ca4f4939c5e ; affected d68ba7bac9555d05e2f5b310c898b2a5c7eff174 < 9456381d8b60bb7dd42f2f04afe5ee4ce6e0bc12
Linux · Linuxaffected 6.18 ; unaffected 0 < 6.18 ; unaffected 6.18.40 ≤ 6.18.* ; unaffected 7.1.5 ≤ 7.1.* ; unaffected 7.2 ≤ *

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