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 44E0E14BFA2 for ; Thu, 1 May 2025 13:08:52 +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=1746104932; cv=none; b=t8okuwsrQzVJqFIvzR5GPBfIU6Q+n8U/dXo/auHd/oBk3spy7dWJAKYgqi3yy4zbMLBLoDJL0sGju5fAXLn44LgXQvnaF1SFPOS1xI38JvwP5y5FY7BRCbHADavAx5/2zRbXDd9AuIiAbZmkMMkV/AK/R0cdn92J4neMr0xgAnI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746104932; c=relaxed/simple; bh=57HncOQsiSIdOa3bhe89uTQrqI9Osl9XloDDO5PKcaE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=m6td6jO4rcIAWvKGuCcfxP/5Ahjq44E3dlUqFZkoMhKTWiR+si7wN/eWAoDChfQw6t5RM263TU0zH3md9zaktYLfd7zkYyifphFmTwgAioFVRgPYGHukSlmylKoBzMWFh2NTJJA7eL+xXB4mc2DxbfAXyOt6i0Q2Xt+2uVp4nLg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=TRO79i+K; 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="TRO79i+K" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A51D9C4CEE3; Thu, 1 May 2025 13:08:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1746104932; bh=57HncOQsiSIdOa3bhe89uTQrqI9Osl9XloDDO5PKcaE=; h=From:To:Cc:Subject:Date:Reply-to:From; b=TRO79i+KFW6qCUCWILb/18RncRzIV8gSDxfFsaW7w7UcgqhznuUEOvf1hpwfxGPAH mkCR1JZHWOMvvMDVUXWVqZtBTL+2TxdpBPaBh4n7P1bgKoNTJcpji6BxUxLLGsMgoH 3SM8HyXPl8IS4PWZChGciKr1oXfdoZRi4QzPb8bI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-37793: ASoC: Intel: avs: Fix null-ptr-deref in avs_component_probe() Date: Thu, 1 May 2025 15:07:40 +0200 Message-ID: <2025050121-CVE-2025-37793-a56f@gregkh> X-Mailer: git-send-email 2.49.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=2396; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=WDYyyV7J6J/AwdEb6kMhLQpD8/Uw1mDqBBjtgQbQd9s=; b=owGbwMvMwCRo6H6F97bub03G02pJDBnCRZyJdvVRt4QUTzl7zfa9v6kgoVt01fqKvzdnvjG89 Knw7Bz5jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhIqRPDPMv9kqbrg9dqbTKe /ebufXfWjE8XpjEsmP0nZdK0j2K9B5Kudk55xKczVdm9FQA= 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: ASoC: Intel: avs: Fix null-ptr-deref in avs_component_probe() devm_kasprintf() returns NULL when memory allocation fails. Currently, avs_component_probe() does not check for this case, which results in a NULL pointer dereference. The Linux kernel CVE team has assigned CVE-2025-37793 to this issue. Affected and fixed versions =========================== Issue introduced in 6.6 with commit 739c031110da9ba966b0189fa25a2a1c0d42263c and fixed in 6.6.88 with commit aaa93b8846101461de815759d39979661b82d5a5 Issue introduced in 6.6 with commit 739c031110da9ba966b0189fa25a2a1c0d42263c and fixed in 6.12.25 with commit 23fde311ea1d0a6c36bf92ce48b90b77d0ece1a4 Issue introduced in 6.6 with commit 739c031110da9ba966b0189fa25a2a1c0d42263c and fixed in 6.14.4 with commit c2825073271b6f15e669a424b363612082494863 Issue introduced in 6.6 with commit 739c031110da9ba966b0189fa25a2a1c0d42263c and fixed in 6.15-rc3 with commit 95f723cf141b95e3b3a5b92cf2ea98a863fe7275 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-37793 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: sound/soc/intel/avs/pcm.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/aaa93b8846101461de815759d39979661b82d5a5 https://git.kernel.org/stable/c/23fde311ea1d0a6c36bf92ce48b90b77d0ece1a4 https://git.kernel.org/stable/c/c2825073271b6f15e669a424b363612082494863 https://git.kernel.org/stable/c/95f723cf141b95e3b3a5b92cf2ea98a863fe7275