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 2EB572820C6 for ; Wed, 18 Jun 2025 09:35:42 +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=1750239342; cv=none; b=I4FPrVQZqmFpduKF2nCx+2Huy3adaOclXpNp1iwCv+udBe9rAa6YIRni8U4CDvQ2mz/f5p9IUr+J2SLBfq44oDBjwxmObpb1Vi4SSbLZmgJk8YkE01lXlmBHRYM2aQ1n31SWxpGb0KNG2GOeD76Bu5bHW4snWshD9vcnzTqcxvo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750239342; c=relaxed/simple; bh=ZNBIsjfGqMQ53czuIRbGuntUF1ye0AiKLzjDbMmMZ0Q=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=j5iGDU8ANOK5yHBpI3dUD7LIXDjEZVoWj8ZBSACHKjzDttzKBUBOLMBGPPUVaPv/+aTvqJKuT9pxNJ6blHsb2eG1UThTlx218vuQHgd0ql7IuxsPoYti3c0nI1ikMRCI+4JAarCJakUisc7kn84Y7jx0pTpO0YImGYtfOgzNOBc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=S0lG3vFm; 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="S0lG3vFm" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A3827C4CEE7; Wed, 18 Jun 2025 09:35:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1750239342; bh=ZNBIsjfGqMQ53czuIRbGuntUF1ye0AiKLzjDbMmMZ0Q=; h=From:To:Cc:Subject:Date:Reply-to:From; b=S0lG3vFmnbBka4reoHpATmw64qFwUUu/KGw4vJvtKwj+zwiQe6nkP0SURYfiI8v0h CQQj9PQ4D8xyCJm/S0jdliF9OfbuzK22GCqijqwvtCJxa8nSF5skJBzjaXKEvRH1vd mByP4+i0SCooSboLcgLVVktvefxsSRAmjuGeA44I= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38070: ASoC: sma1307: Add NULL check in sma1307_setting_loaded() Date: Wed, 18 Jun 2025 11:34:05 +0200 Message-ID: <2025061838-CVE-2025-38070-8f13@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=1773; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=nS62yzjVNgaWJFbFlbkTmcDqVve89GdFANko4xTcfRk=; b=owGbwMvMwCRo6H6F97bub03G02pJDBlB7Z8CRe2OTWLukzyytSbs4YHAbkUN41/Mx2ff7Z/5+ H9t1terHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjARUX6G+d6Zv/n3bdBIay+o v3RQVO6T7r4Aa4b5Gckf3K5/m+rHvb/mHsv5vWV50nrbAQ== 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: sma1307: Add NULL check in sma1307_setting_loaded() All varibale allocated by kzalloc and devm_kzalloc could be NULL. Multiple pointer checks and their cleanup are added. This issue is found by our static analysis tool The Linux kernel CVE team has assigned CVE-2025-38070 to this issue. Affected and fixed versions =========================== Fixed in 6.14.9 with commit f8434b8ba437d3f6cbcd9ffe8405bd16ed28fc5c Fixed in 6.15 with commit 0ec6bd16705fe21d6429d6b8f7981eae2142bba8 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-38070 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/codecs/sma1307.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/f8434b8ba437d3f6cbcd9ffe8405bd16ed28fc5c https://git.kernel.org/stable/c/0ec6bd16705fe21d6429d6b8f7981eae2142bba8