CVE-2026-74656: ipv4: fix use-after-free in fib_nhc_update_mtu()

Published Aug 22, 2026
·
Updated

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

ipv4: fix use-after-free in fibnhcupdatemtu()

fibnhcupdatemtu() walks the nexthop exception table under RTNL, but RTNL does not serialize this walk with PMTU exception updates. The walk uses rcudereferenceprotected() with a constant true condition without holding fnhelock.

The following interleaving can therefore occur:

CPU 0 CPU 1 fibnhcupdatemtu() updateorcreatefnhe() load fnhe spinlockbh(&fnhelock) fnheremoveoldest() unlink fnhe kfreercu(fnhe, rcu) <quiescent state> access fnhe after grace period

KASAN reported:

BUG: KASAN: slab-use-after-free in fibnhcupdatemtu+0x3df/0x410 Read of size 8 at addr ffff888107d49000 by task poc/90 Call Trace: fibnhcupdatemtu+0x3df/0x410 fibsyncmtu+0x7a/0xd0 fibnetdevevent+0x229/0x3f0 netifsetmtuext+0x33a/0x570 devsetmtu+0x88/0x120

The same walk updates fnhepmtu and fnhemtulocked. These fields form a pair and other writers serialize them with fnhelock. RCU alone prevents reclamation, but would still allow concurrent writers to leave a mixed pair.

Walk the table under RCU and acquire fnhelock only while updating each exception. RCU keeps the current entry alive while the short critical section serializes its paired PMTU fields. This avoids holding the global lock while scanning all 2048 buckets for every nexthop.

Affected Software

2 affected componentsFixes available
The Linux Kernel Organization Linux kernel
Microsoft azl3 kernel 6.6.150.1-1<6.6.152.1-1
6.6.152.1-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 6.6.152.1-1

Event History

Aug 22, 2026
CVE Published
via MITRE·03:32 PM
Data Sourced
via MITRE·03:32 PM
DescriptionSeverity
Data Sourced
via NVD·04:16 PM
DescriptionSeverity
Aug 24, 2026
Data Sourced
via Microsoft·08:07 AM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What conditions are required to trigger this issue?

The race requires fib_nhc_update_mtu() to walk nexthop exceptions while another CPU updates PMTU exceptions and removes an exception entry. The described path includes an MTU change event and concurrent update_or_create_fnhe() activity.

2

What is the impact if the race occurs?

A freed nexthop exception entry can be accessed after its RCU grace period, producing a slab use-after-free. The report shows KASAN detecting an 8-byte read in fib_nhc_update_mtu().

3

What synchronization does the fix add?

The corrected approach walks the exception table under RCU and takes fnhe_lock while updating each exception. This both prevents use of reclaimed entries and serializes updates to the paired fnhe_pmtu and fnhe_mtu_locked fields.

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