7.8high
netlink: prevent potential spectre v1 gadgets
- Severity
- 7.8high CVSS:3.1 by NVD
- Exploit likelihood
- 0.22% (higher than 13% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from bfa83a9e03cf8d501c6272999843470afecb32ed before 3e5082b1c66c7783fbcd79b5b178573230e528ff, from bfa83a9e03cf8d501c6272999843470afecb32ed before 539ca5dcbc91134bbe2c45677811c31d8b030d2d, from bfa83a9e03cf8d501c6272999843470afecb32ed before 41b74e95f297ac360ca7ed6bf200100717cb6c45, from bfa83a9e03cf8d501c6272999843470afecb32ed before 992e4ff7116a77968039277b5d6aaa535c2f2184, from bfa83a9e03cf8d501c6272999843470afecb32ed before f0950402e8c76e7dcb08563f1b4e8000fbc62455, 2.6.15 Not affected: before 2.6.15, from 5.4.231 up to 5.4.*, from 5.10.166 up to 5.10.*, from 5.15.91 up to 5.15.*, from 6.1.9 up to 6.1.*, from 6.2 up to * | CVE List |
| linux linux_kernel | from 2.6.15 before 5.4.231, from 5.5 before 5.10.166, from 5.11 before 5.15.91, from 5.16 before 6.1.9, 6.2 | NVD |
Classification
What each source says
CVE List
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.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: netlink: evitar posibles gadgets de Spectre v1 La mayoría de los atributos de netlink se analizan y validan desde __nla_validate_parse() o validate_nla() u16 type = nla_type(nla); if (type == 0 || type > maxtype) { /* error or continue */ } @type se usa entonces como un índice de matriz y puede usarse como un gadget de Spectre v1. array_index_nospec() puede usarse para evitar la filtración de contenido de la memoria del kernel a usuarios maliciosos. Esto debería solucionar la gran mayoría de los usos de netlink, pero se necesita una auditoría para encargarse de otros donde la validación aún no está centralizada en las funciones principales de netlink.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-53000 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2023-53000 changed 2026-06-17 | Public domain |