CVE Catalog

CVE-2025-37800

HighCVSS 7.1
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.18%

8th percentile - higher than 8% of all known CVEs

Summary

In the Linux kernel, the dev_uevent() function lacks synchronization when accessing the dev->driver pointer. This can lead to a race condition and NULL pointer dereference.

Risk Assessment

A user reading the 'uevent' attribute while the device is being unbound may cause a system crash or information leak.

Recommendation

Apply the patch that uses READ_ONCE() and WRITE_ONCE() along with the driver's klist lock.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS