CVE-2026-43042

mpls: add seqcount to protect the platform_label{,s} pair

State
Published
Severity
7.1 High
Published
May 1, 2026
Updated
Oct 30, 2026
Reserved
May 1, 2026

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

mpls: add seqcount to protect the platform_label{,s} pair

The RCU-protected codepaths (mpls_forward, mpls_dump_routes) can have an inconsistent view of platform_labels vs platform_label in case of a concurrent resize (resize_platform_label_table, under platform_mutex). This can lead to OOB accesses.

This patch adds a seqcount, so that we get a consistent snapshot.

Note that mpls_label_ok is also susceptible to this, so the check against RTA_DST in rtm_to_route_config, done outside platform_mutex, is not sufficient. This value gets passed to mpls_label_ok once more in both mpls_route_add and mpls_route_del, so there is no issue, but that additional check must not be removed.

Scores

CVSSScoreVectorSource
3.17.1 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:HLinux

Weaknesses

  • CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

Affected Products

ProductVersions
LinuxLinux
  • 7720c01f3f590116882e251f13c7e1d5602f8643 to before 6b9184ebc936f791631e51e783ab30320b3770e4Affected
  • 7720c01f3f590116882e251f13c7e1d5602f8643 to before 0d377825548fe598595b5a5fa4a309fb593d8fb4Affected
  • 7720c01f3f590116882e251f13c7e1d5602f8643 to before 8adc5b6fc876928d8c95555d30b66fa50b07421eAffected
  • 7720c01f3f590116882e251f13c7e1d5602f8643 to before 5bb3caf0bbfb56f1a00d2af072ac3d8395a3b9efAffected
  • 7720c01f3f590116882e251f13c7e1d5602f8643 to before 629ec78ef8608d955ce217880cdc3e1873af3a15Affected
LinuxLinux
  • 4.1Affected
  • before 4.1Not affected
  • 6.1.191 through 6.1.*Not affected
  • 6.6.160 through 6.6.*Not affected
  • 6.12.114 through 6.12.*Not affected
  • 6.19.12 through 6.19.*Not affected
  • 7.0 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.