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()").
Published: 2026-09-25
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: kernel memory corruption and potential system crash
Action: Apply Patch
AI Analysis

Impact

The Linux kernel function remove_nh_grp_entry() dereferences an uninitialized extack pointer when a listener fails to replace a reduced nexthop group. In the affected code path, drivers such as netdevsim and mlxsw do not set an extack message on allocation failures, causing the kernel to dereference a stack pointer that has never been initialized. This use-of-uninitialized-variable flaw can corrupt kernel memory and crash the system.

Affected Systems

All Linux kernel releases that contain the vulnerable nexthop implementation before the patch commit are potentially affected. The fix was introduced in commits 030c878eaedf0449e2b5401a0a0146d0afcc645e and 6347c5314cee. Therefore any system running a kernel older than the version that incorporates these commits, regardless of Linux distribution, is at risk.

Risk and Exploitability

The CVSS score is 5.5 and the EPSS score is < 1%. While no public exploit is known, the failure to initialize extack can lead to corruption of kernel memory. The vulnerability remains of moderate severity and is considered non-trivial to exploit. The likely attack vector is local or through a manipulated network driver component that induces allocation failures. The vulnerability is not listed in CISA’s KEV catalog.

Generated by OpenCVE AI on September 30, 2026 at 14:08 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the kernel patch that zero‑initializes extack in remove_nh_grp_entry (commit 030c878eaedf0449e2b5401a0a0146d0afcc645e, included in recent kernel releases).
  • Upgrade the kernel to a newer release that includes the patch.
  • If a patch cannot be applied immediately, check distribution advisories for updated kernels and apply the fix when available.

Generated by OpenCVE AI on September 30, 2026 at 14:08 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4817-1 linux-6.12 security update
Debian DLA Debian DLA DLA-4841-1 linux security update
Debian DSA Debian DSA DSA-6528-1 linux security update
Ubuntu USN Ubuntu USN USN-8961-1 Linux kernel vulnerabilities
History

Sat, 03 Oct 2026 11:15:00 +0000


Tue, 29 Sep 2026 20:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-457

Tue, 29 Sep 2026 13:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-824
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Fri, 25 Sep 2026 16:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-457

Fri, 25 Sep 2026 10:30:00 +0000

Type Values Removed Values Added
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()").
Title nexthop: Initialize extack in remove_nh_grp_entry()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-19T09:12:36.306Z

Reserved: 2026-09-25T10:19:56.070Z

Link: CVE-2026-98031

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-25T11:17:31.787

Modified: 2026-10-19T10:17:57.120

Link: CVE-2026-98031

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-09-25T00:00:00Z

Links: CVE-2026-98031 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-30T14:15:16Z

Weaknesses
  • CWE-824

    Access of Uninitialized Pointer