# CVE-2026-98031: nexthop: Initialize extack in remove\_nh\_grp\_entry()

> 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.21% (percentile 7, 2026-11-26)
- **Published:** 2026-09-25T10:23:47.562Z
- **Modified:** 2026-10-19T10:17:57.120Z

## Who should check

- Anyone running Linux \>= 833a1065eeb14437a9a0dfa9dad06ea09894e0b5, \< 35d9ec61466109ef0c2de87067338d929f629527; \>= 833a1065eeb14437a9a0dfa9dad06ea09894e0b5, \< 704319510af2179cf03955747d714ab291075c25; \>= 833a1065eeb14437a9a0dfa9dad06ea09894e0b5, \< 17acbcd4c5a6ca3dd3f9e52eb203c9175bde609a; \>= 833a1065eeb14437a9a0dfa9dad06ea09894e0b5, \< 030c878eaedf0449e2b5401a0a0146d0afcc645e; \>= 833a1065eeb14437a9a0dfa9dad06ea09894e0b5, \< d643cea4248668dc493c513aa7cbc6505eb1a4a9; \>= 833a1065eeb14437a9a0dfa9dad06ea09894e0b5, \< d80677ad7aa5bebfccfd58caa4852b65abe70561; \>= 833a1065eeb14437a9a0dfa9dad06ea09894e0b5, \< 5bd9e4e7cdaa03879e9b73b12ab52cceb1edd55b
- Anyone running Linux 5.11

## 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()").

## Affected and fixed versions

- Linux: \>= 833a1065eeb14437a9a0dfa9dad06ea09894e0b5, \< 35d9ec61466109ef0c2de87067338d929f629527; \>= 833a1065eeb14437a9a0dfa9dad06ea09894e0b5, \< 704319510af2179cf03955747d714ab291075c25; \>= 833a1065eeb14437a9a0dfa9dad06ea09894e0b5, \< 17acbcd4c5a6ca3dd3f9e52eb203c9175bde609a; \>= 833a1065eeb14437a9a0dfa9dad06ea09894e0b5, \< 030c878eaedf0449e2b5401a0a0146d0afcc645e; \>= 833a1065eeb14437a9a0dfa9dad06ea09894e0b5, \< d643cea4248668dc493c513aa7cbc6505eb1a4a9; \>= 833a1065eeb14437a9a0dfa9dad06ea09894e0b5, \< d80677ad7aa5bebfccfd58caa4852b65abe70561; \>= 833a1065eeb14437a9a0dfa9dad06ea09894e0b5, \< 5bd9e4e7cdaa03879e9b73b12ab52cceb1edd55b (cvelist)
- Linux: 5.11 (cvelist)

## Mitigation

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

Details: https://flawdb.com/CVE-2026-98031.md
Affected: Linux >= 833a1065eeb14437a9a0dfa9dad06ea09894e0b5, < 35d9ec61466109ef0c2de87067338d929f629527; >= 833a1065eeb14437a9a0dfa9dad06ea09894e0b5, < 704319510af2179cf03955747d714ab291075c25; >= 833a1065eeb14437a9a0dfa9dad06ea09894e0b5, < 17acbcd4c5a6ca3dd3f9e52eb203c9175bde609a; >= 833a1065eeb14437a9a0dfa…
Fixed in: Linux 35d9ec61466109ef0c2de87067338d929f629527, Linux 704319510af2179cf03955747d714ab291075c25, Linux 17acbcd4c5a6ca3dd3f9e52eb203c9175bde609a, Linux 030c878eaedf0449e2b5401a0a0146d0afcc645e, Linux 5bd9e4e7cdaa03879e9b73b12ab52cceb1edd55b

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

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= 833a1065eeb14437a9a0dfa9dad06ea09894e0b5, \< 35d9ec61466109ef0c2de87067338d929f629527; \>= 833a1065eeb14437a9a0dfa9dad06ea09894e0b5, \< 704319510af2179cf03955747d714ab291075c25; \>= 833a1065eeb14437a9a0dfa9dad06ea09894e0b5, \< 17acbcd4c5a6ca3dd3f9e52eb203c9175bde609a; \>= 833a1065eeb14437a9a0dfa9dad06ea09894e0b5, \< 030c878eaedf0449e2b5401a0a0146d0afcc645e; \>= 833a1065eeb14437a9a0dfa9dad06ea09894e0b5, \< d643cea4248668dc493c513aa7cbc6505eb1a4a9; \>= 833a1065eeb14437a9a0dfa9dad06ea09894e0b5, \< d80677ad7aa5bebfccfd58caa4852b65abe70561; \>= 833a1065eeb14437a9a0dfa9dad06ea09894e0b5, \< 5bd9e4e7cdaa03879e9b73b12ab52cceb1edd55b; Linux 5.11.

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

Yes. Fixed in Linux 35d9ec61466109ef0c2de87067338d929f629527, Linux 704319510af2179cf03955747d714ab291075c25, Linux 17acbcd4c5a6ca3dd3f9e52eb203c9175bde609a, Linux 030c878eaedf0449e2b5401a0a0146d0afcc645e, Linux 5bd9e4e7cdaa03879e9b73b12ab52cceb1edd55b. Upgrade Linux to 5bd9e4e7cdaa03879e9b73b12ab52cceb1edd55b or later.

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

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/35d9ec61466109ef0c2de87067338d929f629527>
- other: <https://git.kernel.org/stable/c/704319510af2179cf03955747d714ab291075c25>
- other: <https://git.kernel.org/stable/c/17acbcd4c5a6ca3dd3f9e52eb203c9175bde609a>
- other: <https://git.kernel.org/stable/c/030c878eaedf0449e2b5401a0a0146d0afcc645e>
- other: <https://git.kernel.org/stable/c/d643cea4248668dc493c513aa7cbc6505eb1a4a9>
- other: <https://git.kernel.org/stable/c/d80677ad7aa5bebfccfd58caa4852b65abe70561>
- other: <https://git.kernel.org/stable/c/5bd9e4e7cdaa03879e9b73b12ab52cceb1edd55b>

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

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