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

Published May 8, 2025
·
Updated

driver core: fix potential NULL pointer dereference in devuevent()

Affected Software

10 affected componentsFixes available
Linux Linux kernel
Linux Linux kernel<6.6.89
Linux Linux kernel>=6.7<6.12.26
Linux Linux kernel>=6.13<6.14.5
Linux Linux kernel=6.15-rc1
Linux Linux kernel=6.15-rc2
Linux Linux kernel=6.15-rc3
Microsoft azl3 kernel 6.6.85.1-4<6.6.92.2-1
6.6.92.2-1
Microsoft azl3 kernel 6.6.92.2-1<6.6.92.2-1
6.6.92.2-1
Microsoft cbl2 kernel 5.15.186.1-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 6.6.92.2-1
  2. Configuration

    In the dev_uevent() implementation, use WRITE_ONCE() when setting the driver pointer so the driver instance cannot disappear while it is being accessed; avoid potential NULL pointer dereference.

    Linux kernel Use WRITE_ONCE() when setting the driver pointer (dev_uevent() path) = WRITE_ONCE()
  3. Configuration

    In dev_uevent(), when fetching the pointer from dev->driver, change to use a valid pointer and take bus' drivers klist lock to prevent the driver from being unbound (dev->driver changing to NULL) during access, avoiding tearing and crashes.

    Linux kernel Pointer fetch synchronization in dev_uevent() (bus' drivers klist lock) = Hold bus' drivers klist lock

Event History

May 8, 2025
CVE Published
via MITRE·06:26 AM
Data Sourced
via MITRE·06:26 AM
DescriptionSeverity
Data Sourced
via NVD·07:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Jul 11, 2025
Data Sourced
via Microsoft·12:00 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·07:00 AM
DescriptionSeverityWeakness
Updated
via Microsoft·07:00 AM
SeverityWeaknessAffected Software
Updated
via Microsoft·07:00 AM
WeaknessAffected Software

Frequently Asked Questions

1

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.

2

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.

3

What systems are affected by CVE-2025-37800?

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

4

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.

5

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