# CVE-2026-98021: net: reject oversized tx\_queue\_len at netlink parse time

> 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-28)
- **Published:** 2026-09-25T10:23:41.505Z
- **Modified:** 2026-10-21T13:21:19.287Z

## Who should check

- Anyone running Linux \>= 38f7b870d4a6a5d3ec21557e849620cb7d032965, \< 26ee5f99ffe7ab98e635071290eff14192e9e34a; \>= 38f7b870d4a6a5d3ec21557e849620cb7d032965, \< 45ca9f59b6c7ea70e0a17054902b8a556913db34; \>= 38f7b870d4a6a5d3ec21557e849620cb7d032965, \< 2fd0880f0272ec022906a05587fd91416ebecc38; \>= 38f7b870d4a6a5d3ec21557e849620cb7d032965, \< a638a2625aa83160a394abe8e8b2e524a80c771b; \>= 38f7b870d4a6a5d3ec21557e849620cb7d032965, \< 1aa9e143bf51405665a793d4cc925e1c4f0c5922
- Anyone running Linux 2.6.23

## Description

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

net: reject oversized tx\_queue\_len at netlink parse time

rtnl\_create\_link() assigns IFLA\_TXQLEN directly to dev-\>tx\_queue\_len
without going through netif\_change\_tx\_queue\_len(), so a device created
with "ip link add ... txqueuelen 500000" bypasses the S16\_MAX cap and
still triggers the oversized ring allocations in pfifo\_fast, tun and
tap. The veth peer nest (rtnl\_nla\_parse\_ifinfomsg()) and the
RTM\_NEWLINK-on-existing-device path reach the same sinks.

Enforce the cap in ifla\_policy instead: IFLA\_TXQLEN becomes
NLA\_POLICY\_FULL\_RANGE(NLA\_U32, &txqlen\_range) with
txqlen\_range = { .min = 0, .max = S16\_MAX }. All netlink consumers
parse against this policy - rtnl\_setlink(), rtnl\_newlink() (create
and change), and the veth peer nest - so every netlink path is capped
at parse time and rejects the attribute with -ERANGE plus a proper
"integer out of range" extack message before any device state is
modified (the RTM\_SETLINK half-application wart is gone with it).

Document the bound in the rt-link.yaml netlink spec.

Conditions to recreate the bug:
- CONFIG\_NET\_SCHED=y, CONFIG\_VETH=y, CONFIG\_USER\_NS=y, CONFIG\_NET\_NS=y.
- Unprivileged user in a fresh user+net namespace (unshare -Urn):
  ip link add v0 txqueuelen 500000 type veth peer name v1
  -\> on the fixed kernel this is rejected with -ERANGE ("integer out
  of range" extack) instead of installing an oversized tx\_queue\_len
  that later inflates pfifo\_fast/tun/tap ring allocations.
- ip link set v0 txqueuelen 500000 is likewise rejected at parse time.

## Affected and fixed versions

- Linux: \>= 38f7b870d4a6a5d3ec21557e849620cb7d032965, \< 26ee5f99ffe7ab98e635071290eff14192e9e34a; \>= 38f7b870d4a6a5d3ec21557e849620cb7d032965, \< 45ca9f59b6c7ea70e0a17054902b8a556913db34; \>= 38f7b870d4a6a5d3ec21557e849620cb7d032965, \< 2fd0880f0272ec022906a05587fd91416ebecc38; \>= 38f7b870d4a6a5d3ec21557e849620cb7d032965, \< a638a2625aa83160a394abe8e8b2e524a80c771b; \>= 38f7b870d4a6a5d3ec21557e849620cb7d032965, \< 1aa9e143bf51405665a793d4cc925e1c4f0c5922 (cvelist)
- Linux: 2.6.23 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2026-98021.md
Affected: Linux >= 38f7b870d4a6a5d3ec21557e849620cb7d032965, < 26ee5f99ffe7ab98e635071290eff14192e9e34a; >= 38f7b870d4a6a5d3ec21557e849620cb7d032965, < 45ca9f59b6c7ea70e0a17054902b8a556913db34; >= 38f7b870d4a6a5d3ec21557e849620cb7d032965, < 2fd0880f0272ec022906a05587fd91416ebecc38; >= 38f7b870d4a6a5d3ec21557…
Fixed in: Linux 26ee5f99ffe7ab98e635071290eff14192e9e34a, Linux 45ca9f59b6c7ea70e0a17054902b8a556913db34, Linux 2fd0880f0272ec022906a05587fd91416ebecc38, Linux 1aa9e143bf51405665a793d4cc925e1c4f0c5922

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

There is no confirmed exploitation: CVE-2026-98021 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-28).

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

It has no CVSS score yet. Unknown.

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

Linux \>= 38f7b870d4a6a5d3ec21557e849620cb7d032965, \< 26ee5f99ffe7ab98e635071290eff14192e9e34a; \>= 38f7b870d4a6a5d3ec21557e849620cb7d032965, \< 45ca9f59b6c7ea70e0a17054902b8a556913db34; \>= 38f7b870d4a6a5d3ec21557e849620cb7d032965, \< 2fd0880f0272ec022906a05587fd91416ebecc38; \>= 38f7b870d4a6a5d3ec21557e849620cb7d032965, \< a638a2625aa83160a394abe8e8b2e524a80c771b; \>= 38f7b870d4a6a5d3ec21557e849620cb7d032965, \< 1aa9e143bf51405665a793d4cc925e1c4f0c5922; Linux 2.6.23.

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

Yes. Fixed in Linux 26ee5f99ffe7ab98e635071290eff14192e9e34a, Linux 45ca9f59b6c7ea70e0a17054902b8a556913db34, Linux 2fd0880f0272ec022906a05587fd91416ebecc38, Linux 1aa9e143bf51405665a793d4cc925e1c4f0c5922. Upgrade Linux to 1aa9e143bf51405665a793d4cc925e1c4f0c5922 or later.

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

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/26ee5f99ffe7ab98e635071290eff14192e9e34a>
- other: <https://git.kernel.org/stable/c/45ca9f59b6c7ea70e0a17054902b8a556913db34>
- other: <https://git.kernel.org/stable/c/2fd0880f0272ec022906a05587fd91416ebecc38>
- other: <https://git.kernel.org/stable/c/a638a2625aa83160a394abe8e8b2e524a80c771b>
- other: <https://git.kernel.org/stable/c/1aa9e143bf51405665a793d4cc925e1c4f0c5922>

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

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