CVE-2026-99767
publishedxfrm4: use a full socket for local errors
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux0e4fbf013fa566f274ce9b4ce698c75b1f998c52 to < 21ba931b2eec642b1c440e0b6eccc2d80f945060 · 0e4fbf013fa566f274ce9b4ce698c75b1f998c52 to < e465b8f50337d0fb3b9753be6cb9fcac79800046 · 0e4fbf013fa566f274ce9b4ce698c75b1f998c52 to < 5def91015ba7b59de62a81384572da7281b8a033 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.14 (affected) · 0 to < 6.14 (unaffected · semver) · 6.18.64 through 6.18.* (unaffected · semver) · 7.3.5 through 7.3.* (unaffected · semver) · 7.4-rc2 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: xfrm4: use a full socket for local errors xfrm4_local_error() passes skb->sk to inet_sk() and ip_local_error() without ensuring it points to a full socket. TCP SYN-ACK skbs can be owned by TCP_NEW_SYN_RECV request sockets. xfrm4_tunnel_check_size() already checks sk_fullsock() since commit 1620c88887b1 ("xfrm: Fix the usage of skb->sk"), so iptfs_is_too_big() is the only remaining IPv4 caller passing a request socket here: the sk it tests is the listener, while skb->sk is the request socket. When IP-TFS rejects such an skb because it exceeds its payload MTU, the local error path treats the request socket as a struct inet_sock. KASAN reports a slab-out-of-bounds read in ip_local_error() beyond the request_sock_TCP allocation. Resolve the skb owner with skb_to_full_sk() before accessing inet_sock state or reporting the error. This maps a request socket to its listener and rejects sockets that cannot be used as full sockets, matching what commit 6973a21ee73c ("ipv6: xfrm: use full sockets in local error paths") did for xfrm6_local_error().
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 0e4fbf013fa566f274ce9b4ce698c75b1f998c52 to < 21ba931b2eec642b1c440e0b6eccc2d80f945060 (affected · git)0e4fbf013fa566f274ce9b4ce698c75b1f998c52 to < e465b8f50337d0fb3b9753be6cb9fcac79800046 (affected · git)0e4fbf013fa566f274ce9b4ce698c75b1f998c52 to < 5def91015ba7b59de62a81384572da7281b8a033 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.14 (affected)0 to < 6.14 (unaffected · semver)6.18.64 through 6.18.* (unaffected · semver)7.3.5 through 7.3.* (unaffected · semver)7.4-rc2 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
3Provider assertions
1Linux · cna
xfrm4: use a full socket for local errors
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 531bf424d2034cc882352e9845931dbf1302a16278a7b4e8575a8373b9a8df3b
- Ingested
- 20 Nov 2026, 05:52:58 UTC
- Source record
- Official CVE record