CVE-2026-98031
nexthop: Initialize extack in remove_nh_grp_entry()
Check your servers for CVE-2026-98031
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-98031 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
nexthop: Initialize extack in remove_nh_grp_entry()
remove_nh_grp_entry() prints the extack message when a listener fails to replace the reduced nexthop group. However, extack is not initialized and listeners are not required to set a message when returning an error. Neither netdevsim nor mlxsw do so when an allocation fails, resulting in the dereference of an uninitialized stack pointer.
Fix by zero-initializing extack, as was done in commit 6347c5314cee ("nexthop: initialize extack in nh_res_bucket_migrate()").
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.79% of all scored CVEs. Scores of 30 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 833a1065eeb14437a9a0dfa9dad06ea09894e0b5, before 35d9ec61466109ef0c2de87067338d929f629527 affected from 833a1065eeb14437a9a0dfa9dad06ea09894e0b5, before 704319510af2179cf03955747d714ab291075c25 affected from 833a1065eeb14437a9a0dfa9dad06ea09894e0b5, before 17acbcd4c5a6ca3dd3f9e52eb203c9175bde609a affected from 833a1065eeb14437a9a0dfa9dad06ea09894e0b5, before 030c878eaedf0449e2b5401a0a0146d0afcc645e affected from 833a1065eeb14437a9a0dfa9dad06ea09894e0b5, before d643cea4248668dc493c513aa7cbc6505eb1a4a9 affected from 833a1065eeb14437a9a0dfa9dad06ea09894e0b5, before d80677ad7aa5bebfccfd58caa4852b65abe70561 affected from 833a1065eeb14437a9a0dfa9dad06ea09894e0b5, before 5bd9e4e7cdaa03879e9b73b12ab52cceb1edd55b
Other versions: unaffected
|
| Linux |
affected 5.11 unaffected before 5.11 unaffected from 5.15.222 up to and including 5.15.* unaffected from 6.1.189 up to and including 6.1.* unaffected from 6.6.158 up to and including 6.6.* unaffected from 6.12.111 up to and including 6.12.* unaffected from 6.18.53 up to and including 6.18.* unaffected from 7.2.7 up to and including 7.2.* unaffected 7.3 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-98031 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-98031
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-98031
trivy image --scanners vuln IMAGE | grep CVE-2026-98031
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/35d9ec61466109ef0c2de87067338d929f629527 git.kernel.org
- https://git.kernel.org/stable/c/704319510af2179cf03955747d714ab291075c25 git.kernel.org
- https://git.kernel.org/stable/c/17acbcd4c5a6ca3dd3f9e52eb203c9175bde609a git.kernel.org
- https://git.kernel.org/stable/c/030c878eaedf0449e2b5401a0a0146d0afcc645e git.kernel.org
- https://git.kernel.org/stable/c/d643cea4248668dc493c513aa7cbc6505eb1a4a9 git.kernel.org
- https://git.kernel.org/stable/c/d80677ad7aa5bebfccfd58caa4852b65abe70561 git.kernel.org
- https://git.kernel.org/stable/c/5bd9e4e7cdaa03879e9b73b12ab52cceb1edd55b git.kernel.org
Source: the record CVE-2026-98031 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse