Skip to main content
VulnerabilityPublished

CVE-2026-139105: Linux kernel · netdev-genl: ignore NETDEV_UNREGISTER rebroadcasts

Source GCVE Database

0
Compare
Authoritative record:CVE-2026-139105

Not known to be exploited · fixed in fd0909e963ed8f36967bd072ed484be7babe46de : update Linux kernel when convenient.

Data as of 30 Nov 2026, 17:16 UTC

Severity
Unrated

Rated by Threat Radar · CVSS not yet scored by NVD

Thin evidence

One scorer or none
Patch
Available – fixed in fd0909e963ed8f36967bd072ed484be7babe46de, adf47f2babc5f6e6536640f5fd20c11c51058399, 85780eacecdbe095c1ba4f3659d2cdfcc69d5ca9 +1

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 30 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Nov 2026.

What to do

Upgrade Linux kernel to fd0909e963ed8f36967bd072ed484be7babe46de, adf47f2babc5f6e6536640f5fd20c11c51058399, 85780eacecdbe095c1ba4f3659d2cdfcc69d5ca9 or 7af6433b10582713f762a3c04cb00355805033f7.

Affected software

ProductAffectedFixed in
LinuxLinuxAffected
  • ≥ d3d854fd6a1d97157f790604e07f6386e8df8fe4, < fd0909e963ed8f36967bd072ed484be7babe46de
Fixed in
  • fd0909e963ed8f36967bd072ed484be7babe46de
LinuxLinuxAffected
  • ≥ d3d854fd6a1d97157f790604e07f6386e8df8fe4, < adf47f2babc5f6e6536640f5fd20c11c51058399
Fixed in
  • adf47f2babc5f6e6536640f5fd20c11c51058399
LinuxLinuxAffected
  • ≥ d3d854fd6a1d97157f790604e07f6386e8df8fe4, < 85780eacecdbe095c1ba4f3659d2cdfcc69d5ca9
Fixed in
  • 85780eacecdbe095c1ba4f3659d2cdfcc69d5ca9
LinuxLinuxAffected
  • ≥ d3d854fd6a1d97157f790604e07f6386e8df8fe4, < 7af6433b10582713f762a3c04cb00355805033f7
Fixed in
  • 7af6433b10582713f762a3c04cb00355805033f7
LinuxLinuxAffected
  • =6.3
Fixed in–

Description

In the Linux kernel, the following vulnerability has been resolved: netdev-genl: ignore NETDEV_UNREGISTER rebroadcasts netdev_wait_allrefs_any() re-sends NETDEV_UNREGISTER every second while it waits for the last references on a device to be dropped. By then netdev_run_todo() has already marked the device NETREG_UNREGISTERED and RTNL has been dropped at least once since the initial notification sent by unregister_netdevice_many_notify(). netdev_genl_netdevice_event() does not tell these rebroadcasts apart from the initial notification and sends a NETDEV_CMD_DEV_DEL_NTF multicast for each of them. At best this spams NETDEV_NLGRP_MGMT listeners with duplicate notifications; at worst the pernet state of the netns the device belongs to is already gone and the handler dereferences a NULL pointer. default_device_exit_batch() only unregisters the devices still listed in the exiting netns; it does not wait for in-flight unregistrations of devices that were already unlisted (the barrier doing that was removed by commit 8a4fc54b07d7 ("net: get rid of rtnl_lock_unregistering()")). So when a device is unregistered by something other than the cleanup_net() of its own netns while references on it are still held, e.g. a veth whose peer in another netns gets deleted, and that netns exits while the device is stuck in netdev_wait_allrefs_any(), the remaining pernet exit handlers run and genl_pernet_exit() sets net->genl_sock to NULL. The next rebroadcast then crashes in genl_has_listeners(): BUG: KASAN: null-ptr-deref in netlink_has_listeners+0x3d/0x3f0 net/netlink/af_netlink.c:1388 Read of size 8 at addr 0000000000000578 by task syz.0.0/5325 Call Trace: <TASK> netlink_has_listeners+0x3d/0x3f0 net/netlink/af_netlink.c:1388 genl_has_listeners include/net/genetlink.h:644 [inline] netdev_genl_dev_notify+0x161/0x450 net/core/netdev-genl.c:93 netdev_genl_netdevice_event+0x98/0x3c0 net/core/netdev-genl.c:1491 notifier_call_chain+0x1a5/0x3d0 kernel/notifier.c:85 netdev_wait_allrefs_any net/core/dev.c:11690 [inline] netdev_run_todo+0x731/0x1060 net/core/dev.c:11808 rtnl_unlock net/core/rtnetlink.c:157 [inline] rtnl_dellink+0x68f/0x810 net/core/rtnetlink.c:3707 syzbot hit this by moving one end of a veth pair into a short-lived netns while netdevsim's deferred FIB event processing still held a reference on it, and then deleting the other end (repro [1]). While the source of this bug is netdevsim deferring FIB processing for and holding onto the device reference for O(seconds) which is being fixed separately [2], any driver may introduce such a delay and trigger the null-ptr-deref. Skip the rebroadcasts, which are the only NETDEV_UNREGISTER events delivered with reg_state == NETREG_UNREGISTERED. The notifications sent by unregister_netdevice_many_notify() and, for a device leaving a netns, by __dev_change_net_namespace() are issued under RTNL in the same critical section that unlists the device, before its netns can be torn down, and keep being handled. This mirrors what ip6_route_dev_notify() already does to cope with the rebroadcasts. This change should not break the UAPI spec as it defines dev-del-ntf as a "Notification about device disappearing." which is a single event. The rebroadcast in netdev_wait_allrefs_any() exists to re-kick in-kernel subsystems holding references; netdev-genl happens to be on the notifier chain and forwards it. [1] https://gist.github.com/NamanGulati/2d1b49b8757f9a88b0bd6e55018c02ae [2] https://lore.kernel.org/r/20261023191517.607834-1-kuniyu@google.com

References

Community reviews

Loading reviews…