# CVE-2026-53245: net/802/mrp: fix vector attribute parsing in mrp_pdu_parse_vecattr

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-06-25T08:39:39.108Z
- Modified: 2026-11-06T17:18:15.870Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

net/802/mrp: fix vector attribute parsing in mrp_pdu_parse_vecattr

In mrp_pdu_parse_vecattr(), 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.

(As written by CVE List.)

## Affected

- Linux Linux: from febf018d22347b5df94066bca05d0c11a84e839d before ae65714d96f68bb252eb20085320bdaacab36c00; from febf018d22347b5df94066bca05d0c11a84e839d before 36d259711872e3b2f6cd76a4d270c21931c0f35f; from febf018d22347b5df94066bca05d0c11a84e839d before cc98717e591a963a616fdf15ecf48eefaf45d758; from febf018d22347b5df94066bca05d0c11a84e839d before 6d6e42e8e17f18d61327f8653479c5b5e161ae1d; from febf018d22347b5df94066bca05d0c11a84e839d before fd9c3a47c670bec6b18f44454cea023f93b5adb3; from febf018d22347b5df94066bca05d0c11a84e839d before 42446ca0f3570663e87183c065e0b4def52dfba2; from febf018d22347b5df94066bca05d0c11a84e839d before 6eea6494e542a03cdf755a593b7d74f3f7c260fd; from febf018d22347b5df94066bca05d0c11a84e839d before 7561c7fbc694308da73300f036719e63e42bf0b4; 3.9 (not affected: before 3.9; from 5.10.259 up to 5.10.*; from 5.15.210 up to 5.15.*; from 6.1.176 up to 6.1.*; from 6.6.143 up to 6.6.*; from 6.12.94 up to 6.12.*; from 6.18.36 up to 6.18.*; from 7.0.13 up to 7.0.*; from 7.1 up to *)
- linux linux_kernel: from 3.9 before 5.10.259; from 5.11 before 5.15.210; from 5.16 before 6.1.176; from 6.2 before 6.6.143; from 6.7 before 6.12.94; from 6.13 before 6.18.36; from 6.19 before 7.0.13; 7.1

## References

- <https://git.kernel.org/stable/c/ae65714d96f68bb252eb20085320bdaacab36c00> (patch)
- <https://git.kernel.org/stable/c/36d259711872e3b2f6cd76a4d270c21931c0f35f> (patch)
- <https://git.kernel.org/stable/c/cc98717e591a963a616fdf15ecf48eefaf45d758> (patch)
- <https://git.kernel.org/stable/c/6d6e42e8e17f18d61327f8653479c5b5e161ae1d> (patch)
- <https://git.kernel.org/stable/c/fd9c3a47c670bec6b18f44454cea023f93b5adb3> (patch)
- <https://git.kernel.org/stable/c/42446ca0f3570663e87183c065e0b4def52dfba2> (patch)
- <https://git.kernel.org/stable/c/6eea6494e542a03cdf755a593b7d74f3f7c260fd> (patch)
- <https://git.kernel.org/stable/c/7561c7fbc694308da73300f036719e63e42bf0b4> (patch)
- <https://cert-portal.siemens.com/productcert/html/ssa-784472.html>

## Sources

- CVE List: [CVE-2026-53245](https://www.cve.org/CVERecord?id=CVE-2026-53245), CVE Terms of Use, modified 2026-11-06
- NVD: [CVE-2026-53245](https://nvd.nist.gov/vuln/detail/CVE-2026-53245), Public domain, modified 2026-11-06

---

Page: https://cve.day/CVE-2026-53245 · Whole record: https://cve.day/CVE-2026-53245.json · Rebuilt by cve.day 2026-11-25T22:59:26.331Z
