hwrng: core - fix rng list on registration error (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.21 % · percentile 12 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Received
Description
In the Linux kernel, the following vulnerability has been resolved: hwrng: core - fix rng list on registration error hwrng_register(rng) does the following: 1. Checks if rng has name and read methods set 2. Checks if the name already exists 3. Adds rng to global rng_list 4. May try to set rng to current_rng If step 4 fails, it returns an error. However, it does not remove the rng from rng_list, causing a dangling reference which can result in use-after-free if the caller frees rng, since registration failed. Add a list_del_init() cleanup step.
References
- https://git.kernel.org/stable/c/30b2cc2966dac87ee95a99c49e28486c2a8129cd
- https://git.kernel.org/stable/c/e37c67f768234e14cd6ea3b081568dd915c5b67e
- https://git.kernel.org/stable/c/de4f1bcb61a73cc896decdbd27d61a34add93b53
- https://git.kernel.org/stable/c/cf293c9c7424de0d04b51367d07f40570ce80231
- https://git.kernel.org/stable/c/bee8d1fcdc8f389b595b0a4cf6fe8440f499458a
- https://git.kernel.org/stable/c/3a5834db2b1ce25649f330e78efe1ccde78967fd
European references
- ENISA EUVD · EUVD-2026-82271
- GCVE · GCVE-0-2026-93163
CERT-FR advisories
- CERTFR-2026-AVI-1385 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1289 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1253 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected 2bbb6983887fefc8026beab01198d30f47b7bd22 < 30b2cc2966dac87ee95a99c49e28486c2a8129cd ; affected 2bbb6983887fefc8026beab01198d30f47b7bd22 < e37c67f768234e14cd6ea3b081568dd915c5b67e ; affected 2bbb6983887fefc8026beab01198d30f47b7bd22 < de4f1bcb61a73cc896decdbd27d61a34add93b53 ; affected 2bbb6983887fefc8026beab01198d30f47b7bd22 < cf293c9c7424de0d04b51367d07f40570ce80231 ; affected 2bbb6983887fefc8026beab01198d30f47b7bd22 < bee8d1fcdc8f389b595b0a4cf6fe8440f499458a ; affected 2bbb6983887fefc8026beab01198d30f47b7bd22 < 3a5834db2b1ce25649f330e78efe1ccde78967fd |
| Linux · Linux | affected 4.14 ; unaffected 0 < 4.14 ; unaffected 6.1.191 ≤ 6.1.* ; unaffected 6.6.160 ≤ 6.6.* ; unaffected 6.12.110 ≤ 6.12.* ; unaffected 6.18.52 ≤ 6.18.* |
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 |