CVE-2025-40011

NameCVE-2025-40011
DescriptionIn 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-4379-1, DSA-6053-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
linux (PTS)bullseye5.10.223-1vulnerable
bullseye (security)5.10.244-1vulnerable
bookworm6.1.148-1vulnerable
bookworm (security)6.1.158-1fixed
trixie6.12.57-1fixed
trixie (security)6.12.48-1vulnerable
forky6.17.8-1fixed
sid6.17.9-1fixed
linux-6.1 (PTS)bullseye (security)6.1.158-1~deb11u1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
linuxsourcebookworm6.1.158-1DSA-6053-1
linuxsourcetrixie6.12.57-1
linuxsource(unstable)6.16.10-1
linux-6.1sourcebullseye6.1.158-1~deb11u1DLA-4379-1

Notes

https://git.kernel.org/linus/352e66900cde63f3dadb142364d3c35170bbaaff (6.17)

Search for package or bug name: Reporting problems