Input: cs40l50-vibra - fix potential NULL dereference in cs40l50_upload_owt()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.12.376.15.66.16In 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.
From the CVE record · Linux
The Linux kernel's cs40l50_upload_owt() function does not check whether kmalloc() succeeds. If allocation fails, it could dereference a NULL pointer. The input does not specify how an attacker could trigger this condition or whether access or user interaction is required.
Engineers running Linux kernels with the cs40l50-vibra component should check their versions; affected versions are not specified.