CVE-2023-53000

netlink: prevent potential spectre v1 gadgets

State
Published
Severity
Not scored
Published
Mar 27, 2025
Updated
May 11, 2026
Reserved
Mar 27, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • bfa83a9e03cf8d501c6272999843470afecb32ed to before 3e5082b1c66c7783fbcd79b5b178573230e528ffAffected
  • bfa83a9e03cf8d501c6272999843470afecb32ed to before 539ca5dcbc91134bbe2c45677811c31d8b030d2dAffected
  • bfa83a9e03cf8d501c6272999843470afecb32ed to before 41b74e95f297ac360ca7ed6bf200100717cb6c45Affected
  • bfa83a9e03cf8d501c6272999843470afecb32ed to before 992e4ff7116a77968039277b5d6aaa535c2f2184Affected
  • bfa83a9e03cf8d501c6272999843470afecb32ed to before f0950402e8c76e7dcb08563f1b4e8000fbc62455Affected
LinuxLinux
  • 2.6.15Affected
  • before 2.6.15Not affected
  • 5.4.231 through 5.4.*Not affected
  • 5.10.166 through 5.10.*Not affected
  • 5.15.91 through 5.15.*Not affected
  • 6.1.9 through 6.1.*Not affected
  • 6.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.