CVE-2026-43374CWE-416

CVE-2026-43374

High · published May 8, 2026

CVSS v3.1
7.8
EPSS
0%
Percentile
6.1
In the wild
Unconfirmed
What it is

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

net: nexthop: fix percpu use-after-free in remove_nh_grp_entry

When removing a nexthop from a group, remove_nh_grp_entry() publishes

the new group via rcu_assign_pointer() then immediately frees the

removed entry's percpu stats with free_percpu(). However, the

synchronize_net() grace period in the caller remove_nexthop_from_groups()

runs after the free. RCU readers that entered before the publish still

see the old group and can dereference the freed stats via

nh_grp_entry_stats_inc() -> get_cpu_ptr(nhge->stats), causing a

use-after-free on percpu memory.

Fix by deferring the free_percpu() until after synchronize_net() in the

caller. Removed entries are chained via nh_list onto a local deferred

free list. After the grace period completes and all RCU readers have

finished, the percpu stats are safely freed.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00170 · 6.1th percentile
Weakness
CWE-416 · Use After Free
Published
2026-05-08T19:16Z
Affected products (7)
ProductVersionsFixed in
linux/linux_kernel≥ 6.9, < 6.12.786.12.78
linux/linux_kernel≥ 6.13, < 6.18.196.18.19
linux/linux_kernel≥ 6.19, < 6.19.96.19.9
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
linux/linux_kernelall versions—
References (4)
EPSS history
Timeline
  • 08 MAY 14:21Z
    net: nexthop: fix percpu use-after-free in remove_nh_grp_entry
    cvelistv5