PT-2026-163283
CVE-2026-139242
·
Published
2026-11-30
·
Updated
2026-11-30
Description by
Score
N/A
Not availableNo severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
In the Linux kernel, the following vulnerability has been resolved:
ipv6: Hold RCU when emitting route hardware flags notification
fib6 info hw flags set() is called by drivers from process context
without RTNL or RCU. When the route uses a nexthop object,
rt6 nlmsg size() and rt6 fill node() access the nexthop's RCU protected
nexthop info and group pointers via rcu dereference rtnl(), resulting in
suspicious RCU usage splats [1].
Fix by holding RCU while sizing and filling the notification, like
fib alias hw flags set() already does. Switch to GFP ATOMIC for the skb
allocation accordingly.
Reproducer:
echo "10 0" > /sys/bus/netdevsim/new device
sysctl -wq net.ipv6.fib notify on flag change=1
sysctl -wq net.ipv4.nexthop compat mode=1
ip -6 nexthop add id 1 blackhole
ip -6 route add 2001:db8:1::1/128 nhid 1
[1]
WARNING: suspicious RCU usage
7.3.0-rc7-virtme-g191aa41548b2 #38 Not tainted
net/ipv4/nexthop.c:1539 suspicious rcu dereference check() usage!
[...]
Workqueue: events nsim fib event work
Call Trace:
dump stack lvl (lib/dump stack.c:94 lib/dump stack.c:120)
lockdep rcu suspicious.cold (kernel/locking/lockdep.c:6972)
nexthop for each fib6 nh (net/ipv4/nexthop.c:1539 (discriminator 16))
rt6 nlmsg size (net/ipv6/route.c:5728)
fib6 info hw flags set (net/ipv6/route.c:6503)
nsim fib6 rt add (drivers/net/netdevsim/fib.c:671 drivers/net/netdevsim/fib.c:694)
nsim fib6 rt insert (drivers/net/netdevsim/fib.c:759)
nsim fib event work (drivers/net/netdevsim/fib.c:856 drivers/net/netdevsim/fib.c:889 drivers/net/netdevsim/fib.c:1493)
process one work (kernel/workqueue.c:3396)
worker thread (kernel/workqueue.c:3479 kernel/workqueue.c:3560)
kthread (kernel/kthread.c:436)
ret from fork (arch/x86/kernel/process.c:158)
ret from fork asm (arch/x86/entry/entry 64.S:245)
Found an issue in the description? Have something to add? Feel free to write us 👾