CWE
476
Advisory Published
Updated

CVE-2025-37800: driver core: fix potential NULL pointer dereference in dev_uevent()

First published: Thu May 08 2025(Updated: )

In the Linux kernel, the following vulnerability has been resolved: driver core: fix potential NULL pointer dereference in dev_uevent() If userspace reads "uevent" device attribute at the same time as another threads unbinds the device from its driver, change to dev->driver from a valid pointer to NULL may result in crash. Fix this by using READ_ONCE() when fetching the pointer, and take bus' drivers klist lock to make sure driver instance will not disappear while we access it. Use WRITE_ONCE() when setting the driver pointer to ensure there is no tearing.

Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Affected SoftwareAffected VersionHow to fix
Linux Kernel

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2025-37800?

    CVE-2025-37800 has been rated as a moderate severity vulnerability due to the potential for a NULL pointer dereference.

  • How do I fix CVE-2025-37800?

    To fix CVE-2025-37800, ensure that your Linux kernel is updated to the latest version that includes the patch for this vulnerability.

  • What systems are affected by CVE-2025-37800?

    CVE-2025-37800 affects the Linux Kernel across various distributions that utilize this kernel version.

  • Can CVE-2025-37800 lead to a system crash?

    Yes, CVE-2025-37800 can potentially result in a system crash due to the NULL pointer dereference issue.

  • Is CVE-2025-37800 an exploit in the Linux kernel?

    CVE-2025-37800 is a vulnerability that can be exploited if not patched, allowing for potential disruption in device handling.

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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203