Bug 2376042 (CVE-2025-38130) - CVE-2025-38130 kernel: drm/connector: only call HDMI audio helper plugged cb if non-null
Summary: CVE-2025-38130 kernel: drm/connector: only call HDMI audio helper plugged cb ...
Keywords:
Status: NEW
Alias: CVE-2025-38130
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-07-03 09:01 UTC by OSIDB Bzimport
Modified: 2025-07-03 19:38 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-07-03 09:01:52 UTC
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.

Comment 1 Avinash Hanwate 2025-07-03 19:30:51 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025070330-CVE-2025-38130-3371@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.