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 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.
CVE-2026-53245
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-53245
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": "febf018d22347b5df94066bca05d0c11a84e839d",
"lessThan": "ae65714d96f68bb252eb20085320bdaacab36c00",
"versionType": "git"
},
{
"status": "affected",
"version": "febf018d22347b5df94066bca05d0c11a84e839d",
"lessThan": "36d259711872e3b2f6cd76a4d270c21931c0f35f",
"versionType": "git"
},
{
"status": "affected",
"version": "febf018d22347b5df94066bca05d0c11a84e839d",
"lessThan": "cc98717e591a963a616fdf15ecf48eefaf45d758",
"versionType": "git"
},
{
"status": "affected",
"version": "febf018d22347b5df94066bca05d0c11a84e839d",
"lessThan": "6d6e42e8e17f18d61327f8653479c5b5e161ae1d",
"versionType": "git"
},
{
"status": "affected",
"version": "febf018d22347b5df94066bca05d0c11a84e839d",
"lessThan": "fd9c3a47c670bec6b18f44454cea023f93b5adb3",
"versionType": "git"
},
{
"status": "affected",
"version": "febf018d22347b5df94066bca05d0c11a84e839d",
"lessThan": "42446ca0f3570663e87183c065e0b4def52dfba2",
"versionType": "git"
},
{
"status": "affected",
"version": "febf018d22347b5df94066bca05d0c11a84e839d",
"lessThan": "6eea6494e542a03cdf755a593b7d74f3f7c260fd",
"versionType": "git"
},
{
"status": "affected",
"version": "febf018d22347b5df94066bca05d0c11a84e839d",
"lessThan": "7561c7fbc694308da73300f036719e63e42bf0b4",
"versionType": "git"
}
],
"programFiles": [
"net/802/mrp.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "3.9"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "3.9",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "5.10.259",
"versionType": "semver",
"lessThanOrEqual": "5.10.*"
},
{
"status": "unaffected",
"version": "5.15.210",
"versionType": "semver",
"lessThanOrEqual": "5.15.*"
},
{
"status": "unaffected",
"version": "6.1.176",
"versionType": "semver",
"lessThanOrEqual": "6.1.*"
},
{
"status": "unaffected",
"version": "6.6.143",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.94",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.36",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.0.13",
"versionType": "semver",
"lessThanOrEqual": "7.0.*"
},
{
"status": "unaffected",
"version": "7.1",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"net/802/mrp.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-53245
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #28442 · Revision 1
- Added to Heist Feed
- Publisher date