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.
References
Configurations
Configuration 1 (hide)
|
History
05 Jun 2025, 14:32
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2025-05-08 07:15
Updated : 2025-06-05 14:32
NVD link : CVE-2025-37800
Mitre link : CVE-2025-37800
CVE.ORG link : CVE-2025-37800
JSON object : View
Products Affected
linux
- linux_kernel
CWE
CWE-476
NULL Pointer Dereference