CVE-2026-98021
net: reject oversized tx_queue_len at netlink parse time
Reported by linux · Published September 25, 2026
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.
EPSS 0.18% · 7.2th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| perf6.18 | Amazon Linux | 1:6.18.54-121.166.amzn2023 |
| python3-perf6.12 | Amazon Linux | 1:6.12.111-136.204.amzn2023 |
| kernel6.12-modules-extra | Amazon Linux | 1:6.12.111-136.204.amzn2023 |
| kernel6.12-headers | Amazon Linux | 1:6.12.111-136.204.amzn2023 |
| perf6.12 | Amazon Linux | 1:6.12.111-136.204.amzn2023 |
| kernel6.18-modules-extra | Amazon Linux | 1:6.18.54-121.166.amzn2023 |
| kernel6.18-tools-devel | Amazon Linux | 1:6.18.54-121.166.amzn2023 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 38f7b870d4a6a5d3ec21557e849620cb7d032965, 38f7b870d4a6a5d3ec21557e849620cb7d032965, 38f7b870d4a6a5d3ec21557e849620cb7d032965 |
| Linux | Linux | 2.6.23, 0, 6.6.160 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | python3-perf6.12 | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | perf6.12 | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
| linux | linux_kernel | 2.6.23, 2.6.23, 2.6.23 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | bpftool6.18 | 0 |
| Linux | Linux | 6.6.160, 38f7b870d4a6a5d3ec21557e849620cb7d032965, 38f7b870d4a6a5d3ec21557e849620cb7d032965 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | kernel-livepatch-6.18.54-121.166 | 0 |
…and 7 more
Timeline
- Sep 25, 2026 CVE Published
- Sep 26, 2026 EPSS Score (8 in total, the first dated here)
- Oct 21, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-98021
vulnetix vdb fixes CVE-2026-98021
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-98021/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart