# CVE-2026-139375: Bluetooth: 6lowpan: Drain RCU readers on registration failure

- Severity: High 7.5 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 26% of CVEs (2026-12-01)
- Published: 2026-11-30T13:34:10.573Z
- Modified: 2026-12-01T06:17:44.647Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

Bluetooth: 6lowpan: Drain RCU readers on registration failure

A lowpan_btle_dev is embedded in its net_device allocation and must
remain alive until readers of bt_6lowpan_devices have left their RCU
sections. setup_netdev() publishes it before registration, but its
error path only unlinks it before calling free_netdev().

If a second controller's registration fails while multicast is sent
on an existing 6LoWPAN interface, send_mcast_pkt() can already have
selected the new entry. It reads entry->netdev before checking which
interface owns it. An early failure, such as allocating the device's
name node, leaves NETREG_UNINITIALIZED, so free_netdev() releases the
storage immediately.

The following ordering frees the selected entry before the reader
loads its netdev field:

  Adapter creation (controller B)       Multicast on controller A
  setup_netdev()
    list_add_rcu()
                                       rcu_read_lock()
                                       select B's entry
    lowpan_register_netdev() fails
    list_del_rcu()
    free_netdev()
                                       read entry->netdev
                                       rcu_read_unlock()

Removing the list node does not wait for that reader, and
devices_lock does not serialize the multicast reader. The subsequent
field load is a use-after-free, reported by KASAN in bt_xmit().

Wait for an RCU grace period after dropping devices_lock and before
free_netdev(). This keeps the failed adapter allocated until traversals
that could have selected it complete. The callback is already sleepable,
and the wait happens outside the list spinlock.

KASAN report as below:

    ==================================================================
    BUG: KASAN: slab-use-after-free in bt_xmit+0x1d06/0x21e0
    Read of size 8 at addr ffff88810ef45030 by task python3/556

    Call Trace:
     <TASK>
     dump_stack_lvl+0x93/0xd0
     print_report+0xce/0x630
     ? bt_xmit+0x1d06/0x21e0
     ? srso_alias_return_thunk+0x5/0xfbef5
     ? __virt_addr_valid+0x20d/0x410
     ? bt_xmit+0x1d06/0x21e0
     kasan_report+0xe0/0x110
     ? bt_xmit+0x1d06/0x21e0
     bt_xmit+0x1d06/0x21e0
     ? __pfx_bt_xmit+0x10/0x10
     ? srso_alias_return_thunk+0x5/0xfbef5
     ? lock_acquire+0x17b/0x2f0
     ? srso_alias_return_thunk+0x5/0xfbef5
     ? lock_is_held_type+0x8f/0x100
     ? dev_hard_start_xmit+0x187/0x660
     ? __pfx_bt_xmit+0x10/0x10
     dev_hard_start_xmit+0x187/0x660
     sch_direct_xmit+0x153/0x850
     ? srso_alias_return_thunk+0x5/0xfbef5
     ? __pfx_sch_direct_xmit+0x10/0x10
     ? do_raw_spin_lock+0x130/0x270
     ? __pfx_do_raw_spin_lock+0x10/0x10
     ? lock_is_held_type+0x8f/0x100
     __dev_queue_xmit+0x3111/0x3aa0
     ? srso_alias_return_thunk+0x5/0xfbef5
     ? look_up_lock_class+0x59/0x130
     ? register_lock_class+0x41/0x790
     ? __pfx___dev_queue_xmit+0x10/0x10
     ? __lock_acquire+0x466/0x2260
     ? find_held_lock+0x2b/0x80
     ? ___neigh_create+0x1690/0x2540
     ? __local_bh_enable_ip+0xa6/0x120
     ? srso_alias_return_thunk+0x5/0xfbef5
     ? lockdep_hardirqs_on_prepare+0xea/0x1a0
     ? srso_alias_return_thunk+0x5/0xfbef5
     ? lock_acquire+0x17b/0x2f0
     ? srso_alias_return_thunk+0x5/0xfbef5
     ? find_held_lock+0x2b/0x80
     ? ip6_finish_output2+0x8be/0x1840
     ? srso_alias_return_thunk+0x5/0xfbef5
     ? neigh_connected_output+0x39f/0x4e0
     ? srso_alias_return_thunk+0x5/0xfbef5
     neigh_connected_output+0x33f/0x4e0
     ip6_finish_output2+0x8be/0x1840
     ip6_finish_output+0x424/0xd50
     ip6_output+0x210/0x640
     ? __pfx_ip6_mr_output+0x10/0x10
     ip6_local_out+0x193/0x1c0
     ip6_send_skb+0xfb/0x3e0
     udp_v6_send_skb+0x6e1/0x1180
     udpv6_sendmsg+0x1f9b/0x2a00
     ? get_random_u32+0xaf/0x640
     ? __pfx_udpv6_sendmsg+0x10/0x10
     ? lock_release+0xc8/0x280
     ? srso_alias_return_thunk+0x5/0xfbef5
     ? lockdep_hardirqs_on_prepare+
