OPP: Fix race between OPP addition and lookup (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.16 % · percentile 6 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- Affected products
- Linux · Linux
- NVD status
- Received
Description
In the Linux kernel, the following vulnerability has been resolved: OPP: Fix race between OPP addition and lookup A race exists between dev_pm_opp_add_dynamic() and dev_pm_opp_find_freq_exact(): CPU0 (add) CPU1 (lookup) ------------------------------- ------------------------------ _opp_add() mutex_lock() list_add(&new_opp->node, head) mutex_unlock() _opp_table_find_key() mutex_lock() dev_pm_opp_get(opp) kref_get() mutex_unlock() kref_init(&new_opp->kref) dev_pm_opp_put() kref_put_mutex() The newly added OPP is inserted into the list before its kref is initialized. A concurrent lookup can find this OPP and increment its reference count while it is still uninitialized, leading to refcount corruption and a potential premature free. Fix this by initializing ->kref and ->opp_table before making the OPP visible via list_add(). This ensures any concurrent lookup observes a fully initialized object. [ Viresh: Updated commit log ]
References
- https://git.kernel.org/stable/c/835b9b5b4d287a03c713680b0231d36ff599201b
- https://git.kernel.org/stable/c/2fb061a90898420d8ca1a0b9959ca977d90fa841
- https://git.kernel.org/stable/c/e25be5d812ec8ca2615d23726b3861b04e2fff35
- https://git.kernel.org/stable/c/932ebfad767be1395946cbc1727a7c38eeee3d24
- https://git.kernel.org/stable/c/1946ea2f6b3ec00e313c78e83fc196f1f6aba2a9
- https://git.kernel.org/stable/c/46696b0b2123475d7f95909435c09808fc5ffd23
- https://git.kernel.org/stable/c/bb75bd7d9ae7672034f73ce67a57e6ac89bb39e5
- https://git.kernel.org/stable/c/f5e1cc9a284bff2510981643a5bca4bc4c21b81a
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | Linux |
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) |
European references
- ENISA EUVD · EUVD-2026-59552
- GCVE · GCVE-0-2026-74405
CERT-FR advisories
- CERTFR-2026-AVI-1596 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1595 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1537 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1473 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1385 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1333 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1286 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1203 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
Affected products
| Product | Affected versions |
|---|---|
| Linux · Linux | affected : ≥ 7034764a1e4a6edbb60914e89aad8384e3fe5d17 < 835b9b5b4d287a03c713680b0231d36ff599201b affected : ≥ 7034764a1e4a6edbb60914e89aad8384e3fe5d17 < 2fb061a90898420d8ca1a0b9959ca977d90fa841 affected : ≥ 7034764a1e4a6edbb60914e89aad8384e3fe5d17 < e25be5d812ec8ca2615d23726b3861b04e2fff35 affected : ≥ 7034764a1e4a6edbb60914e89aad8384e3fe5d17 < 932ebfad767be1395946cbc1727a7c38eeee3d24 affected : ≥ 7034764a1e4a6edbb60914e89aad8384e3fe5d17 < 1946ea2f6b3ec00e313c78e83fc196f1f6aba2a9 affected : ≥ 7034764a1e4a6edbb60914e89aad8384e3fe5d17 < 46696b0b2123475d7f95909435c09808fc5ffd23 affected : ≥ 7034764a1e4a6edbb60914e89aad8384e3fe5d17 < bb75bd7d9ae7672034f73ce67a57e6ac89bb39e5 affected : ≥ 7034764a1e4a6edbb60914e89aad8384e3fe5d17 < f5e1cc9a284bff2510981643a5bca4bc4c21b81a Other versions : unaffected |
| Linux · Linux | affected : 4.11 unaffected : ≥ 0 < 4.11 unaffected : ≥ 5.10.273 ≤ 5.10.* unaffected : ≥ 5.15.224 ≤ 5.15.* unaffected : ≥ 6.1.191 ≤ 6.1.* unaffected : ≥ 6.6.160 ≤ 6.6.* unaffected : ≥ 6.12.114 ≤ 6.12.* unaffected : ≥ 6.18.40 ≤ 6.18.* unaffected : ≥ 7.1.5 ≤ 7.1.* unaffected : ≥ 7.2 ≤ * Other versions : affected |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |