# CVE-2026-53366: ipv4: account for fraggap on the paged allocation path

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2026-07-16T05:13:40.893Z
- Modified: 2026-10-19T20:19:16.520Z
- Weaknesses: CWE-131
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 8eb77cc73977d88787b37c92831b1c242e035396 before 5c6375bced6147ec2e460ee3b653f4860d5ecdc2; from 8eb77cc73977d88787b37c92831b1c242e035396 before ce494707a9c07f27c219ca67f3e138061f53d9b3; from 8eb77cc73977d88787b37c92831b1c242e035396 before a9c24eda24bd15f432e37824e6fc440977cb241c; from 8eb77cc73977d88787b37c92831b1c242e035396 before 77798d7be6ef71e72fb6fc8a2901bf74ebc9706f; from 8eb77cc73977d88787b37c92831b1c242e035396 before c04d9ece23deb9e26c19f9ca215e98b3295aa1bb; from 8eb77cc73977d88787b37c92831b1c242e035396 before eca856950f7cb1a221e02b99d758409f2c5cec42; 6.0 (not affected: before 6.0; from 6.1.178 up to 6.1.*; from 6.6.144 up to 6.6.*; from 6.12.95 up to 6.12.*; from 6.18.38 up to 6.18.*; from 7.1.3 up to 7.1.*; from 7.2 up to *)
- linux linux_kernel: from 6.0 before 6.6.144; from 6.7 before 6.12.95; from 6.13 before 6.18.38; from 6.19 before 7.1.3

## References

- <https://git.kernel.org/stable/c/5c6375bced6147ec2e460ee3b653f4860d5ecdc2>
- <https://git.kernel.org/stable/c/ce494707a9c07f27c219ca67f3e138061f53d9b3> (patch)
- <https://git.kernel.org/stable/c/a9c24eda24bd15f432e37824e6fc440977cb241c> (patch)
- <https://git.kernel.org/stable/c/77798d7be6ef71e72fb6fc8a2901bf74ebc9706f> (patch)
- <https://git.kernel.org/stable/c/c04d9ece23deb9e26c19f9ca215e98b3295aa1bb> (patch)
- <https://git.kernel.org/stable/c/eca856950f7cb1a221e02b99d758409f2c5cec42> (patch)

## Sources

- CVE List: [CVE-2026-53366](https://www.cve.org/CVERecord?id=CVE-2026-53366), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-53366](https://nvd.nist.gov/vuln/detail/CVE-2026-53366), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-53366 · Whole record: https://cve.day/CVE-2026-53366.json · Rebuilt by cve.day 2026-11-25T22:59:28.369Z
