CVE-2025-38381: Input: cs40l50-vibra - fix potential NULL dereference in cs40l50_upload_owt()

Published Jul 25, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

Input: cs40l50-vibra - fix potential NULL dereference in cs40l50uploadowt()

The cs40l50uploadowt() function allocates memory via kmalloc() without checking for allocation failure, which could lead to a NULL pointer dereference.

Return -ENOMEM in case allocation fails.

Affected Software

7 affected components
Linux Kernel
Linux Linux kernel>=6.11<6.12.37
Linux Linux kernel>=6.13<6.15.6
Linux Linux kernel=6.16-rc1
Linux Linux kernel=6.16-rc2
Linux Linux kernel=6.16-rc3
Linux Linux kernel=6.16-rc4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Update cs40l50_upload_owt() to check whether kmalloc() fails and return -ENOMEM on allocation failure, preventing a NULL pointer dereference.

Event History

Jul 25, 2025
CVE Published
via MITRE·12:53 PM
Data Sourced
via MITRE·12:53 PM
Description
Data Sourced
via NVD·01:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-38381?

CVE-2025-38381 has been classified with a medium severity level due to the potential for NULL pointer dereference.

2

How do I fix CVE-2025-38381?

To fix CVE-2025-38381, update your Linux kernel to the latest version where this vulnerability has been resolved.

3

What causes the vulnerability in CVE-2025-38381?

The vulnerability in CVE-2025-38381 is caused by the cs40l50_upload_owt() function not checking for memory allocation failures.

4

Which versions of the Linux kernel are affected by CVE-2025-38381?

CVE-2025-38381 affects specific versions of the Linux kernel that include the cs40l50-vibra driver before the fix was applied.

5

Is there a workaround for CVE-2025-38381?

Currently, there are no documented workarounds for CVE-2025-38381, and applying the kernel update is the recommended action.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203