mirror of
https://github.com/0xMarcio/cve.git
synced 2025-11-30 18:56:19 +00:00
1.1 KiB
1.1 KiB
CVE-2025-37800
Description
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 anotherthreads unbinds the device from its driver, change to dev->driver from avalid 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 suredriver instance will not disappear while we access it.Use WRITE_ONCE() when setting the driver pointer to ensure there is notearing.
POC
Reference
No PoCs from references.