7.8
HIGH CVSS 3.1
CVE-2026-43374
net: nexthop: fix percpu use-after-free in remove_nh_grp_entry
Description

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.

INFO

Published Date :

May 8, 2026, 3:16 p.m.

Last Modified :

Nov. 11, 2026, 8:10 p.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2026-43374 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 134c704f-9b21-4f2e-91b3-4a467353bcc0
CVSS 3.1 HIGH 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Solution
Defer freeing percpu memory until after synchronize_net grace period.
  • Defer free_percpu() until after synchronize_net.
  • Chain removed entries to a local deferred free list.
  • Safely free percpu stats after grace period.
References to Advisories, Solutions, and Tools
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-43374 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-43374 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-43374 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-43374 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Translated by [email protected]

    Nov. 11, 2026

    Action Type Old Value New Value
    Added Translation Title: Linux Kernel, Description: En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: net: nexthop: corregir uso después de liberación percpu en remove_nh_grp_entry Al eliminar un nexthop de un grupo, remove_nh_grp_entry() publica el nuevo grupo a través de rcu_assign_pointer() y luego libera inmediatamente las estadísticas percpu de la entrada eliminada con free_percpu(). Sin embargo, el período de gracia de synchronize_net() en la función llamadora remove_nexthop_from_groups() se ejecuta después de la liberación. Los lectores RCU que entraron antes de la publicación todavía ven el grupo antiguo y pueden desreferenciar las estadísticas liberadas a través de nh_grp_entry_stats_inc() -> get_cpu_ptr(nhge -> stats), causando un uso después de liberación en memoria percpu. Solución: aplazar el free_percpu() hasta después de synchronize_net() en la función llamadora. Las entradas eliminadas se encadenan a través de nh_list a una lista local de liberación diferida. Después de que el período de gracia se complete y todos los lectores RCU hayan terminado, las estadísticas percpu se liberan de forma segura.
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Oct. 19, 2026

    Action Type Old Value New Value
    Added CWE CWE-416
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Oct. 16, 2026

    Action Type Old Value New Value
    Added Reference https://git.kernel.org/stable/c/9e08ad731862b22a87cc55f752e16d66cdc9e231
    Added Reference https://git.kernel.org/stable/c/ab5ebab9664214ba41a7633cb4e72f128204f924
    Added Reference https://git.kernel.org/stable/c/abf4feaee6405f1441929c6ebe7a250f2cd170a7
    Added Reference https://git.kernel.org/stable/c/b2662e7593e94ae09b1cf7ee5f09160a3612bcb2
    Removed Reference https://git.kernel.org/stable/c/9e08ad731862b22a87cc55f752e16d66cdc9e231
    Removed Reference https://git.kernel.org/stable/c/ab5ebab9664214ba41a7633cb4e72f128204f924
    Removed Reference https://git.kernel.org/stable/c/abf4feaee6405f1441929c6ebe7a250f2cd170a7
    Removed Reference https://git.kernel.org/stable/c/b2662e7593e94ae09b1cf7ee5f09160a3612bcb2
    Removed Reference Type https://git.kernel.org/stable/c/9e08ad731862b22a87cc55f752e16d66cdc9e231 Types: Patch
    Removed Reference Type https://git.kernel.org/stable/c/ab5ebab9664214ba41a7633cb4e72f128204f924 Types: Patch
    Removed Reference Type https://git.kernel.org/stable/c/abf4feaee6405f1441929c6ebe7a250f2cd170a7 Types: Patch
    Removed Reference Type https://git.kernel.org/stable/c/b2662e7593e94ae09b1cf7ee5f09160a3612bcb2 Types: Patch
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Oct. 16, 2026

    Action Type Old Value New Value
    Added SSVC {'id': 'CVE-2026-43374', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'none'}, {'automatable': 'no'}, {'technicalImpact': 'total'}], 'version': '2.0.3', 'timestamp': '2026-10-16T15:16:55.959084Z'}
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Jun. 17, 2026

    Action Type Old Value New Value
    Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'f4676ea74b8549cd88dbfe2a592ce4530039e61f', 'lessThan': 'abf4feaee6405f1441929c6ebe7a250f2cd170a7', 'versionType': 'git'}, {'status': 'affected', 'version': 'f4676ea74b8549cd88dbfe2a592ce4530039e61f', 'lessThan': 'ab5ebab9664214ba41a7633cb4e72f128204f924', 'versionType': 'git'}, {'status': 'affected', 'version': 'f4676ea74b8549cd88dbfe2a592ce4530039e61f', 'lessThan': '9e08ad731862b22a87cc55f752e16d66cdc9e231', 'versionType': 'git'}, {'status': 'affected', 'version': 'f4676ea74b8549cd88dbfe2a592ce4530039e61f', 'lessThan': 'b2662e7593e94ae09b1cf7ee5f09160a3612bcb2', 'versionType': 'git'}], 'programFiles': ['net/ipv4/nexthop.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '6.9'}, {'status': 'unaffected', 'version': '0', 'lessThan': '6.9', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '6.12.78', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.19', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '6.19.9', 'versionType': 'semver', 'lessThanOrEqual': '6.19.*'}, {'status': 'unaffected', 'version': '7.0', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['net/ipv4/nexthop.c'], 'defaultStatus': 'affected'}]
  • Initial Analysis by [email protected]

    May. 15, 2026

    Action Type Old Value New Value
    Added CWE CWE-416
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:6.9:-:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:* *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.13 up to (excluding) 6.18.19 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.19 up to (excluding) 6.19.9 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.9 up to (excluding) 6.12.78
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/9e08ad731862b22a87cc55f752e16d66cdc9e231 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/ab5ebab9664214ba41a7633cb4e72f128204f924 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/abf4feaee6405f1441929c6ebe7a250f2cd170a7 Types: Patch
    Added Reference Type kernel.org: https://git.kernel.org/stable/c/b2662e7593e94ae09b1cf7ee5f09160a3612bcb2 Types: Patch
  • CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    May. 11, 2026

    Action Type Old Value New Value
    Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    May. 08, 2026

    Action Type Old Value New Value
    Added Description 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.
    Added Reference https://git.kernel.org/stable/c/9e08ad731862b22a87cc55f752e16d66cdc9e231
    Added Reference https://git.kernel.org/stable/c/ab5ebab9664214ba41a7633cb4e72f128204f924
    Added Reference https://git.kernel.org/stable/c/abf4feaee6405f1441929c6ebe7a250f2cd170a7
    Added Reference https://git.kernel.org/stable/c/b2662e7593e94ae09b1cf7ee5f09160a3612bcb2
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.