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

CVE-2026-80677
HIGH 7.8

At a glance

Source
NVD
EPSS
EPSS 0.18 % · percentile 7 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Received

Description

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().

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected ac338acf514e7b578fa9e3742ec2c292323b4c1a < 89789e4c141904506163dcb91c7289a074573931 ; affected ac338acf514e7b578fa9e3742ec2c292323b4c1a < 51b3e1de53ee5b7775c7ff90e67fdb2665fce938 ; affected ac338acf514e7b578fa9e3742ec2c292323b4c1a < 358697929351f619143f59c6a8a15a4994748b79 ; affected ac338acf514e7b578fa9e3742ec2c292323b4c1a < 5e79e0180515b31b2e2244dc3d256fd8b5a07021 ; affected ac338acf514e7b578fa9e3742ec2c292323b4c1a < 860885fcd2611bca8c28dac8b2c1c7ff160f763e ; affected ac338acf514e7b578fa9e3742ec2c292323b4c1a < cc77f0d91e3214e4292208f02a1dc09a31f9aac7
Linux · Linuxaffected 5.6 ; unaffected 0 < 5.6 ; unaffected 5.10.261 ≤ 5.10.* ; unaffected 5.15.212 ≤ 5.15.* ; unaffected 6.1.178 ≤ 6.1.* ; unaffected 6.6.145 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD