Bug 2525370 (CVE-2026-80677) - CVE-2026-80677 kernel: driver core: use READ_ONCE() for dev->driver in dev_has_sync_state()
Summary: CVE-2026-80677 kernel: driver core: use READ_ONCE() for dev->driver in dev_ha...
Keywords:
Status: NEW
Alias: CVE-2026-80677
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-28 07:41 UTC by OSIDB Bzimport
Modified: 2026-08-31 06:59 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-08-28 07:41:30 UTC
In the Linux kernel, the following vulnerability has been resolved:

driver core: use READ_ONCE() for dev->driver in dev_has_sync_state()

dev_has_sync_state() reads dev->driver twice without holding
device_lock() -- once for the NULL check and once to dereference
->sync_state. Some callers only hold device_links_write_lock, which
doesn't prevent a concurrent unbind from clearing dev->driver via
device_unbind_cleanup().

Fix it by reading dev->driver exactly once with READ_ONCE(), pairing
with the WRITE_ONCE() in device_set_driver().


Note You need to log in before you can comment on or make changes to this bug.