CVE-2026-43042
JSON

7.1high

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

Severity
7.1high CVSS:3.1 by Linux
Exploit likelihood
0.14% (higher than 3% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 7720c01f3f590116882e251f13c7e1d5602f8643 before 6b9184ebc936f791631e51e783ab30320b3770e4, from 7720c01f3f590116882e251f13c7e1d5602f8643 before 0d377825548fe598595b5a5fa4a309fb593d8fb4, from 7720c01f3f590116882e251f13c7e1d5602f8643 before 8adc5b6fc876928d8c95555d30b66fa50b07421e, from 7720c01f3f590116882e251f13c7e1d5602f8643 before 5bb3caf0bbfb56f1a00d2af072ac3d8395a3b9ef, from 7720c01f3f590116882e251f13c7e1d5602f8643 before 629ec78ef8608d955ce217880cdc3e1873af3a15, 4.1
Not affected: before 4.1, from 6.1.191 up to 6.1.*, from 6.6.160 up to 6.6.*, from 6.12.114 up to 6.12.*, from 6.19.12 up to 6.19.*, from 7.0 up to *
CVE List
linux linux_kernelfrom 4.1 before 6.19.12, 7.0NVD

Classification

CWE-125CWE-362

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: mpls: añadir seqcount para proteger el par platform_label{,s} Las rutas de código protegidas por RCU (mpls_forward, mpls_dump_routes) pueden tener una vista inconsistente de platform_labels frente a platform_label en caso de un redimensionamiento concurrente (resize_platform_label_table, bajo platform_mutex). Esto puede llevar a accesos OOB. Este parche añade un seqcount, para que obtengamos una instantánea consistente. Tenga en cuenta que mpls_label_ok también es susceptible a esto, por lo que la comprobación contra RTA_DST en rtm_to_route_config, realizada fuera de platform_mutex, no es suficiente. Este valor se pasa a mpls_label_ok una vez más tanto en mpls_route_add como en mpls_route_del, por lo que no hay problema, pero esa comprobación adicional no debe ser eliminada.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-43042 changed 2026-10-30CVE Terms of Use
NVDCVE-2026-43042 changed 2026-11-11Public domain