# CVE-2026-98377: vlan: require the MAC header to be present in \_\_vlan\_insert\_inner\_tag()

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 7, 2026-11-26)
- **Published:** 2026-10-09T07:34:17.832Z
- **Modified:** 2026-10-30T13:21:13.433Z

## Who should check

- Anyone running Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 12295e0728488105b152b57fe8bc5e86f1d21a73; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< aecace4ef31bd4e8ca1f224280ab52a457b0dc9a; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 50a958f865173e8752ff07bf0eff7b55cdeb5d74; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 3d531429524df2c7116579306640283fea68bcf0; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 40a5cc4b7251c74f3341332a226d02200e96bccf; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< f42562dd027dc4ed103fae17b2206e73ea1963c4; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 59af43ccece4d2d8b62e9e3ccc96b6e2e793bcdc; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< ab888242fce4f16f6c4d4c6ec53939ad36aa3b3a
- Anyone running Linux 2.6.12

## Description

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

vlan: require the MAC header to be present in \_\_vlan\_insert\_inner\_tag()

\_\_vlan\_insert\_inner\_tag() only guarantees head room via skb\_cow\_head(),
never that mac\_len bytes of MAC header are present.  Its ETH\_HLEN
wrappers - \_\_vlan\_insert\_tag() under skb\_vlan\_push(), and
vlan\_insert\_tag() under validate\_xmit\_vlan() on the generic transmit
path - therefore rewrite the first 16 bytes at skb-\>data: a 12-byte
memmove plus two 2-byte stores at +12 and +14.  No caller supplies the
bound, while the pop helpers use skb\_ensure\_writable()/pskb\_may\_pull().

An IFF\_TUN device has hard\_header\_len == 0, so packet\_snd() accepts a
one-byte AF\_PACKET/SOCK\_RAW frame.  The first vlan push only sets a
hwaccel tag; the next - clsact "action vlan push" or
bpf\_skb\_vlan\_push() - enters the helper with skb-\>len still 1.  The
head comes from skbuff\_small\_head without \_\_GFP\_ZERO, so each push
drags bytes from beyond skb-\>tail into the frame.  After three the
one-byte send leaves as 13 bytes carrying 11 bytes of uninitialised
slab:

  0000: 5a b3 62 12 80 88 ff ff 00 b3 62 12 81
           \`------------------------------'
  only 0x5a was sent; the rest is slab, here the top 56 bits of a
  linear-map address

Require the MAC header the helper rewrites to be present, so such a
frame is dropped rather than transmitted.

## Affected and fixed versions

- Linux: \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 12295e0728488105b152b57fe8bc5e86f1d21a73; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< aecace4ef31bd4e8ca1f224280ab52a457b0dc9a; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 50a958f865173e8752ff07bf0eff7b55cdeb5d74; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 3d531429524df2c7116579306640283fea68bcf0; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 40a5cc4b7251c74f3341332a226d02200e96bccf; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< f42562dd027dc4ed103fae17b2206e73ea1963c4; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 59af43ccece4d2d8b62e9e3ccc96b6e2e793bcdc; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< ab888242fce4f16f6c4d4c6ec53939ad36aa3b3a (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-98377. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98377.md
Affected: Linux >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 12295e0728488105b152b57fe8bc5e86f1d21a73; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < aecace4ef31bd4e8ca1f224280ab52a457b0dc9a; >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, < 50a958f865173e8752ff07bf0eff7b55cdeb5d74; >= 1da177e4c3f41524e886b7f…
Fixed in: Linux 12295e0728488105b152b57fe8bc5e86f1d21a73, Linux 50a958f865173e8752ff07bf0eff7b55cdeb5d74, Linux 3d531429524df2c7116579306640283fea68bcf0, Linux 40a5cc4b7251c74f3341332a226d02200e96bccf, Linux 59af43ccece4d2d8b62e9e3ccc96b6e2e793bcdc

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

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 12295e0728488105b152b57fe8bc5e86f1d21a73; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< aecace4ef31bd4e8ca1f224280ab52a457b0dc9a; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 50a958f865173e8752ff07bf0eff7b55cdeb5d74; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 3d531429524df2c7116579306640283fea68bcf0; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 40a5cc4b7251c74f3341332a226d02200e96bccf; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< f42562dd027dc4ed103fae17b2206e73ea1963c4; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< 59af43ccece4d2d8b62e9e3ccc96b6e2e793bcdc; \>= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2, \< ab888242fce4f16f6c4d4c6ec53939ad36aa3b3a; Linux 2.6.12.

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

Yes. Fixed in Linux 12295e0728488105b152b57fe8bc5e86f1d21a73, Linux 50a958f865173e8752ff07bf0eff7b55cdeb5d74, Linux 3d531429524df2c7116579306640283fea68bcf0, Linux 40a5cc4b7251c74f3341332a226d02200e96bccf, Linux 59af43ccece4d2d8b62e9e3ccc96b6e2e793bcdc. No fix listed yet: follow the vendor advisory.

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

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/12295e0728488105b152b57fe8bc5e86f1d21a73>
- other: <https://git.kernel.org/stable/c/aecace4ef31bd4e8ca1f224280ab52a457b0dc9a>
- other: <https://git.kernel.org/stable/c/50a958f865173e8752ff07bf0eff7b55cdeb5d74>
- other: <https://git.kernel.org/stable/c/3d531429524df2c7116579306640283fea68bcf0>
- other: <https://git.kernel.org/stable/c/40a5cc4b7251c74f3341332a226d02200e96bccf>
- other: <https://git.kernel.org/stable/c/f42562dd027dc4ed103fae17b2206e73ea1963c4>
- other: <https://git.kernel.org/stable/c/59af43ccece4d2d8b62e9e3ccc96b6e2e793bcdc>
- other: <https://git.kernel.org/stable/c/ab888242fce4f16f6c4d4c6ec53939ad36aa3b3a>

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

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