CVE-2025-38130
JSON

5.5medium

drm/connector: only call HDMI audio helper plugged cb if non-null

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.17% (higher than 6% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: drm/connector: only call HDMI audio helper plugged cb if non-null On driver remove, sound/soc/codecs/hdmi-codec.c calls the plugged_cb with NULL as the callback function and codec_dev, as seen in its hdmi_remove function. The HDMI audio helper then happily tries calling said null function pointer, and produces an Oops as a result. Fix this by only executing the callback if fn is non-null. This means the .plugged_cb and .plugged_cb_dev members still get appropriately cleared.

Affected

Product or packageVersionsReported by
Linux Linuxfrom baf616647fe6f857a0cf2187197de31e9bb17a71 before 933f3eab1d489af8d734bff855b10d29dd5968a4, from baf616647fe6f857a0cf2187197de31e9bb17a71 before be9b3f9a54101c19226c25ba7163d291183777a0, 6.14
Not affected: before 6.14, from 6.15.3 up to 6.15.*, from 6.16 up to *
CVE List
linux linux_kernelfrom 6.14 before 6.15.3NVD

Classification

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: drm/connector: only call HDMI audio helper plugged cb if non-null On driver remove, sound/soc/codecs/hdmi-codec.c calls the plugged_cb with NULL as the callback function and codec_dev, as seen in its hdmi_remove function. The HDMI audio helper then happily tries calling said null function pointer, and produces an Oops as a result. Fix this by only executing the callback if fn is non-null. This means the .plugged_cb and .plugged_cb_dev members still get appropriately cleared.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: drm/connector: solo se llama al auxiliar de audio HDMI plugged cb si no es nulo. Al eliminar el controlador, sound/soc/codecs/hdmi-codec.c llama a plugged_cb con NULL como función de devolución de llamada y codec_dev, como se observa en su función hdmi_remove. El auxiliar de audio HDMI intenta entonces llamar a dicho puntero de función nulo, pero produce un error. Para solucionar esto, ejecute la devolución de llamada solo si fn no es nulo. Esto significa que los miembros .plugged_cb y .plugged_cb_dev se borran correctamente.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-38130 changed 2026-05-11CVE Terms of Use
NVDCVE-2025-38130 changed 2026-06-17Public domain