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

nexthop: initialize extack in nh_res_bucket_migrate()

nh_res_bucket_migrate() passes an uninitialized netlink_ext_ack to
call_nexthop_res_bucket_notifiers(). When
nh_notifier_res_bucket_info_init() 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
pr_err_ratelimited("%s\n", extack._msg). With CONFIG_INIT_STACK_NONE
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)
nh_res_bucket_migrate (net/ipv4/nexthop.c:1816)
nh_res_table_upkeep (net/ipv4/nexthop.c:1866)
rtm_new_nexthop (net/ipv4/nexthop.c:3323)
rtnetlink_rcv_msg (net/core/rtnetlink.c:7076)
netlink_sendmsg (net/netlink/af_netlink.c:1900)
Kernel panic - not syncing: Fatal exception

Zero-initialize extack so _msg is NULL on error paths that never set it.
Published: 2026-08-05
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Linux kernel’s nexthop module includes a flaw where an uninitialized netlink_ext_ack structure is passed to notifier callbacks. This reflects CWE‑824, improper initialization, because the structure is not zero‑initialized before use. If a notifier fails to populate the message field, the error path formats the stale pointer, which triggers a general protection fault. When the kernel is compiled with CONFIG_INIT_STACK_NONE, that fault escalates to a kernel panic, crashing the system. The result is a denial of service; no elevated privileges are required to trigger it.

Affected Systems

Every Linux kernel build that contains the nexthop code and is compiled with CONFIG_INIT_STACK_NONE is potentially affected. Because the CVE does not enumerate specific releases, any kernel version that retains the vulnerable code path before the patch in the cited commit may be at risk.

Risk and Exploitability

The EPSS score of < 1% indicates a very low probability of exploitation, and the vulnerability is not listed in CISA’s KEV catalog, but it can be activated by an attacker who can send crafted NETLINK messages to the host. The likely attack vector is local or any process with NETLINK capabilities; remote exploitation would require a publicly exposed NETLINK interface. If the attacker can invoke the buggy notifier path, a single message will cause a kernel panic and loss of availability. The CVSS score of 7.1 reflects a medium severity impact, which still represents a non‑trivial risk to availability for affected systems.

Generated by OpenCVE AI on August 8, 2026 at 16:24 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes the patch which zero‑initializes extack in nh_res_bucket_migrate()
  • If upgrading is not immediately possible, rebuild the kernel and disable CONFIG_INIT_STACK_NONE, or apply a local patch that replaces the vulnerable code with the fixed implementation
  • Monitor system logs for kernel panic messages and ensure rapid reboots or rollbacks to maintain availability

Generated by OpenCVE AI on August 8, 2026 at 16:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4745-1 linux-6.12 security update
Debian DSA Debian DSA DSA-6415-1 linux security update
History

Wed, 19 Aug 2026 16:45:00 +0000


Sat, 08 Aug 2026 15:15:00 +0000

Type Values Removed Values Added
Metrics 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'}

cvssV3_1

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


Fri, 07 Aug 2026 02:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-665

Fri, 07 Aug 2026 00: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


Wed, 05 Aug 2026 11:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-665

Wed, 05 Aug 2026 08:15:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: nexthop: initialize extack in nh_res_bucket_migrate() nh_res_bucket_migrate() passes an uninitialized netlink_ext_ack to call_nexthop_res_bucket_notifiers(). When nh_notifier_res_bucket_info_init() 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 pr_err_ratelimited("%s\n", extack._msg). With CONFIG_INIT_STACK_NONE 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) nh_res_bucket_migrate (net/ipv4/nexthop.c:1816) nh_res_table_upkeep (net/ipv4/nexthop.c:1866) rtm_new_nexthop (net/ipv4/nexthop.c:3323) rtnetlink_rcv_msg (net/core/rtnetlink.c:7076) netlink_sendmsg (net/netlink/af_netlink.c:1900) Kernel panic - not syncing: Fatal exception Zero-initialize extack so _msg is NULL on error paths that never set it.
Title nexthop: initialize extack in nh_res_bucket_migrate()
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-08-19T16:28:57.222Z

Reserved: 2026-07-19T15:36:31.798Z

Link: CVE-2026-64576

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-05T08:16:37.483

Modified: 2026-08-19T17:20:17.540

Link: CVE-2026-64576

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-08-05T00:00:00Z

Links: CVE-2026-64576 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-08T16:30:04Z

Weaknesses
  • CWE-824

    Access of Uninitialized Pointer