netlink: prevent potential spectre v1 gadgets (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.22 % · percentile 12 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Analyzed
Description
In the Linux kernel, the following vulnerability has been resolved: netlink: prevent potential spectre v1 gadgets Most netlink attributes are parsed and validated from __nla_validate_parse() or validate_nla() u16 type = nla_type(nla); if (type == 0 || type > maxtype) { /* error or continue */ } @type is then used as an array index and can be used as a Spectre v1 gadget. array_index_nospec() can be used to prevent leaking content of kernel memory to malicious users. This should take care of vast majority of netlink uses, but an audit is needed to take care of others where validation is not yet centralized in core netlink functions.
Weaknesses (CWE)
- CWE-129 — Improper Validation of Array Index
References
- https://git.kernel.org/stable/c/3e5082b1c66c7783fbcd79b5b178573230e528ff
- https://git.kernel.org/stable/c/539ca5dcbc91134bbe2c45677811c31d8b030d2d
- https://git.kernel.org/stable/c/41b74e95f297ac360ca7ed6bf200100717cb6c45
- https://git.kernel.org/stable/c/992e4ff7116a77968039277b5d6aaa535c2f2184
- https://git.kernel.org/stable/c/f0950402e8c76e7dcb08563f1b4e8000fbc62455
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 | NVD · nvd@nist.gov (Primary) |
European references
- ENISA EUVD · EUVD-2023-59720
- GCVE · GCVE-0-2023-53000
CERT-FR advisories
- CERTFR-2025-AVI-0547 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2025-AVI-0336 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2025-AVI-0307 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 2.6.15 < 5.4.231cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.5 < 5.10.166cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.11 < 5.15.91cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 5.16 < 6.1.9cpe:2.3:o:linux:linux_kernel:6.2:rc1:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.2:rc2:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.2:rc3:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.2:rc4:*:*:*:*:*:*cpe:2.3:o:linux:linux_kernel:6.2:rc5:*:*:*:*:*:*
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected bfa83a9e03cf8d501c6272999843470afecb32ed < 3e5082b1c66c7783fbcd79b5b178573230e528ff ; affected bfa83a9e03cf8d501c6272999843470afecb32ed < 539ca5dcbc91134bbe2c45677811c31d8b030d2d ; affected bfa83a9e03cf8d501c6272999843470afecb32ed < 41b74e95f297ac360ca7ed6bf200100717cb6c45 ; affected bfa83a9e03cf8d501c6272999843470afecb32ed < 992e4ff7116a77968039277b5d6aaa535c2f2184 ; affected bfa83a9e03cf8d501c6272999843470afecb32ed < f0950402e8c76e7dcb08563f1b4e8000fbc62455 |
| Linux · Linux | affected 2.6.15 ; unaffected 0 < 2.6.15 ; unaffected 5.4.231 ≤ 5.4.* ; unaffected 5.10.166 ≤ 5.10.* ; unaffected 5.15.91 ≤ 5.15.* ; unaffected 6.1.9 ≤ 6.1.* |
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 |