CVE-2026-64576: nexthop: initialize extack in nh_res_bucket_migrate()

Published Aug 5, 2026
·
Updated

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

nexthop: initialize extack in nhresbucketmigrate()

nhresbucketmigrate() passes an uninitialized netlinkextack to callnexthopresbucketnotifiers(). When nhnotifierresbucketinfoinit() fails (e.g. the kzalloc returns -ENOMEM), the error is propagated back before any notifier sets extack.msg, and the error path formats the stale pointer with prerrratelimited("%s\n", extack.msg). With CONFIGINITSTACKNONE this dereferences uninitialized stack memory:

Oops: general protection fault, probably for non-canonical address ... KASAN: maybe wild-memory-access in range [...] RIP: 0010:string (lib/vsprintf.c:730) vsnprintf (lib/vsprintf.c:2945) printk (kernel/printk/printk.c:2504) nhresbucketmigrate (net/ipv4/nexthop.c:1816) nhrestableupkeep (net/ipv4/nexthop.c:1866) rtmnewnexthop (net/ipv4/nexthop.c:3323) rtnetlinkrcvmsg (net/core/rtnetlink.c:7076) netlinksendmsg (net/netlink/afnetlink.c:1900) Kernel panic - not syncing: Fatal exception

Zero-initialize extack so msg is NULL on error paths that never set it.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Ensure CONFIG_INIT_STACK_NONE does not leave extack uninitialized on error paths; apply the kernel fix described as: zero-initialize extack so extack._msg is NULL on error paths that never set it (in nexthop/nh_res_bucket_migrate flow).

    Linux kernel CONFIG_INIT_STACK_NONE = enabled
  2. Configuration

    Update the kernel code so that nh_res_bucket_migrate() initializes the netlink_ext_ack/extack structure; this prevents stale pointers from being dereferenced by pr_err_ratelimited("%s\n", extack._msg) and vsnprintf in error formatting.

    Linux kernel extack initialization in nh_res_bucket_migrate() = zero-initialize extack so extack._msg is NULL on error paths

Event History

Aug 5, 2026
CVE Published
via MITRE·08:09 AM
Data Sourced
via MITRE·08:09 AM
Description
Data Sourced
via NVD·08:16 AM
Description
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-64576?

CVE-2026-64576 has a risk score of 50, indicating a moderate severity level.

2

How do I fix CVE-2026-64576?

To fix CVE-2026-64576, update to the latest version of the Linux kernel where the vulnerability has been resolved.

3

What does CVE-2026-64576 affect?

CVE-2026-64576 affects the Linux kernel through a potential issue in the nexthop module involving uninitialized netlink_ext_ack.

4

When was CVE-2026-64576 published?

CVE-2026-64576 was published on August 5, 2026.

5

What component of the Linux kernel is involved in CVE-2026-64576?

CVE-2026-64576 involves the nexthop component of the Linux kernel.

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