mpls: add seqcount to protect the platform_label{,s} pair
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6.19.12, Kernel 5bb3caf0bbfb56f1a00d2af072ac3d8395a3b9ef, Kernel 629ec78ef8608d955ce217880cdc3e1873af3a15 and 6 more.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=4.1 <6.19.12, =7.0, >=7720c01f3f590116882e251f13c7e1d5602f8643 <5bb3caf0bbfb56f1a00d2af072ac3d8395a3b9ef, >=7720c01f3f590116882e251f13c7e1d5602f8643 <629ec78ef8608d955ce217880cdc3e1873af3a15, >=7720c01f3f590116882e251f13c7e1d5602f8643 <6b9184ebc936f791631e51e783ab30320b3770e4, >=7720c01f3f590116882e251f13c7e1d5602f8643 <8adc5b6fc876928d8c95555d30b66fa50b07421e, =4.1, >=7720c01f3f590116882e251f13c7e1d5602f8643 <0d377825548fe598595b5a5fa4a309fb593d8fb4 | 6.19.12, 5bb3caf0bbfb56f1a00d2af072ac3d8395a3b9ef, 629ec78ef8608d955ce217880cdc3e1873af3a15, 6b9184ebc936f791631e51e783ab30320b3770e4, 8adc5b6fc876928d8c95555d30b66fa50b07421e, 0d377825548fe598595b5a5fa4a309fb593d8fb4 |
| linux-kernel: Kernel | >=4.1.0 <6.1.191, >=6.13.0 <6.19.12, >=6.2.0 <6.6.160, >=6.7.0 <6.12.114 | 6.1.191, 6.19.12, 6.6.160, 6.12.114 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket