CVE-2025-37800CWE-476

CVE-2025-37800

High · published May 8, 2025

CVSS v3.1
7.1
EPSS
0%
Percentile
10.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.1 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00207 · 10.3th percentile
Weakness
CWE-476 · NULL Pointer Dereference
Published
2025-05-08T11:15Z
Affected products (6)
ProductVersionsFixed in
linux/linux_kernel< 6.6.896.6.89
linux/linux_kernel≥ 6.7, < 6.12.266.12.26
linux/linux_kernel≥ 6.13, < 6.14.56.14.5
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (4)
EPSS history
Timeline
  • 08 MAY 06:26Z
    driver core: fix potential NULL pointer dereference in dev_uevent()
    cvelistv5