VDB

CVE-2026-98021

CVE-2026-98021 PUBLISHED

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.

PackageEcosystemFixed in
perf6.18Amazon Linux1:6.18.54-121.166.amzn2023
python3-perf6.12Amazon Linux1:6.12.111-136.204.amzn2023
kernel6.12-modules-extraAmazon Linux1:6.12.111-136.204.amzn2023
kernel6.12-headersAmazon Linux1:6.12.111-136.204.amzn2023
perf6.12Amazon Linux1:6.12.111-136.204.amzn2023
kernel6.18-modules-extraAmazon Linux1:6.18.54-121.166.amzn2023
kernel6.18-tools-develAmazon Linux1:6.18.54-121.166.amzn2023

Risk scores

EPSS Score
0.18%
7.2th percentile

Affected products

VendorProductVersions
LinuxLinux38f7b870d4a6a5d3ec21557e849620cb7d032965, 38f7b870d4a6a5d3ec21557e849620cb7d032965, 38f7b870d4a6a5d3ec21557e849620cb7d032965
LinuxLinux2.6.23, 0, 6.6.160
amazon:2023perf6.180
amazon:2023python3-perf6.120
amazon:2023kernel6.12-modules-extra0
amazon:2023kernel6.12-headers0
amazon:2023perf6.120
amazon:2023kernel6.18-modules-extra0
amazon:2023kernel6.18-tools-devel0
linuxlinux_kernel2.6.23, 2.6.23, 2.6.23
amazon:2023python3-perf6.180
amazon:2023bpftool6.180
LinuxLinux6.6.160, 38f7b870d4a6a5d3ec21557e849620cb7d032965, 38f7b870d4a6a5d3ec21557e849620cb7d032965
amazon:2023kernel6.12-tools-devel0
amazon:2023kernel6.12-tools0
amazon:2023kernel6.12-devel0
amazon:2023kernel6.18-modules-extra-common0
amazon:2023bpftool6.120
amazon:2023kernel6.18-headers0
amazon:2023kernel-livepatch-6.18.54-121.1660

…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

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›