CVE-2026-139242

Not scored yetLast modified Nov 30, 2026

Description

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: <TASK> 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) </TASK>

Metrics

No CVSS score has been published yet.

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

No affected versions have been published.

Timeline

Published
Nov 30, 2026
Last modified
Nov 30, 2026
NVD status
Received

Related CVEs from 2026

CVE-2026-139243In the Linux kernel, the following vulnerability has been resolved: net: axienet: release every RX buffer in axienet_dma_bd_release() The CVE-2026-139244In the Linux kernel, the following vulnerability has been resolved: bridge: mcast: Delete empty MDB entry when port group creation fails WCVE-2026-139245In the Linux kernel, the following vulnerability has been resolved: net: bcmasp: unmap previous DMA mappings on TX map failure When mappinCVE-2026-139246In the Linux kernel, the following vulnerability has been resolved: net: hix5hd2: serialize timeout recovery with interface teardown The tCVE-2026-139247In the Linux kernel, the following vulnerability has been resolved: net: qede: initialize extack in qede_flow_spec_to_rule() qede_flow_speCVE-2026-139248In the Linux kernel, the following vulnerability has been resolved: octeontx2: Fix use-after-free of qos node in delete path hash_del_rcu(CVE-2026-1392497.0In the Linux kernel, the following vulnerability has been resolved: tls: device: protect async RX resync state during device-down tls_deviCVE-2026-139257.5Inappropriate implementation in Downloads in Google Chrome on Windows prior to 150.0.7871.47 allowed a remote attacker who convinced a user CVE-2026-139250In the Linux kernel, the following vulnerability has been resolved: tcp: tcp_metrics: use the socket netns, not the dst device netns tcp_gCVE-2026-139251In the Linux kernel, the following vulnerability has been resolved: sched_ext: Use irq_work for deferred actions with proxy execution maybCVE-2026-139252In the Linux kernel, the following vulnerability has been resolved: vhost: vringh: use get_user()/put_user() for IOTLB 16-bit accesses getCVE-2026-139253In the Linux kernel, the following vulnerability has been resolved: net/mlx5e: Fix NULL deref in PTP TX timestamp recovery warn PTP SQs ar
CVE-2026-139242: Unscored | Vulnix