net/802/mrp: fix vector attribute parsing in mrp_pdu_parse_vecattr (Linux Linux)

CVE-2026-53245
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.13 % · percentile 2 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

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.

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected febf018d22347b5df94066bca05d0c11a84e839d < ae65714d96f68bb252eb20085320bdaacab36c00 ; affected febf018d22347b5df94066bca05d0c11a84e839d < 36d259711872e3b2f6cd76a4d270c21931c0f35f ; affected febf018d22347b5df94066bca05d0c11a84e839d < cc98717e591a963a616fdf15ecf48eefaf45d758 ; affected febf018d22347b5df94066bca05d0c11a84e839d < 6d6e42e8e17f18d61327f8653479c5b5e161ae1d ; affected febf018d22347b5df94066bca05d0c11a84e839d < fd9c3a47c670bec6b18f44454cea023f93b5adb3 ; affected febf018d22347b5df94066bca05d0c11a84e839d < 42446ca0f3570663e87183c065e0b4def52dfba2
Linux · Linuxaffected 3.9 ; unaffected 0 < 3.9 ; unaffected 5.10.259 ≤ 5.10.* ; unaffected 5.15.210 ≤ 5.15.* ; unaffected 6.1.176 ≤ 6.1.* ; unaffected 6.6.143 ≤ 6.6.*

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