{"id":"CVE-2025-38130","summary":"drm/connector: only call HDMI audio helper plugged cb if non-null","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/connector: only call HDMI audio helper plugged cb if non-null\n\nOn driver remove, sound/soc/codecs/hdmi-codec.c calls the plugged_cb\nwith NULL as the callback function and codec_dev, as seen in its\nhdmi_remove function.\n\nThe HDMI audio helper then happily tries calling said null function\npointer, and produces an Oops as a result.\n\nFix this by only executing the callback if fn is non-null. This means\nthe .plugged_cb and .plugged_cb_dev members still get appropriately\ncleared.","modified":"2026-04-02T12:47:49.274515Z","published":"2025-07-03T08:35:34.385Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38130.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/933f3eab1d489af8d734bff855b10d29dd5968a4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/be9b3f9a54101c19226c25ba7163d291183777a0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38130.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38130"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"baf616647fe6f857a0cf2187197de31e9bb17a71"},{"fixed":"933f3eab1d489af8d734bff855b10d29dd5968a4"},{"fixed":"be9b3f9a54101c19226c25ba7163d291183777a0"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38130.json"}}],"schema_version":"1.7.5"}