Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E7AF12D1925 for ; Thu, 3 Jul 2025 08:39:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751531941; cv=none; b=kmy8BcZEW9HZrqosOG9Ti/vHQLTVQriiL6wG8J4hk4QUlm9IO67Jg9Ilgv4ccYrH1s/N62LOoycNIDQZ1wzsoFGLVzDsmhaOReZP8Q7yZ9MiDLLBaBjFTGptiPcFH/MptEBVkRDi80JYN3BO6CBSZCmDURSaIwcFx3UPWRWfdvA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1751531941; c=relaxed/simple; bh=+JSx76/5IyrmVILSRIu0+d4rcBjOrNDa/u26NaU5b+c=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=njHp13ggFFGptVxprxQkgC68Y6sKgnBzb/qdaDZ4pr6hk5y2dw9eqS+P/9LhIPxujB8Mu5wGYiBVo3w4EGbzm408/EOzI7lA0h3vuIv1gXMBPCGs9KMESpUXXfQK9ncwcJjHpqRKzLSvBxaw92GoOaeMXI7pMKM5bXGTCnjtmGs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=GMXdBe+o; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="GMXdBe+o" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 34872C4CEED; Thu, 3 Jul 2025 08:38:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1751531940; bh=+JSx76/5IyrmVILSRIu0+d4rcBjOrNDa/u26NaU5b+c=; h=From:To:Cc:Subject:Date:Reply-to:From; b=GMXdBe+oo4M1bEaEJOXCgei2HMxYEpodfUgf+EnsXvy3Bfi763uuArhDhfhor/0j1 rL/AFYijTJ+FYqCYAmAwFub/1XgPwf11Be/LfL16kYBTf03Z7lE5nxNjwJRu/7KCNQ tz2aMys1EiTLuexO7BrUgJPSmgeuBqj/9md0NNNA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38130: drm/connector: only call HDMI audio helper plugged cb if non-null Date: Thu, 3 Jul 2025 10:35:47 +0200 Message-ID: <2025070330-CVE-2025-38130-3371@gregkh> X-Mailer: git-send-email 2.50.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2224; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=XypuK7lmzEpspVhJEvxz4IRXbQS43qpu3xIYxq4Ja20=; b=owGbwMvMwCRo6H6F97bub03G02pJDBlpDpfcRTe6qqon3/t67Ks8/yqvdqUeudAvpdqr3aqmT XKo3dDTEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABPh5meYZ73+xLPTrd9nueyu uvbySerqezven2OYxTxha/jC3lc3mNdP9nmYJajy40jIJAA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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. The Linux kernel CVE team has assigned CVE-2025-38130 to this issue. Affected and fixed versions =========================== Issue introduced in 6.14 with commit baf616647fe6f857a0cf2187197de31e9bb17a71 and fixed in 6.15.3 with commit 933f3eab1d489af8d734bff855b10d29dd5968a4 Issue introduced in 6.14 with commit baf616647fe6f857a0cf2187197de31e9bb17a71 and fixed in 6.16-rc1 with commit be9b3f9a54101c19226c25ba7163d291183777a0 Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2025-38130 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/gpu/drm/display/drm_hdmi_audio_helper.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: https://git.kernel.org/stable/c/933f3eab1d489af8d734bff855b10d29dd5968a4 https://git.kernel.org/stable/c/be9b3f9a54101c19226c25ba7163d291183777a0