{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "5857d1dbae7d5bf4219efc39996ad002362a2951"
            },
            {
              "fixed": "49cfbd23f20a29a53ac407410b0959eb8673c757"
            },
            {
              "fixed": "e790719381d50db342dc1378310918500031a549"
            },
            {
              "fixed": "e5871d9c90120dd6966665a10ebfaf7171143afd"
            },
            {
              "fixed": "7b6680b21010caddd7733c789ecb0b1bc57e3f72"
            },
            {
              "fixed": "f2b313789153a30f69af6aac21e887b033b05532"
            },
            {
              "fixed": "ebbddce5db33966fb07af8b4dd15c06aeb6990ef"
            },
            {
              "fixed": "6c6341939a19a6834989ac0679b978f1cecd07e8"
            },
            {
              "fixed": "ebba800d140b580540ad55f670d943e4a7edaffd"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "4.3.0"
            },
            {
              "fixed": "5.10.275"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.0"
            },
            {
              "fixed": "5.15.226"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.16.0"
            },
            {
              "fixed": "6.1.193"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.2.0"
            },
            {
              "fixed": "6.6.163"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.119"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.65"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139375.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: 6lowpan: Drain RCU readers on registration failure\n\nA lowpan_btle_dev is embedded in its net_device allocation and must\nremain alive until readers of bt_6lowpan_devices have left their RCU\nsections. setup_netdev() publishes it before registration, but its\nerror path only unlinks it before calling free_netdev().\n\nIf a second controller's registration fails while multicast is sent\non an existing 6LoWPAN interface, send_mcast_pkt() can already have\nselected the new entry. It reads entry-\u003enetdev before checking which\ninterface owns it. An early failure, such as allocating the device's\nname node, leaves NETREG_UNINITIALIZED, so free_netdev() releases the\nstorage immediately.\n\nThe following ordering frees the selected entry before the reader\nloads its netdev field:\n\n  Adapter creation (controller B)       Multicast on controller A\n  setup_netdev()\n    list_add_rcu()\n                                       rcu_read_lock()\n                                       select B's entry\n    lowpan_register_netdev() fails\n    list_del_rcu()\n    free_netdev()\n                                       read entry-\u003enetdev\n                                       rcu_read_unlock()\n\nRemoving the list node does not wait for that reader, and\ndevices_lock does not serialize the multicast reader. The subsequent\nfield load is a use-after-free, reported by KASAN in bt_xmit().\n\nWait for an RCU grace period after dropping devices_lock and before\nfree_netdev(). This keeps the failed adapter allocated until traversals\nthat could have selected it complete. The callback is already sleepable,\nand the wait happens outside the list spinlock.\n\nKASAN report as below:\n\n    ==================================================================\n    BUG: KASAN: slab-use-after-free in bt_xmit+0x1d06/0x21e0\n    Read of size 8 at addr ffff88810ef45030 by task python3/556\n\n    Call Trace:\n     \u003cTASK\u003e\n     dump_stack_lvl+0x93/0xd0\n     print_report+0xce/0x630\n     ? bt_xmit+0x1d06/0x21e0\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? __virt_addr_valid+0x20d/0x410\n     ? bt_xmit+0x1d06/0x21e0\n     kasan_report+0xe0/0x110\n     ? bt_xmit+0x1d06/0x21e0\n     bt_xmit+0x1d06/0x21e0\n     ? __pfx_bt_xmit+0x10/0x10\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? lock_acquire+0x17b/0x2f0\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? lock_is_held_type+0x8f/0x100\n     ? dev_hard_start_xmit+0x187/0x660\n     ? __pfx_bt_xmit+0x10/0x10\n     dev_hard_start_xmit+0x187/0x660\n     sch_direct_xmit+0x153/0x850\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? __pfx_sch_direct_xmit+0x10/0x10\n     ? do_raw_spin_lock+0x130/0x270\n     ? __pfx_do_raw_spin_lock+0x10/0x10\n     ? lock_is_held_type+0x8f/0x100\n     __dev_queue_xmit+0x3111/0x3aa0\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? look_up_lock_class+0x59/0x130\n     ? register_lock_class+0x41/0x790\n     ? __pfx___dev_queue_xmit+0x10/0x10\n     ? __lock_acquire+0x466/0x2260\n     ? find_held_lock+0x2b/0x80\n     ? ___neigh_create+0x1690/0x2540\n     ? __local_bh_enable_ip+0xa6/0x120\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? lockdep_hardirqs_on_prepare+0xea/0x1a0\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? lock_acquire+0x17b/0x2f0\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? find_held_lock+0x2b/0x80\n     ? ip6_finish_output2+0x8be/0x1840\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? neigh_connected_output+0x39f/0x4e0\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     neigh_connected_output+0x33f/0x4e0\n     ip6_finish_output2+0x8be/0x1840\n     ip6_finish_output+0x424/0xd50\n     ip6_output+0x210/0x640\n     ? __pfx_ip6_mr_output+0x10/0x10\n     ip6_local_out+0x193/0x1c0\n     ip6_send_skb+0xfb/0x3e0\n     udp_v6_send_skb+0x6e1/0x1180\n     udpv6_sendmsg+0x1f9b/0x2a00\n     ? get_random_u32+0xaf/0x640\n     ? __pfx_udpv6_sendmsg+0x10/0x10\n     ? lock_release+0xc8/0x280\n     ? srso_alias_return_thunk+0x5/0xfbef5\n     ? lockdep_hardirqs_on_prepare+\n---truncated---",
  "id": "CVE-2026-139375",
  "modified": "2026-11-30T14:45:47.561408889Z",
  "published": "2026-11-30T13:34:10.573Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/49cfbd23f20a29a53ac407410b0959eb8673c757"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/6c6341939a19a6834989ac0679b978f1cecd07e8"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/7b6680b21010caddd7733c789ecb0b1bc57e3f72"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e5871d9c90120dd6966665a10ebfaf7171143afd"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/e790719381d50db342dc1378310918500031a549"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ebba800d140b580540ad55f670d943e4a7edaffd"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ebbddce5db33966fb07af8b4dd15c06aeb6990ef"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f2b313789153a30f69af6aac21e887b033b05532"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139375.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139375"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "Bluetooth: 6lowpan: Drain RCU readers on registration failure"
}