CVE-2026-63868

net: garp: fix unsigned integer underflow in garp_pdu_parse_attr

State
Published
Severity
Not scored
Published
Jul 19, 2026
Updated
Jul 19, 2026
Reserved
Jul 19, 2026

Read the record on cve.org

Description

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

net: garp: fix unsigned integer underflow in garp_pdu_parse_attr

The receive-side GARP attribute parser computes dlen with reversed operands:

dlen = sizeof(*ga) - ga->len;

ga->len is the on-wire attribute length and includes the GARP attribute header. For normal attributes with data, ga->len is larger than sizeof(*ga), so the subtraction underflows in unsigned arithmetic.

The resulting value is later passed to garp_attr_lookup(), whose length argument is u8. After truncation, the parsed data length usually no longer matches the length stored for locally registered attributes, so received Join/Leave events are ignored. This breaks the GARP receive path for common attributes, such as GVRP VLAN registration attributes.

Compute the data length as the attribute length minus the header length.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • eca9ebac651f774d8b10fce7c5d173c3c3d3394f to before 29f28172afb2ae7b31e9bf3e978396f20b381688Affected
  • eca9ebac651f774d8b10fce7c5d173c3c3d3394f to before 973cf7c433d27f4d9556d0b7c332543be7ed7a6eAffected
  • eca9ebac651f774d8b10fce7c5d173c3c3d3394f to before d8dcd14aa886b8effd83022c550669f4f262854bAffected
  • eca9ebac651f774d8b10fce7c5d173c3c3d3394f to before 74e02121be1dcc0efcd56ebdf0171d6129105659Affected
  • eca9ebac651f774d8b10fce7c5d173c3c3d3394f to before d4c86ea09ae3e63ee5aa86e941fcc38e0e39874aAffected
  • eca9ebac651f774d8b10fce7c5d173c3c3d3394f to before 04e22fefac1af3e32f245e9045382348773b5d59Affected
  • eca9ebac651f774d8b10fce7c5d173c3c3d3394f to before a11f1a671b1361f0f1278dc0041374f2730df73fAffected
  • eca9ebac651f774d8b10fce7c5d173c3c3d3394f to before 16e408e607a94b646fb14a2a98422c6877ae4b3cAffected
LinuxLinux
  • 2.6.27Affected
  • before 2.6.27Not affected
  • 5.10.259 through 5.10.*Not affected
  • 5.15.210 through 5.15.*Not affected
  • 6.1.176 through 6.1.*Not affected
  • 6.6.143 through 6.6.*Not affected
  • 6.12.94 through 6.12.*Not affected
  • 6.18.36 through 6.18.*Not affected
  • 7.0.13 through 7.0.*Not affected
  • 7.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.