GHSA-FM2R-M22X-XP8G

Vulnerability from github – Published: 2026-11-30 15:32 – Updated: 2026-11-30 15:32
VLAI
Details

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)

Show details on source website

{
  "affected": [],
  "aliases": [
    "CVE-2026-139242"
  ],
  "database_specific": {
    "cwe_ids": [],
    "github_reviewed": false,
    "github_reviewed_at": null,
    "nvd_published_at": "2026-11-30T14:18:46Z",
    "severity": null
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nipv6: Hold RCU when emitting route hardware flags notification\n\nfib6_info_hw_flags_set() is called by drivers from process context\nwithout RTNL or RCU. When the route uses a nexthop object,\nrt6_nlmsg_size() and rt6_fill_node() access the nexthop\u0027s RCU protected\nnexthop info and group pointers via rcu_dereference_rtnl(), resulting in\nsuspicious RCU usage splats [1].\n\nFix by holding RCU while sizing and filling the notification, like\nfib_alias_hw_flags_set() already does. Switch to GFP_ATOMIC for the skb\nallocation accordingly.\n\nReproducer:\n\n # echo \"10 0\" \u003e /sys/bus/netdevsim/new_device\n # sysctl -wq net.ipv6.fib_notify_on_flag_change=1\n # sysctl -wq net.ipv4.nexthop_compat_mode=1\n # ip -6 nexthop add id 1 blackhole\n # ip -6 route add 2001:db8:1::1/128 nhid 1\n\n[1]\nWARNING: suspicious RCU usage\n7.3.0-rc7-virtme-g191aa41548b2 #38 Not tainted\nnet/ipv4/nexthop.c:1539 suspicious rcu_dereference_check() usage!\n[...]\nWorkqueue: events nsim_fib_event_work\nCall Trace:\n \u003cTASK\u003e\n dump_stack_lvl (lib/dump_stack.c:94 lib/dump_stack.c:120)\n lockdep_rcu_suspicious.cold (kernel/locking/lockdep.c:6972)\n nexthop_for_each_fib6_nh (net/ipv4/nexthop.c:1539 (discriminator 16))\n rt6_nlmsg_size (net/ipv6/route.c:5728)\n fib6_info_hw_flags_set (net/ipv6/route.c:6503)\n nsim_fib6_rt_add (drivers/net/netdevsim/fib.c:671 drivers/net/netdevsim/fib.c:694)\n nsim_fib6_rt_insert (drivers/net/netdevsim/fib.c:759)\n nsim_fib_event_work (drivers/net/netdevsim/fib.c:856 drivers/net/netdevsim/fib.c:889 drivers/net/netdevsim/fib.c:1493)\n process_one_work (kernel/workqueue.c:3396)\n worker_thread (kernel/workqueue.c:3479 kernel/workqueue.c:3560)\n kthread (kernel/kthread.c:436)\n ret_from_fork (arch/x86/kernel/process.c:158)\n ret_from_fork_asm (arch/x86/entry/entry_64.S:245)\n \u003c/TASK\u003e",
  "id": "GHSA-fm2r-m22x-xp8g",
  "modified": "2026-11-30T15:32:23Z",
  "published": "2026-11-30T15:32:23Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139242"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/2c7d4e38337de373e159a3c0adfe0d4810c30c9f"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/6cc6b31b35c06216a9af23d67618f96b491fbd7b"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/7c9cb1edaf8fd8e1af25e39741e603500986ef66"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/811c17c74cd298f1adcadb1b0ce5b30c1365d102"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/9aaebc798b138b0505d4498e6eb005473e759c52"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ec0d1152b732e148f1ad17ff22eb18bb4cc9cc16"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ef3d991eacc764e0d07ae1cfad119f5903ac8662"
    }
  ],
  "schema_version": "1.4.0",
  "severity": []
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.