# CVE-2025-38130: drm/connector: only call HDMI audio helper plugged cb if non-null

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2025-07-03T08:35:34.385Z
- Modified: 2026-06-17T09:16:07.020Z
- Weaknesses: CWE-476
- 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 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 *)
- linux linux_kernel: from 6.14 before 6.15.3

## References

- <https://git.kernel.org/stable/c/933f3eab1d489af8d734bff855b10d29dd5968a4> (patch)
- <https://git.kernel.org/stable/c/be9b3f9a54101c19226c25ba7163d291183777a0> (patch)

## Sources

- CVE List: [CVE-2025-38130](https://www.cve.org/CVERecord?id=CVE-2025-38130), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2025-38130](https://nvd.nist.gov/vuln/detail/CVE-2025-38130), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-38130 · Whole record: https://cve.day/CVE-2025-38130.json · Rebuilt by cve.day 2026-11-25T22:59:00.529Z
