CVE-2026-64576

Source
https://cve.org/CVERecord?id=CVE-2026-64576
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64576.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-64576
Downstream
Published
2026-08-05T08:09:32.529Z
Modified
2026-08-06T03:48:28.403523641Z
Summary
nexthop: initialize extack in nh_res_bucket_migrate()
Details

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

nexthop: initialize extack in nhresbucket_migrate()

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 CONFIGINITSTACK_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) 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/af_netlink.c:1900) Kernel panic - not syncing: Fatal exception

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

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64576.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
7c37c7e00411b3d1e0c5292368317aca69d1f324
Fixed
c0936c131a71657afc635d0db2ab096d15d473e1
Fixed
3081702ea5aca0aeed9c1ade8eadf6cde8db6b7d
Fixed
d536bf205c71f700f6de2086038c3e1d77724715
Fixed
18506d7263768d76ac8e057ba55a4d9da50aad66
Fixed
6347c5314cee49f364aaf2e40ff15415a57a116e

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64576.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.13.0
Fixed
6.6.148
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.101
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.42
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64576.json"