# CVE-2026-99767: xfrm4: use a full socket for local errors

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.15% (percentile 2, 2026-11-28)
- **Published:** 2026-11-20T05:51:33.530Z
- **Modified:** 2026-11-20T06:18:15.327Z

## Who should check

- Anyone running Linux \>= 0e4fbf013fa566f274ce9b4ce698c75b1f998c52, \< 21ba931b2eec642b1c440e0b6eccc2d80f945060; \>= 0e4fbf013fa566f274ce9b4ce698c75b1f998c52, \< e465b8f50337d0fb3b9753be6cb9fcac79800046; \>= 0e4fbf013fa566f274ce9b4ce698c75b1f998c52, \< 5def91015ba7b59de62a81384572da7281b8a033
- Anyone running Linux 6.14

## 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().

## Affected and fixed versions

- Linux: \>= 0e4fbf013fa566f274ce9b4ce698c75b1f998c52, \< 21ba931b2eec642b1c440e0b6eccc2d80f945060; \>= 0e4fbf013fa566f274ce9b4ce698c75b1f998c52, \< e465b8f50337d0fb3b9753be6cb9fcac79800046; \>= 0e4fbf013fa566f274ce9b4ce698c75b1f998c52, \< 5def91015ba7b59de62a81384572da7281b8a033 (cvelist)
- Linux: 6.14 (cvelist)

## Technologies

Linux kernel

## Mitigation

- Upgrade Linux to 5def91015ba7b59de62a81384572da7281b8a033 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-99767. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-99767.md
Affected: Linux >= 0e4fbf013fa566f274ce9b4ce698c75b1f998c52, < 21ba931b2eec642b1c440e0b6eccc2d80f945060; >= 0e4fbf013fa566f274ce9b4ce698c75b1f998c52, < e465b8f50337d0fb3b9753be6cb9fcac79800046; >= 0e4fbf013fa566f274ce9b4ce698c75b1f998c52, < 5def91015ba7b59de62a81384572da7281b8a033; Linux 6.14
Fixed in: Linux 21ba931b2eec642b1c440e0b6eccc2d80f945060, Linux 5def91015ba7b59de62a81384572da7281b8a033

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-99767 being exploited?

There is no confirmed exploitation: CVE-2026-99767 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.15% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-99767?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-99767?

Linux \>= 0e4fbf013fa566f274ce9b4ce698c75b1f998c52, \< 21ba931b2eec642b1c440e0b6eccc2d80f945060; \>= 0e4fbf013fa566f274ce9b4ce698c75b1f998c52, \< e465b8f50337d0fb3b9753be6cb9fcac79800046; \>= 0e4fbf013fa566f274ce9b4ce698c75b1f998c52, \< 5def91015ba7b59de62a81384572da7281b8a033; Linux 6.14.

### Is there a fix for CVE-2026-99767?

Yes. Fixed in Linux 21ba931b2eec642b1c440e0b6eccc2d80f945060, Linux 5def91015ba7b59de62a81384572da7281b8a033. Upgrade Linux to 5def91015ba7b59de62a81384572da7281b8a033 or later.

### How do I check if I'm affected by CVE-2026-99767?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/21ba931b2eec642b1c440e0b6eccc2d80f945060>
- other: <https://git.kernel.org/stable/c/e465b8f50337d0fb3b9753be6cb9fcac79800046>
- other: <https://git.kernel.org/stable/c/5def91015ba7b59de62a81384572da7281b8a033>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-99767>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-99767> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-99767>
