CVE-2026-53245: net/802/mrp: fix vector attribute parsing in mrp_pdu_parse_vecattr
In the Linux kernel, the following vulnerability has been resolved:
net/802/mrp: fix vector attribute parsing in mrppduparsevecattr
In mrppduparsevecattr(), vector attribute events are encoded three per byte and valen tracks the number of events left to process.
The parser decrements valen after processing the first and second events from each event byte, but not after processing the third one. When valen is exactly a multiple of three, the loop continues after the last valid event and consumes the next byte as a new event byte, applying a spurious event to the MRP applicant state.
Additionally, when valen is zero the parser unconditionally consumes attrlen bytes as FirstValue and advances the offset, even though per IEEE 802.1ak a VectorAttribute with only a LeaveAllEvent has valen of zero and no FirstValue or Vector fields. This corrupts the offset for subsequent PDU parsing.
Also, when valen exceeds three the loop crosses byte boundaries but the attribute value is not incremented between the last event of one byte and the first event of the next. This causes the first event of the next byte to use the same attribute value as the third event rather than the next consecutive value.
Decrement valen after processing the third event, skip FirstValue consumption when valen is zero, and increment the attribute value at the end of each loop iteration.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 6.6.143.1-1
Event History
Frequently Asked Questions
What is the severity of CVE-2026-53245?
The severity of CVE-2026-53245 is rated as a risk of 27.
How do I fix CVE-2026-53245?
To fix CVE-2026-53245, ensure that you apply the latest Linux kernel updates that include the patch for this vulnerability.
What systems are affected by CVE-2026-53245?
CVE-2026-53245 affects systems running vulnerable versions of the Linux kernel that implement the mrp_pdu_parse_vecattr function.
What is the impact of CVE-2026-53245?
The impact of CVE-2026-53245 may include potential parsing errors in vector attribute processing that could lead to system instability.
When was CVE-2026-53245 published?
CVE-2026-53245 was published on June 25, 2026.