VDB

CVE-2025-37800

CVE-2025-37800 PUBLISHED CVSS 7.1 HIGH

driver core: fix potential NULL pointer dereference in dev_uevent()

Reported by linux · Published May 8, 2025

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
perf6.12Amazon Linux6.12.29-33.102.amzn2023

Risk scores

CVSS 3.1
7.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

Affected products

VendorProductVersions
LinuxLinux16574dccd8f62dc1b585325f8a6a0aab10047ed8, 16574dccd8f62dc1b585325f8a6a0aab10047ed8, 16574dccd8f62dc1b585325f8a6a0aab10047ed8
LinuxLinux2.6.22, 0, 6.6.89
amazon:2023perf6.120
linuxlinux_kernel2.6.22, 2.6.22, 2.6.22
amazon:2023kernel-tools0
amazon:2023kernel-libbpf0
amazon:2023bpftool0
amazon:2023kernel-headers0
amazon:2023python3-perf6.120
LinuxLinux6.14.5, 16574dccd8f62dc1b585325f8a6a0aab10047ed8, 16574dccd8f62dc1b585325f8a6a0aab10047ed8
amazon:2023kernel-devel0
amazon:2023kernel-modules-extra-common0
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel-livepatch-6.12.29-33.1020
amazon:2023kernel6.120
amazon:2023kernel-libbpf-static0
amazon:2023kernel-libbpf-devel0
amazon:2023kernel-tools-devel0

Timeline

  • May 7, 2025 CVE Published
  • May 8, 2025 EPSS Score (30 in total, the first dated here)
  • May 8, 2025 Coalition ESS Score (10 in total, the first dated here)
  • Oct 12, 2025 PoC Published (6 in total, the first dated here)
  • Dec 15, 2025 Security Advisory (131 in total, the first dated here)
  • Mar 29, 2026 Distribution Patch (127 in total, the first dated here)
  • Oct 18, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-37800
vulnetix vdb fixes CVE-2025-37800

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-37800/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›