net: bridge: use option bits for CFM/MRP frame handlers (Linux Linux)

CVE-2026-97615
Not available

At a glance

Source
NVD
EPSS
EPSS 0.21 % · percentile 12 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Received

Description

In the Linux kernel, the following vulnerability has been resolved: net: bridge: use option bits for CFM/MRP frame handlers CFM and MRP register a global br_frame_type whose hlist_node is linked into the per-bridge frame_type_list when the first MEP/MRP instance is created. Enabling the protocol on multiple bridges therefore inserts the same node into multiple lists. Unregistering it on one bridge then corrupts list state belonging to another. These handlers can only be installed once per bridge, and they are uncommon. Track their per-bridge enable state with net_bridge option bits, which already live on the Rx hot cache line, and dispatch the matching handler directly from the receive path. Check both bits together first as an unlikely case. Remove the generic frame_type_list and br_frame_type helpers, which have had no other users since CFM and MRP were added. That shrinks struct net_bridge by 8 bytes and drops the list walk from the fast path. When neither protocol is compiled in, BR_CFM_MRP_OPTS is 0 and the compiler prunes the branch.

References

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected 90c628dd47ff4178f645b34938470bf43d02d123 < 935eb5581583b008d0c8e928c03021b45967439b ; affected 90c628dd47ff4178f645b34938470bf43d02d123 < 158b6563c6c9dc0f368a2169911fb4f8a5ea0592 ; affected 90c628dd47ff4178f645b34938470bf43d02d123 < 260f99b355a44f6ce67971ebc9223b22c8f93957 ; affected 90c628dd47ff4178f645b34938470bf43d02d123 < be5ead6552418d70df3a76b962ccd6ed78a31fb5 ; affected 90c628dd47ff4178f645b34938470bf43d02d123 < 994fd705ca498223d188024cde833739a9dddbd2 ; affected 90c628dd47ff4178f645b34938470bf43d02d123 < 42e033c8f30fd2923ccac3373ae70797e521dae1
Linux · Linuxaffected 5.11 ; unaffected 0 < 5.11 ; unaffected 5.15.224 ≤ 5.15.* ; unaffected 6.1.191 ≤ 6.1.* ; unaffected 6.6.160 ≤ 6.6.* ; unaffected 6.12.112 ≤ 6.12.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD