[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025072505-CVE-2025-38381-b27a@gregkh>
Date: Fri, 25 Jul 2025 14:55:12 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2025-38381: Input: cs40l50-vibra - fix potential NULL dereference in cs40l50_upload_owt()
From: Greg Kroah-Hartman <gregkh@...nel.org>
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
Powered by blists - more mailing lists