---
id: CVE-2025-37800
title: |-
  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…
summary: |-
  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…
severity: high
cvss: 7.1
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H'
cwe:
  - CWE-476
vendor: linux
product: linux_kernel
affected:
  - linux_kernel < 6.6.89
  - 'linux_kernel >= 6.7, < 6.12.26'
  - 'linux_kernel >= 6.13, < 6.14.5'
  - linux_kernel = 6.15
patched:
  - linux_kernel 6.14.5
published: '2025-05-08'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T22:18:18.253'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-37800'
references:
  - url: 'https://git.kernel.org/stable/c/18daa52418e7e4629ed1703b64777294209d2622'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/2b344e779d9afd0fcb5ee4000e4d0fc7d8d867eb'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/3781e4b83e174364998855de777e184cf0b62c40'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/abe56be73eb10a677d16066f65ff9d30251f5eee'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
  - cve.org
epss: 0.00207
epssPercentile: 0.10735
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-10-15T21:45:16.837997Z'
ingestedAt: '2026-10-15T22:48:25.478Z'
---

## Overview

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.

## Affected

- `linux_kernel < 6.6.89`
- `linux_kernel >= 6.7, < 6.12.26`
- `linux_kernel >= 6.13, < 6.14.5`
- `linux_kernel = 6.15`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.14.5`
