CVE-2025-37800
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| perf6.12 | Amazon Linux | 6.12.29-33.102.amzn2023 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 16574dccd8f62dc1b585325f8a6a0aab10047ed8, 16574dccd8f62dc1b585325f8a6a0aab10047ed8, 16574dccd8f62dc1b585325f8a6a0aab10047ed8 |
| Linux | Linux | 2.6.22, 0, 6.6.89 |
| amazon:2023 | perf6.12 | 0 |
| linux | linux_kernel | 2.6.22, 2.6.22, 2.6.22 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | kernel-libbpf | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| Linux | Linux | 6.14.5, 16574dccd8f62dc1b585325f8a6a0aab10047ed8, 16574dccd8f62dc1b585325f8a6a0aab10047ed8 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | kernel-livepatch-6.12.29-33.102 | 0 |
| amazon:2023 | kernel6.12 | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | kernel-tools-devel | 0 |
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