---truncated---

(As written by CVE List.)

## Affected

- Linux Linux: from 5857d1dbae7d5bf4219efc39996ad002362a2951 before 49cfbd23f20a29a53ac407410b0959eb8673c757; from 5857d1dbae7d5bf4219efc39996ad002362a2951 before e790719381d50db342dc1378310918500031a549; from 5857d1dbae7d5bf4219efc39996ad002362a2951 before e5871d9c90120dd6966665a10ebfaf7171143afd; from 5857d1dbae7d5bf4219efc39996ad002362a2951 before 7b6680b21010caddd7733c789ecb0b1bc57e3f72; from 5857d1dbae7d5bf4219efc39996ad002362a2951 before f2b313789153a30f69af6aac21e887b033b05532; from 5857d1dbae7d5bf4219efc39996ad002362a2951 before ebbddce5db33966fb07af8b4dd15c06aeb6990ef; from 5857d1dbae7d5bf4219efc39996ad002362a2951 before 6c6341939a19a6834989ac0679b978f1cecd07e8; from 5857d1dbae7d5bf4219efc39996ad002362a2951 before ebba800d140b580540ad55f670d943e4a7edaffd; 4.3 (not affected: before 4.3; from 5.10.275 up to 5.10.*; from 5.15.226 up to 5.15.*; from 6.1.193 up to 6.1.*; from 6.6.163 up to 6.6.*; from 6.12.119 up to 6.12.*; from 6.18.65 up to 6.18.*; from 7.3.6 up to 7.3.*; from 7.4-rc1 up to *)

## References

- <https://git.kernel.org/stable/c/49cfbd23f20a29a53ac407410b0959eb8673c757>
- <https://git.kernel.org/stable/c/e790719381d50db342dc1378310918500031a549>
- <https://git.kernel.org/stable/c/e5871d9c90120dd6966665a10ebfaf7171143afd>
- <https://git.kernel.org/stable/c/7b6680b21010caddd7733c789ecb0b1bc57e3f72>
- <https://git.kernel.org/stable/c/f2b313789153a30f69af6aac21e887b033b05532>
- <https://git.kernel.org/stable/c/ebbddce5db33966fb07af8b4dd15c06aeb6990ef>
- <https://git.kernel.org/stable/c/6c6341939a19a6834989ac0679b978f1cecd07e8>
- <https://git.kernel.org/stable/c/ebba800d140b580540ad55f670d943e4a7edaffd>

## Sources

- CVE List: [CVE-2026-139375](https://www.cve.org/CVERecord?id=CVE-2026-139375), CVE Terms of Use, modified 2026-12-01
- NVD: [CVE-2026-139375](https://nvd.nist.gov/vuln/detail/CVE-2026-139375), Public domain, modified 2026-12-01

---

Page: https://cve.day/CVE-2026-139375 · Whole record: https://cve.day/CVE-2026-139375.json · Rebuilt by cve.day 2026-12-01T06:32:20.853Z
