ipv6: account for fraggap on the paged allocation path
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-122 and the CVSS impact.
Summary
In the Linux kernel, the following vulnerability has been resolved: ipv6: account for fraggap on the paged allocation path In __ip6_append_data(), when the paged-allocation branch is taken (MSG_MORE / NETIF_F_SG / large fraglen), alloclen and pagedlen are computed as alloclen = fragheaderlen + transhdrlen; pagedlen = datalen - transhdrlen; datalen already includes fraggap (datalen = length + fraggap). When fraggap is non-zero, this is not the first skb and transhdrlen is zero. The fraggap bytes carried over from the previous skb are copied just past the fragment headers in the new skb's linear area. The linear area is therefore undersized by fraggap bytes while pagedlen is overstated by the same amount, and the copy writes past skb->end into the trailing skb_shared_info. An unprivileged user can trigger this via a UDPv6 socket using MSG_MORE together with MSG_SPLICE_PAGES. The bad accounting was introduced by commit 773ba4fe9104 ("ipv6: avoid partial copy for zc"). Before commit ce650a166335 ("udp6: Fix __ip6_append_data()'s handling of MSG_SPLICE_PAGES"), the negative copy value caused -EINVAL to be returned. That later commit allowed MSG_SPLICE_PAGES to proceed in this case, making the corruption triggerable. 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. Since a negative copy is no longer expected for a valid MSG_SPLICE_PAGES case, remove the MSG_SPLICE_PAGES exception from the negative copy check.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Active
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 6.0 and later | 6.1.177, 6.6.144, 6.12.95, 6.18.38, 7.1.3, 7.2 | Patch available | CNA |
- Linux VendorLinux Affected 6.0 and later Fixed in 6.1.177, 6.6.144, 6.12.95, 6.18.38, 7.1.3, 7.2 Patch available CNA
CPE configurations NVD · 3
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.0 to before 6.1.177; 6.2 to before 6.6.144; 6.7 to before 6.12.95; 6.13 to before 6.18.38; 6.19 to before 7.1.3 | Vulnerable | Linux |
| cpe:2.3:o:siemens:simatic_s7-1500_tm_mfp_firmware:-:*:*:*:*:*:*:* | not specified by NVD | Vulnerable | Siemens |
| cpe:2.3:h:siemens:simatic_s7-1500_tm_mfp:-:*:*:*:*:*:*:* | not specified by NVD | Running on | Siemens |
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 6.0 to before 6.1.177; 6.2 to before 6.6.144; 6.7 to before 6.12.95; 6.13 to before 6.18.38; 6.19 to before 7.1.3 Vulnerable ·Linux
- cpe:2.3:o:siemens:simatic_s7-1500_tm_mfp_firmware:-:*:*:*:*:*:*:* Versions not specified by NVD Vulnerable ·Siemens
- cpe:2.3:h:siemens:simatic_s7-1500_tm_mfp:-:*:*:*:*:*:*:* Versions not specified by NVD Running on ·Siemens
Remediation
- Fix · CNA Linux (Linux) Fixed in 6.1.177, 6.6.144, 6.12.95, 6.18.38, 7.1.3, 7.2
Red Hat 4 advisories
- RHSA-2026:43826 Released 2026-07-22 · Red Hat rating Importantkpatch-patch-6_12_0-211_16_1 security update
- Red Hat Enterprise Linux BaseOS (v. 10) kpatch-patch-6_12_0-211_16_1-1-4.el10_2
- RHSA-2026:35840 Released 2026-07-06 · Red Hat rating Importantkernel security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream EUS (v. 10.0) kernel-64k-debug-devel-6.12.0-55.86.1.el10_0, kernel-64k-debug-devel-matched-6.12.0-55.86.1.el10_0, kernel-64k-devel-6.12.0-55.86.1.el10_0 +12
- Red Hat Enterprise Linux BaseOS EUS (v. 10.0) kernel-6.12.0-55.86.1.el10_0, kernel-64k-6.12.0-55.86.1.el10_0, kernel-64k-core-6.12.0-55.86.1.el10_0 +28
- Red Hat Enterprise Linux CodeReady Linux Builder EUS (v. 10.0) kernel-tools-libs-devel-6.12.0-55.86.1.el10_0, libperf-6.12.0-55.86.1.el10_0
- Red Hat Enterprise Linux Real Time EUS (v. 10.0) kernel-rt-6.12.0-55.86.1.el10_0, kernel-rt-64k-6.12.0-55.86.1.el10_0, kernel-rt-64k-core-6.12.0-55.86.1.el10_0 +21
- Red Hat Enterprise Linux Real Time for NFV EUS (v. 10.0) kernel-rt-6.12.0-55.86.1.el10_0, kernel-rt-core-6.12.0-55.86.1.el10_0, kernel-rt-debug-6.12.0-55.86.1.el10_0 +11
- RHSA-2026:34911 Released 2026-07-02 · Red Hat rating Importantkernel security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 10) kernel-64k-debug-devel-6.12.0-211.30.1.el10_2, kernel-64k-debug-devel-matched-6.12.0-211.30.1.el10_2, kernel-64k-devel-6.12.0-211.30.1.el10_2 +12
- Red Hat Enterprise Linux BaseOS (v. 10) kernel-6.12.0-211.30.1.el10_2, kernel-64k-6.12.0-211.30.1.el10_2, kernel-64k-core-6.12.0-211.30.1.el10_2 +29
- Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) kernel-tools-libs-devel-6.12.0-211.30.1.el10_2, libperf-6.12.0-211.30.1.el10_2
- Red Hat Enterprise Linux Real Time (v. 10) kernel-rt-6.12.0-211.30.1.el10_2, kernel-rt-64k-6.12.0-211.30.1.el10_2, kernel-rt-64k-core-6.12.0-211.30.1.el10_2 +21
- Red Hat Enterprise Linux Real Time for NFV (v. 10) kernel-rt-6.12.0-211.30.1.el10_2, kernel-rt-core-6.12.0-211.30.1.el10_2, kernel-rt-debug-6.12.0-211.30.1.el10_2 +9
Show 1 more Red Hat advisories
- RHSA-2026:34927 Released 2026-07-02 · Red Hat rating Importantkernel security update
- NVIDIA for RHEL 10 kernel-6.12.0-231.14.el10nv, kernel-64k-6.12.0-231.14.el10nv, kernel-64k-core-6.12.0-231.14.el10nv +32
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| NVIDIA for RHEL 10 | Fixed | RHSA-2026:34927 |
| Red Hat Enterprise Linux AppStream (v. 10) | Fixed | RHSA-2026:34911 |
| Red Hat Enterprise Linux AppStream EUS (v. 10.0) | Fixed | RHSA-2026:35840 |
| Red Hat Enterprise Linux BaseOS (v. 10) | Fixed | RHSA-2026:34911, RHSA-2026:43826 |
| Red Hat Enterprise Linux BaseOS EUS (v. 10.0) | Fixed | RHSA-2026:35840 |
| Red Hat Enterprise Linux CodeReady Linux Builder (v. 10) | Fixed | RHSA-2026:34911 |
| Red Hat Enterprise Linux CodeReady Linux Builder EUS (v. 10.0) | Fixed | RHSA-2026:35840 |
| Red Hat Enterprise Linux Real Time (v. 10) | Fixed | RHSA-2026:34911 |
| Red Hat Enterprise Linux Real Time EUS (v. 10.0) | Fixed | RHSA-2026:35840 |
| Red Hat Enterprise Linux Real Time for NFV (v. 10) | Fixed | RHSA-2026:34911 |
| Red Hat Enterprise Linux Real Time for NFV EUS (v. 10.0) | Fixed | RHSA-2026:35840 |
Not affected: 4 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
Timeline
- 2026-08-27 Added to CISA KEV
- 2026-10-02 Threatist record created from CVE-2026-53362
- 2026-10-03 Alias added: GHSA-3x6f-vm7x-cgm7
References
Patch 6
- https://git.kernel.org/stable/c/14200d435af9a9eeb444f529fc2f689a236b7962
- https://git.kernel.org/stable/c/65fb14cbebb0cd0eff903a22d33537ddc8b95769
- https://git.kernel.org/stable/c/46f201f8b4c39633a1fa3dc12459f506d470993d
- https://git.kernel.org/stable/c/6374fb9edf72c67a118a2c214a0dddd04c921e0a
- https://git.kernel.org/stable/c/e9eacf19281ea2498b36291b56c9606118c2d74e
- https://git.kernel.org/stable/c/736b380e28d0480c7bc3e022f1950f31fe53a7c5
More Linux Kernel vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
- TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
Sources
- CVE-2026-53362 · CVE Program
- CVE-2026-53362 · NVD
- CISA Known Exploited Vulnerabilities
- FIRST EPSS
- GHSA-3x6f-vm7x-cgm7 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-53362 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences