# CVE-2026-43186: ipv6: ioam: fix heap buffer overflow in \_\_ioam6\_fill\_trace\_data()

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

- **Severity:** CRITICAL 9.8
- **CVSS:** 9.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.86% (percentile 56, 2026-11-26)
- **CWE:** CWE-787, CWE-122
- **Published:** 2026-05-06T11:27:57.053Z
- **Modified:** 2026-11-11T20:10:00.273Z

## Who should check

- Anyone running Linux \>= 9ee11f0fff205b4b3df9750bff5e94f97c71b6a0, \< f4d9d4b8fd839719d564651671e24c62c545c23b; \>= 9ee11f0fff205b4b3df9750bff5e94f97c71b6a0, \< fb3c662fafebc5b9d74417ed1de8759f6bb72143; \>= 9ee11f0fff205b4b3df9750bff5e94f97c71b6a0, \< 632d233cf2e64a46865ae2c064ae3c9df7c8864f; \>= 9ee11f0fff205b4b3df9750bff5e94f97c71b6a0, \< 0591d6509c2ff13f09ea2998434aba0c0472e978; \>= 9ee11f0fff205b4b3df9750bff5e94f97c71b6a0, \< e90346a2f1e8917d5760a44a1f61c44e3b36d96b; \>= 9ee11f0fff205b4b3df9750bff5e94f97c71b6a0, \< ea3632aefc04205436868541638e26f4a74d5637; \>= 9ee11f0fff205b4b3df9750bff5e94f97c71b6a0, \< 6db8b56eed62baacaf37486e83378a72635c04cc
- Anyone running Linux 5.15

## Description

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

ipv6: ioam: fix heap buffer overflow in \_\_ioam6\_fill\_trace\_data()

On the receive path, \_\_ioam6\_fill\_trace\_data() uses trace-\>nodelen
to decide how much data to write for each node. It trusts this field
as-is from the incoming packet, with no consistency check against
trace-\>type (the 24-bit field that tells which data items are
present). A crafted packet can set nodelen=0 while setting type bits
0-21, causing the function to write ~100 bytes past the allocated
region (into skb\_shared\_info), which corrupts adjacent heap memory
and leads to a kernel panic.

Add a shared helper ioam6\_trace\_compute\_nodelen() in ioam6.c to
derive the expected nodelen from the type field, and use it:

  - in ioam6\_iptunnel.c (send path, existing validation) to replace
    the open-coded computation;
  - in exthdrs.c (receive path, ipv6\_hop\_ioam) to drop packets whose
    nodelen is inconsistent with the type field, before any data is
    written.

Per RFC 9197, bits 12-21 are each short (4-octet) fields, so they
are included in IOAM6\_MASK\_SHORT\_FIELDS (changed from 0xff100000 to
0xff1ffc00).

## Affected and fixed versions

- Linux: \>= 9ee11f0fff205b4b3df9750bff5e94f97c71b6a0, \< f4d9d4b8fd839719d564651671e24c62c545c23b; \>= 9ee11f0fff205b4b3df9750bff5e94f97c71b6a0, \< fb3c662fafebc5b9d74417ed1de8759f6bb72143; \>= 9ee11f0fff205b4b3df9750bff5e94f97c71b6a0, \< 632d233cf2e64a46865ae2c064ae3c9df7c8864f; \>= 9ee11f0fff205b4b3df9750bff5e94f97c71b6a0, \< 0591d6509c2ff13f09ea2998434aba0c0472e978; \>= 9ee11f0fff205b4b3df9750bff5e94f97c71b6a0, \< e90346a2f1e8917d5760a44a1f61c44e3b36d96b; \>= 9ee11f0fff205b4b3df9750bff5e94f97c71b6a0, \< ea3632aefc04205436868541638e26f4a74d5637; \>= 9ee11f0fff205b4b3df9750bff5e94f97c71b6a0, \< 6db8b56eed62baacaf37486e83378a72635c04cc (cvelist)
- Linux: 5.15 (cvelist)

## Mitigation

- Upgrade Linux to 6db8b56eed62baacaf37486e83378a72635c04cc 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-43186. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-43186.md
Affected: Linux >= 9ee11f0fff205b4b3df9750bff5e94f97c71b6a0, < f4d9d4b8fd839719d564651671e24c62c545c23b; >= 9ee11f0fff205b4b3df9750bff5e94f97c71b6a0, < fb3c662fafebc5b9d74417ed1de8759f6bb72143; >= 9ee11f0fff205b4b3df9750bff5e94f97c71b6a0, < 632d233cf2e64a46865ae2c064ae3c9df7c8864f; >= 9ee11f0fff205b4b3df9750…
Fixed in: Linux 632d233cf2e64a46865ae2c064ae3c9df7c8864f, Linux 0591d6509c2ff13f09ea2998434aba0c0472e978, Linux 6db8b56eed62baacaf37486e83378a72635c04cc

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

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

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

Critical: CVSS 9.8 (v3.1, scored by CNA). Remote, no login needed.

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

Linux \>= 9ee11f0fff205b4b3df9750bff5e94f97c71b6a0, \< f4d9d4b8fd839719d564651671e24c62c545c23b; \>= 9ee11f0fff205b4b3df9750bff5e94f97c71b6a0, \< fb3c662fafebc5b9d74417ed1de8759f6bb72143; \>= 9ee11f0fff205b4b3df9750bff5e94f97c71b6a0, \< 632d233cf2e64a46865ae2c064ae3c9df7c8864f; \>= 9ee11f0fff205b4b3df9750bff5e94f97c71b6a0, \< 0591d6509c2ff13f09ea2998434aba0c0472e978; \>= 9ee11f0fff205b4b3df9750bff5e94f97c71b6a0, \< e90346a2f1e8917d5760a44a1f61c44e3b36d96b; \>= 9ee11f0fff205b4b3df9750bff5e94f97c71b6a0, \< ea3632aefc04205436868541638e26f4a74d5637; \>= 9ee11f0fff205b4b3df9750bff5e94f97c71b6a0, \< 6db8b56eed62baacaf37486e83378a72635c04cc; Linux 5.15.

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

Yes. Fixed in Linux 632d233cf2e64a46865ae2c064ae3c9df7c8864f, Linux 0591d6509c2ff13f09ea2998434aba0c0472e978, Linux 6db8b56eed62baacaf37486e83378a72635c04cc. Upgrade Linux to 6db8b56eed62baacaf37486e83378a72635c04cc or later.

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

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/f4d9d4b8fd839719d564651671e24c62c545c23b>
- patch: <https://git.kernel.org/stable/c/fb3c662fafebc5b9d74417ed1de8759f6bb72143>
- patch: <https://git.kernel.org/stable/c/632d233cf2e64a46865ae2c064ae3c9df7c8864f>
- patch: <https://git.kernel.org/stable/c/0591d6509c2ff13f09ea2998434aba0c0472e978>
- patch: <https://git.kernel.org/stable/c/e90346a2f1e8917d5760a44a1f61c44e3b36d96b>
- patch: <https://git.kernel.org/stable/c/ea3632aefc04205436868541638e26f4a74d5637>
- patch: <https://git.kernel.org/stable/c/6db8b56eed62baacaf37486e83378a72635c04cc>

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

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