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 0317F14A09C for ; Fri, 25 Jul 2025 12:55:26 +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=1753448127; cv=none; b=D2WNAn7o/6cjrn+ja+w0QMGRlFj+4X8Np00YtCLc86jHOU5e+PD1az9bqCnCODtWa+WyWAzuLVqXojfHnJ7HtcJGJbyLSHm70qVTWY+DyPptx1YATMP7HheYa1sffZcyTunub4Lz0VXXELtg6hAs+zmE6877VlSn+5IehPnn8N8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1753448127; c=relaxed/simple; bh=Gs8EMiWpOJjg5XRvksTLBMdmH4Vmc7V2bwNLxTfviCI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=lurakFloOVlSjp/7H6YFu6fX7ytTx/zSdx9rn/zyjjLtRBj341QTLjsCpYG/Wn6A623wOgn56uxnNbJ/OBYhCuIbtHHPPpRi51EIhnFdVRYEi+HWyo5xkUPMekBMsREV/TC6cVfb2W9QoqmsaP04wA7cqHg9EkuzFcN1Fv7pJjc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ND4YlBWa; 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="ND4YlBWa" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 37C33C4CEEB; Fri, 25 Jul 2025 12:55:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1753448126; bh=Gs8EMiWpOJjg5XRvksTLBMdmH4Vmc7V2bwNLxTfviCI=; h=From:To:Cc:Subject:Date:Reply-to:From; b=ND4YlBWaiRUfGuWsCahTmXLkezDtCdn8pmw5kCy7LZ8FbCMafBOUosX678Rf8j1F5 FQ4cw0k8I7tYNVMwWE8oFKY2muFXWQ34Yg0ucFgEP0cVjKI0vl72+QbSucMel1c3m5 gXJfa7yb9ZsrUOKCDc4UxnERz7Mznk2dYf7bEUPU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-38381: Input: cs40l50-vibra - fix potential NULL dereference in cs40l50_upload_owt() Date: Fri, 25 Jul 2025 14:55:12 +0200 Message-ID: <2025072505-CVE-2025-38381-b27a@gregkh> X-Mailer: git-send-email 2.50.1 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=2227; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Oko5xLTPg/LOfAr0ErmtvDBHWKKu5T5PobjiO6rMtAk=; b=owGbwMvMwCRo6H6F97bub03G02pJDBnNdSvfSK80jGdXqeBtffFhe/uGgvsMYmveLXCsNpWba xc0lUO6I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACbCJ8iwYO+WX30fjx/xqrof H5RymFfbcar4dYZ5dkkOegLCNYt/F2x8EVJgcvcVZ90BAA== 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: Input: cs40l50-vibra - fix potential NULL dereference in cs40l50_upload_owt() The cs40l50_upload_owt() function allocates memory via kmalloc() without checking for allocation failure, which could lead to a NULL pointer dereference. Return -ENOMEM in case allocation fails. The Linux kernel CVE team has assigned CVE-2025-38381 to this issue. Affected and fixed versions =========================== Issue introduced in 6.11 with commit c38fe1bb5d21c2ce0857965ee06174ee587d6b42 and fixed in 6.12.37 with commit ea20568895c1122f15b6fc9e8d02c6cbe22964f8 Issue introduced in 6.11 with commit c38fe1bb5d21c2ce0857965ee06174ee587d6b42 and fixed in 6.15.6 with commit e87fc697fa4be5164e47cfba4ddd4732499adc60 Issue introduced in 6.11 with commit c38fe1bb5d21c2ce0857965ee06174ee587d6b42 and fixed in 6.16-rc5 with commit 4cf65845fdd09d711fc7546d60c9abe010956922 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-38381 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/input/misc/cs40l50-vibra.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/ea20568895c1122f15b6fc9e8d02c6cbe22964f8 https://git.kernel.org/stable/c/e87fc697fa4be5164e47cfba4ddd4732499adc60 https://git.kernel.org/stable/c/4cf65845fdd09d711fc7546d60c9abe010956922