AI description
CVE-2026-53362 describes a vulnerability within the Linux kernel's IPv6 networking subsystem, specifically concerning the `__ip6_append_data()` function. The flaw arises from incorrect accounting for "fraggap" (fragment gaps) when data is handled via the paged allocation path. This miscalculation occurs when `alloclen` and `pagedlen` are computed, particularly when `fraggap` is non-zero, leading to an undersized linear area and an overstated `pagedlen`. This accounting error can result in memory corruption, as bytes carried over from a previous `skb` (socket buffer) are copied past the intended boundary into the `skb_shared_info` structure. An unprivileged user can trigger this out-of-bounds write by utilizing a UDPv6 socket in conjunction with the `MSG_MORE` and `MSG_SPLICE_PAGES` flags. The issue was introduced by a commit aimed at avoiding partial copies for zero-copy operations, and a later commit allowed `MSG_SPLICE_PAGES` to proceed in this vulnerable state, making the corruption exploitable.
- Description
- 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.
- Source
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- NVD status
- Analyzed
- Products
- linux_kernel
CVSS 3.1
- Type
- Secondary
- Base score
- 7.8
- Impact score
- 5.9
- Exploitability score
- 1.8
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Severity
- HIGH
Hype score is a measure of social media activity compared against trending CVEs from the past 12 months. Max score 100.
- Hype score
7
CVE-2026-53362,CVE-2026-53366: Linux kernel: OOB write in UDP MSG_SPLICE_PAGES fragment-boundary handling https://t.co/ZsiUJI8vRQ LPE. The IPv6 variant needs CONFIG_IPV6=y. IPv4 needs USERNS. Affected from v6.1.
@oss_security
22 Jul 2026
339 Impressions
1 Retweet
3 Likes
0 Bookmarks
0 Replies
0 Quotes
Linuxカーネルが24時間で440件のCVEを公表。大部分は安定版ブランチにマージ済み。件数が多いので個別のCVSSスコアは未算出。 "frag"の新亜種CVE-2026-53362、ksmbdのCVE-2026-53383、TIPCの解放後メモリ使用CVE-2026-63801、KVM/
@__kokumoto
21 Jul 2026
3040 Impressions
11 Retweets
27 Likes
11 Bookmarks
0 Replies
2 Quotes
[
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"matchCriteriaId": "E1C3142A-8469-4087-A10A-726FF6961047",
"versionEndExcluding": "6.1.177",
"versionStartIncluding": "6.0",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"matchCriteriaId": "C8AD3BC8-C843-423C-B9DB-CB52F67F578E",
"versionEndExcluding": "6.6.144",
"versionStartIncluding": "6.2",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"matchCriteriaId": "4E206B86-E0E3-4394-A93F-39F2D50A8AA8",
"versionEndExcluding": "6.12.95",
"versionStartIncluding": "6.7",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"matchCriteriaId": "FA591B28-5D62-449E-BDBE-3C9391BF070A",
"versionEndExcluding": "6.18.38",
"versionStartIncluding": "6.13",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"matchCriteriaId": "9526B150-E2B3-4C6F-8AE5-1AF92B75AD9E",
"versionEndExcluding": "7.1.3",
"versionStartIncluding": "6.19",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
]