CVE-2025-38130
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
03/07/2025
Last modified:
03/07/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
drm/connector: only call HDMI audio helper plugged cb if non-null<br />
<br />
On driver remove, sound/soc/codecs/hdmi-codec.c calls the plugged_cb<br />
with NULL as the callback function and codec_dev, as seen in its<br />
hdmi_remove function.<br />
<br />
The HDMI audio helper then happily tries calling said null function<br />
pointer, and produces an Oops as a result.<br />
<br />
Fix this by only executing the callback if fn is non-null. This means<br />
the .plugged_cb and .plugged_cb_dev members still get appropriately<br />
cleared.