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

- Severity: High 7.1 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-01)
- Published: 2025-05-08T06:26:01.125Z
- Modified: 2026-10-15T22:18:18.253Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 16574dccd8f62dc1b585325f8a6a0aab10047ed8 before abe56be73eb10a677d16066f65ff9d30251f5eee; from 16574dccd8f62dc1b585325f8a6a0aab10047ed8 before 2b344e779d9afd0fcb5ee4000e4d0fc7d8d867eb; from 16574dccd8f62dc1b585325f8a6a0aab10047ed8 before 3781e4b83e174364998855de777e184cf0b62c40; from 16574dccd8f62dc1b585325f8a6a0aab10047ed8 before 18daa52418e7e4629ed1703b64777294209d2622; 2.6.22 (not affected: before 2.6.22; from 6.6.89 up to 6.6.*; from 6.12.26 up to 6.12.*; from 6.14.5 up to 6.14.*; from 6.15 up to *)
- linux linux_kernel: before 6.6.89; from 6.7 before 6.12.26; from 6.13 before 6.14.5; 6.15

## Every score

- Linux: CVSS:3.1 7.1 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/abe56be73eb10a677d16066f65ff9d30251f5eee> (patch)
- <https://git.kernel.org/stable/c/2b344e779d9afd0fcb5ee4000e4d0fc7d8d867eb> (patch)
- <https://git.kernel.org/stable/c/3781e4b83e174364998855de777e184cf0b62c40> (patch)
- <https://git.kernel.org/stable/c/18daa52418e7e4629ed1703b64777294209d2622> (patch)

## Sources

- CVE List: [CVE-2025-37800](https://www.cve.org/CVERecord?id=CVE-2025-37800), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2025-37800](https://nvd.nist.gov/vuln/detail/CVE-2025-37800), Public domain, modified 2026-10-15

---

Page: https://cve.day/CVE-2025-37800 · Whole record: https://cve.day/CVE-2025-37800.json · Rebuilt by cve.day 2026-11-25T22:58:57.789Z
