netlink: prevent potential spectre v1 gadgets
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 3e5082b1c66c7783fbcd79b5b178573230e528ff, Kernel 41b74e95f297ac360ca7ed6bf200100717cb6c45, Kernel 539ca5dcbc91134bbe2c45677811c31d8b030d2d and 2 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =2.6.15, >=bfa83a9e03cf8d501c6272999843470afecb32ed <3e5082b1c66c7783fbcd79b5b178573230e528ff, >=bfa83a9e03cf8d501c6272999843470afecb32ed <41b74e95f297ac360ca7ed6bf200100717cb6c45, >=bfa83a9e03cf8d501c6272999843470afecb32ed <539ca5dcbc91134bbe2c45677811c31d8b030d2d, >=bfa83a9e03cf8d501c6272999843470afecb32ed <992e4ff7116a77968039277b5d6aaa535c2f2184, >=bfa83a9e03cf8d501c6272999843470afecb32ed <f0950402e8c76e7dcb08563f1b4e8000fbc62455 | 3e5082b1c66c7783fbcd79b5b178573230e528ff, 41b74e95f297ac360ca7ed6bf200100717cb6c45, 539ca5dcbc91134bbe2c45677811c31d8b030d2d, 992e4ff7116a77968039277b5d6aaa535c2f2184, f0950402e8c76e7dcb08563f1b4e8000fbc62455 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket