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.
Published: 2026-07-19
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

An unsigned integer underflow occurs in the Linux kernel’s GARP attribute parser when computing the data length of a received attribute. The kernel subtracts the attribute length from the header size, which can underflow for attributes that include data, yielding an incorrect small length. The bad length is truncated to an 8‑bit field and causes garp_attr_lookup() to misalign the parsed data, so many legitimate Join/Leave GARP messages are discarded. The effect is a denial of service to the GARP receive path, preventing normal VLAN registration and topology discovery that rely on GARP VLAN registers. The flaw does not allow arbitrary code execution or privilege escalation.

Affected Systems

All Linux kernel releases that do not include the patch which corrects the unsigned integer underflow in garp_pdu_parse_attr are vulnerable. This includes any distribution kernel that is prior to the incorporation of that specific fix. Users should verify that their kernel version contains the commit that corrects the length‑calculation logic in the GARP attribute parser.

Risk and Exploitability

The CVSS base score of 5.5 indicates moderate severity. The EPSS score is less than 1%, suggesting that the probability of real‑world exploitation is extremely low. The vulnerability is not listed in CISA’s KEV catalog. Exploitation would require a local or network neighbor that can send crafted GARP packets and would only affect GARP‑dependent network services; it does not provide code execution or privilege escalation capabilities. Therefore the overall risk is moderate but actionable.

Generated by OpenCVE AI on August 4, 2026 at 18:24 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a release that includes the GARP length‑calculation fix, typically any kernel newer than the commit that resolves the underflow in garp_pdu_parse_attr
  • Reboot the system or reload the networking module to ensure the patched kernel is active and the networking stack is freshly initialized
  • Validate GARP functionality by generating test GARP Join/Leave events from a neighboring device and confirming that the kernel accepts the messages
  • Monitor system logs for GARP errors as a secondary verification of the patch’s effectiveness

Generated by OpenCVE AI on August 4, 2026 at 18:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 22 Jul 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-191
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Sun, 19 Jul 2026 14:45:00 +0000

Type Values Removed Values Added
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.
Title net: garp: fix unsigned integer underflow in garp_pdu_parse_attr
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-07-19T14:18:37.823Z

Reserved: 2026-07-19T07:54:57.017Z

Link: CVE-2026-63868

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-19T00:00:00Z

Links: CVE-2026-63868 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T18:30:12Z

Weaknesses
  • CWE-191

    Integer Underflow (Wrap or Wraparound)