# CVE-2026-63920: ipv6: validate extension header length before copying to cmsg

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.1
- **CVSS:** 7.1 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 7, 2026-12-05)
- **CWE:** CWE-125
- **Published:** 2026-07-19T14:55:22.813Z
- **Modified:** 2026-10-27T12:52:45.993Z

## Who should check

- Anyone running Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 81394827dfb72772c50d0ae3bdfa094428a5d76d; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 931b4a1f13408c2507719890f78f7227c34a0282; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 08464413e628803bd10cb1df68d0138665f2f885; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< a29768d56eb3798c052ad3281b05596e695a17af; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 0d330eff318c0f44d4fb0ad2c2aef38f87f24c90; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< a35daeabb433686234b010ebf7b53778dbd6c9b8; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< eb18a1b1644e4cad978df2131e2bb9a2e6886992; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< dd433671fef381fdaf7b530c631e6b782d66e224
- Anyone running Linux 2.6.12

## Description

In the Linux kernel, the following vulnerability has been resolved:

ipv6: validate extension header length before copying to cmsg

ip6\_datagram\_recv\_specific\_ctl() builds IPV6\_{HOPOPTS,DSTOPTS,RTHDR}
cmsgs (and their IPV6\_2292\* legacy counterparts) by trusting the
on-wire hdrlen byte (ptr\[1\]) when computing the put\_cmsg() length.
The length was validated only at parse time (ipv6\_parse\_hopopts(),
etc.).  An nftables payload-write expression can rewrite hdrlen after
parsing and before the skb reaches recvmsg; the write itself is
in-bounds but put\_cmsg() then reads up to ((hdrlen+1) \<\< 3) = 2040
bytes from an 8-byte header.  nftables is reachable from an
unprivileged user namespace, so this is an unprivileged
slab-out-of-bounds read:

  BUG: KASAN: slab-out-of-bounds in put\_cmsg+0x3ac/0x540
   put\_cmsg+0x3ac/0x540
   udpv6\_recvmsg+0xca0/0x1250
   sock\_recvmsg+0xdf/0x190
   \_\_\_\_sys\_recvmsg+0x1b1/0x620

Add ipv6\_get\_exthdr\_len() which validates that at least two bytes
are accessible before reading the hdrlen field, then checks the
computed length against skb\_tail\_pointer(skb), returning 0 on
failure.  Extension headers are kept in the linear skb area by
pskb\_may\_pull() during input, so skb\_tail\_pointer() is the correct
bound.

Use ipv6\_get\_exthdr\_len() at all non-AH call sites: the five
standalone cmsg blocks (HbH, 2292HbH, 2292DSTOPTS x2, 2292RTHDR)
and the three standard cases in the extension-header walk loop
(DSTOPTS, ROUTING, default).  AH retains an inline bounds check
because its length formula differs ((ptr\[1\]+2)\<\<2).

The walk loop also gets a pre-read bounds check at the top to
validate ptr before any case accesses ptr\[0\] or ptr\[1\].

When the walk loop detects a corrupted header, return from the
function instead of continuing to process later socket options.

## Affected and fixed versions

- Linux: \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 81394827dfb72772c50d0ae3bdfa094428a5d76d; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 931b4a1f13408c2507719890f78f7227c34a0282; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 08464413e628803bd10cb1df68d0138665f2f885; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< a29768d56eb3798c052ad3281b05596e695a17af; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 0d330eff318c0f44d4fb0ad2c2aef38f87f24c90; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< a35daeabb433686234b010ebf7b53778dbd6c9b8; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< eb18a1b1644e4cad978df2131e2bb9a2e6886992; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< dd433671fef381fdaf7b530c631e6b782d66e224 (cvelist)
- Linux: 2.6.12 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-63920.md
Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 81394827dfb72772c50d0ae3bdfa094428a5d76d; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 931b4a1f13408c2507719890f78f7227c34a0282; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 08464413e628803bd10cb1df68d0138665f2f885; >= 1da177e4c3f41524e886b7f…
Fixed in: Linux 81394827dfb72772c50d0ae3bdfa094428a5d76d, Linux 931b4a1f13408c2507719890f78f7227c34a0282, Linux 08464413e628803bd10cb1df68d0138665f2f885, Linux 0d330eff318c0f44d4fb0ad2c2aef38f87f24c90

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-63920 being exploited?

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

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

High: CVSS 7.1 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 81394827dfb72772c50d0ae3bdfa094428a5d76d; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 931b4a1f13408c2507719890f78f7227c34a0282; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 08464413e628803bd10cb1df68d0138665f2f885; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< a29768d56eb3798c052ad3281b05596e695a17af; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 0d330eff318c0f44d4fb0ad2c2aef38f87f24c90; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< a35daeabb433686234b010ebf7b53778dbd6c9b8; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< eb18a1b1644e4cad978df2131e2bb9a2e6886992; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< dd433671fef381fdaf7b530c631e6b782d66e224; Linux 2.6.12.

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

Yes. Fixed in Linux 81394827dfb72772c50d0ae3bdfa094428a5d76d, Linux 931b4a1f13408c2507719890f78f7227c34a0282, Linux 08464413e628803bd10cb1df68d0138665f2f885, Linux 0d330eff318c0f44d4fb0ad2c2aef38f87f24c90. No fix listed yet: follow the vendor advisory.

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

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

- patch: <https://git.kernel.org/stable/c/81394827dfb72772c50d0ae3bdfa094428a5d76d>
- patch: <https://git.kernel.org/stable/c/931b4a1f13408c2507719890f78f7227c34a0282>
- patch: <https://git.kernel.org/stable/c/08464413e628803bd10cb1df68d0138665f2f885>
- patch: <https://git.kernel.org/stable/c/a29768d56eb3798c052ad3281b05596e695a17af>
- patch: <https://git.kernel.org/stable/c/0d330eff318c0f44d4fb0ad2c2aef38f87f24c90>
- patch: <https://git.kernel.org/stable/c/a35daeabb433686234b010ebf7b53778dbd6c9b8>
- patch: <https://git.kernel.org/stable/c/eb18a1b1644e4cad978df2131e2bb9a2e6886992>
- patch: <https://git.kernel.org/stable/c/dd433671fef381fdaf7b530c631e6b782d66e224>

## 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-63920>

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