CVE-2026-143348
Received Received - Intake

Use-After-Free in Linux Kernel IPv6 Routing

Vulnerability report for CVE-2026-143348, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-03

Last updated on: 2026-12-03

Assigner: kernel.org

Description

In the Linux kernel, the following vulnerability has been resolved: ipv6: fix fib6 walker UAF on NLM_F_REPLACE fib6_walker uses w->leaf to remember the next fib6_info to dump, so an RTM_GETROUTE 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. fib6_del_route() does: it moves w->leaf to the next route. The NLM_F_REPLACE branch of fib6_add_rt2node() does not: it removes the old route, fib6_add() frees it, and w->leaf keeps pointing at the freed object. The fn_sernum version check in fib6_dump_table() normally protects against resuming on a stale w->leaf, but it can be bypassed: ip6_link_failure() resets fn_sernum to -1 when the default route fails, which an unprivileged user in a user+net namespace can cause: 1) link failure fn_sernum = -1 2) dump pauses on route R 3) replace R fn_sernum changed, R freed 4) link failure fn_sernum = -1 5) dump resumes -1 == -1, reads freed R <- UAF BUG: KASAN: slab-use-after-free in rt6_fill_node+0x1c22/0x2cd0 Read of size 4 at addr ff11000011fa0064 by task poc/101 rt6_fill_node <- rt6_dump_route Fix by adjusting walkers separately for replacement and deletion. For replacement, add fib6_walkers_replace_leaf() points w->leaf at the new route. For deletion and ECMP sibling removal, fib6_walkers_skip_rt() calls fib6_walkers_replace_leaf() with the next route. Reset w->skip_in_node when updating w->leaf, and set w->state to FWS_U when no next route remains.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-03
Last Modified
2026-12-03
Generated
2026-12-03
AI Q&A
2026-12-03
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a use-after-free (UAF) vulnerability in the Linux kernel's IPv6 routing subsystem. It occurs when a route is replaced using NLM_F_REPLACE while a fib6 walker is active. The walker's leaf pointer becomes stale, pointing to freed memory. An unprivileged user in a user+net namespace can trigger a link failure to reset fn_sernum, bypassing safety checks and causing the walker to read freed memory during a route dump.

Detection Guidance

This vulnerability is specific to the Linux kernel's IPv6 implementation and requires kernel-level detection. Monitor kernel logs for slab-use-after-free errors related to rt6_fill_node or fib6_walker. Use commands like dmesg | grep -i 'KASAN' or journalctl -k | grep -i 'slab-use-after-free' to check for such errors.

Impact Analysis

An attacker with local access could exploit this to crash the system or potentially execute arbitrary code with kernel privileges. This could lead to denial-of-service conditions or unauthorized access to sensitive data. Systems using IPv6 routing are primarily affected.

Mitigation Strategies

Apply the latest kernel patches or updates that include the fix for this vulnerability. If immediate patching is not possible, consider disabling IPv6 temporarily or restricting access to user+net namespaces where the exploit could be triggered.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-143348. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...