CVE-2026-98031: nexthop: Initialize extack in remove_nh_grp_entry()

Published Sep 25, 2026
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

nexthop: Initialize extack in removenhgrpentry()

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

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Patch 6347c5314cee

Event History

Sep 25, 2026
CVE Published
via MITRE·10:23 AM
Data Sourced
via MITRE·10:23 AM
Description
Data Sourced
via NVD·11:17 AM
Description

Frequently Asked Questions

1

What conditions are required to trigger the issue?

A nexthop group must be reduced, and a listener must fail while replacing that reduced group. The described trigger is an allocation failure from a listener that returns an error without setting an extack message.

2

Which listeners are specifically identified as affected by this failure mode?

netdevsim and mlxsw are identified as listeners that do not set an extack message when an allocation fails. In that situation, printing the message can dereference an uninitialized stack pointer.

3

What can be done if the kernel update cannot be applied immediately?

The provided information does not describe a configuration workaround. Reducing exposure would require avoiding the affected nexthop-group reduction path together with listener allocation failures until the fix is applied.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203