net: bridge: use option bits for CFM/MRP frame handlers
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.
CVE-2026-97615
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-97615
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "90c628dd47ff4178f645b34938470bf43d02d123",
"lessThan": "260f99b355a44f6ce67971ebc9223b22c8f93957",
"versionType": "git"
},
{
"status": "affected",
"version": "90c628dd47ff4178f645b34938470bf43d02d123",
"lessThan": "be5ead6552418d70df3a76b962ccd6ed78a31fb5",
"versionType": "git"
},
{
"status": "affected",
"version": "90c628dd47ff4178f645b34938470bf43d02d123",
"lessThan": "994fd705ca498223d188024cde833739a9dddbd2",
"versionType": "git"
},
{
"status": "affected",
"version": "90c628dd47ff4178f645b34938470bf43d02d123",
"lessThan": "42e033c8f30fd2923ccac3373ae70797e521dae1",
"versionType": "git"
},
{
"status": "affected",
"version": "90c628dd47ff4178f645b34938470bf43d02d123",
"lessThan": "7a49e6b16f36b8e085521699adbca3e321b6dd0c",
"versionType": "git"
}
],
"programFiles": [
"net/bridge/br_cfm.c",
"net/bridge/br_device.c",
"net/bridge/br_input.c",
"net/bridge/br_mrp.c",
"net/bridge/br_private.h"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "5.11"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "5.11",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.6.160",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.112",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.53",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2.7",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"net/bridge/br_cfm.c",
"net/bridge/br_device.c",
"net/bridge/br_input.c",
"net/bridge/br_mrp.c",
"net/bridge/br_private.h"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-97615
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #48795 · Revision 1
- Added to Heist Feed
- Publisher date