CVE-2025-40011

drm/gma500: Fix null dereference in hdmi teardown

Not available

At a glance

Source
NVD
EPSS
EPSS 0.26 % · percentile 18 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Deferred

Description

In the Linux kernel, the following vulnerability has been resolved: drm/gma500: Fix null dereference in hdmi teardown pci_set_drvdata sets the value of pdev->driver_data to NULL, after which the driver_data obtained from the same dev is dereferenced in oaktrail_hdmi_i2c_exit, and the i2c_dev is extracted from it. To prevent this, swap these calls. Found by Linux Verification Center (linuxtesting.org) with Svacer.

References

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected 1b082ccf5901108d3acd860a73d8c0442556c0bb < 70b0c11483d3b90b2d0f416026e475e084a77e62 ; affected 1b082ccf5901108d3acd860a73d8c0442556c0bb < 4bbfd1b290857b9d14ea9d91562bde55ff2bc85e ; affected 1b082ccf5901108d3acd860a73d8c0442556c0bb < e15de80737d444ed743b1c60ced4a3a97913169b ; affected 1b082ccf5901108d3acd860a73d8c0442556c0bb < 02e4ff4941efb9bbb40d8d5b61efa1a4119b1ba7 ; affected 1b082ccf5901108d3acd860a73d8c0442556c0bb < 6ffa6b5bc861a3ea9dfcdc007f002b4a347c24ba ; affected 1b082ccf5901108d3acd860a73d8c0442556c0bb < f800f7054d2cf28b51296c7c575da27c29e3859b
Linux · Linuxaffected 3.3 ; unaffected 0 < 3.3 ; unaffected 5.4.300 ≤ 5.4.* ; unaffected 5.10.245 ≤ 5.10.* ; unaffected 5.15.194 ≤ 5.15.* ; unaffected 6.1.155 ≤ 6.1.*

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