Incorrect Calculation of Buffer Size Affecting libperf-debuginfo package, versions <0:6.12.0-211.30.1.el10_2


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.16% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL10-LIBPERFDEBUGINFO-18008877
  • published18 Jul 2026
  • disclosed16 Jul 2026

Introduced: 16 Jul 2026

NewCVE-2026-53366  (opens in a new tab)
CWE-131  (opens in a new tab)

How to fix?

Upgrade RHEL:10 libperf-debuginfo to version 0:6.12.0-211.30.1.el10_2 or higher.
This issue was patched in RHSA-2026:34911.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libperf-debuginfo package and not the libperf-debuginfo package as distributed by RHEL. See How to fix? for RHEL:10 relevant fixed versions and status.

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

ipv4: account for fraggap on the paged allocation path

In __ip_append_data(), when the paged-allocation branch is taken, alloclen and pagedlen are computed as

alloclen = fragheaderlen + transhdrlen;
pagedlen = datalen - transhdrlen;

datalen already includes fraggap, but the fraggap bytes carried over from the previous skb are copied into the new skb's linear area at offset transhdrlen by the subsequent skb_copy_and_csum_bits(). The linear area is therefore undersized by fraggap bytes while pagedlen is overstated by the same amount.

The non-paged branch sets alloclen to fraglen, which already accounts for fraggap because datalen does. Bring the paged branch in line by adding fraggap to alloclen and subtracting it from pagedlen.

After this adjustment, copy no longer collapses to -fraggap on the paged path, so remove the stale comment describing that old arithmetic.

CVSS Base Scores

version 3.1