CVE-2025-38130

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.
Configurations

Configuration 1 (hide)

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

20 Nov 2025, 21:22

Type Values Removed Values Added
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 5.5
First Time Linux linux Kernel
Linux
References () https://git.kernel.org/stable/c/933f3eab1d489af8d734bff855b10d29dd5968a4 - () https://git.kernel.org/stable/c/933f3eab1d489af8d734bff855b10d29dd5968a4 - Patch
References () https://git.kernel.org/stable/c/be9b3f9a54101c19226c25ba7163d291183777a0 - () https://git.kernel.org/stable/c/be9b3f9a54101c19226c25ba7163d291183777a0 - Patch
CWE CWE-476

Information

Published : 2025-07-03 09:15

Updated : 2025-11-20 21:22


NVD link : CVE-2025-38130

Mitre link : CVE-2025-38130

CVE.ORG link : CVE-2025-38130


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-476

NULL Pointer Dereference