AZL-118634: CVE-2026-143348 affecting package kernel 6.6.161.1-1

Published Dec 3, 2026
·
Updated

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

ipv6: fix fib6 walker UAF on NLMFREPLACE

fib6walker uses w->leaf to remember the next fib6info to dump, so an RTMGETROUTE dump can continue there on the next recvmsg(). This assumes that whoever removes a route from the tree also updates the walkers pointing at it. fib6delroute() does: it moves w->leaf to the next route. The NLMFREPLACE branch of fib6addrt2node() does not: it removes the old route, fib6add() frees it, and w->leaf keeps pointing at the freed object.

The fnsernum version check in fib6dumptable() normally protects against resuming on a stale w->leaf, but it can be bypassed: ip6linkfailure() resets fnsernum to -1 when the default route fails, which an unprivileged user in a user+net namespace can cause:

1) link failure fnsernum = -1 2) dump pauses on route R 3) replace R fnsernum changed, R freed 4) link failure fnsernum = -1 5) dump resumes -1 == -1, reads freed R <- UAF

BUG: KASAN: slab-use-after-free in rt6fillnode+0x1c22/0x2cd0 Read of size 4 at addr ff11000011fa0064 by task poc/101 rt6fillnode <- rt6dumproute

Fix by adjusting walkers separately for replacement and deletion. For replacement, add fib6walkersreplaceleaf() points w->leaf at the new route. For deletion and ECMP sibling removal, fib6walkersskiprt() calls fib6walkersreplaceleaf() with the next route. Reset w->skipinnode when updating w->leaf, and set w->state to FWSU when no next route remains.

Affected Software

1 affected component
azure-linux/kernel<=6.6.161.1-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    In the IPv6 route-table walker, handle replacement separately: have fib6_walkers_replace_leaf() point w->leaf at the new route, reset w->skip_in_node when updating w->leaf, and set w->state to FWS_U when no next route remains.

Event History

Dec 3, 2026
Advisory Published
via OSV·10:18 AM
Data Sourced
via OSV·10:18 AM
DescriptionAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

Who can trigger the vulnerable sequence?

An unprivileged user that can operate in a user namespace and network namespace can cause the link-failure condition used to bypass the route-dump serial-number check.

2

What activity is required to reach the use-after-free condition?

A route dump must pause on a route, that route must be replaced through the NLM_F_REPLACE path, and link failures must reset the IPv6 FIB serial number before the dump resumes. The resumed RTM_GETROUTE dump can then read the freed route object.

3

What evidence could indicate this issue has been triggered?

The provided reproducer reports a KASAN slab-use-after-free in rt6_fill_node, reached through rt6_dump_route. This occurs while an RTM_GETROUTE dump resumes on a freed IPv6 route entry.

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