Security mailing lists by PureSourceCode

CVE-2026-139375

HIGH 7.5CVSS 3.1

Bluetooth: 6lowpan: Drain RCU readers on registration failure

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---

Published
30 Nov 2026
Last modified
1 Dec 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Received
Sources
NVDJSONCVE ListJSON

Scores

SourceScored byVersionScoreVector / decision
NVD 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List Linux Linux >= 5857d1dbae7d5bf4219efc39996ad002362a2951, < 49cfbd23f20a29a53ac407410b0959eb8673c757; >= 5857d1dbae7d5bf4219efc39996ad002362a2951, < e790719381d50db342dc1378310918500031a549; >= 5857d1dbae7d5bf4219efc39996ad002362a2951, < e5871d9c90120dd6966665a10ebfaf7171143afd; >= 5857d1dbae7d5bf4219efc39996ad002362a2951, < 7b6680b21010caddd7733c789ecb0b1bc57e3f72; >= 5857d1dbae7d5bf4219efc39996ad002362a2951, < f2b313789153a30f69af6aac21e887b033b05532; >= 5857d1dbae7d5bf4219efc39996ad002362a2951, < ebbddce5db33966fb07af8b4dd15c06aeb6990ef; >= 5857d1dbae7d5bf4219efc39996ad002362a2951, < 6c6341939a19a6834989ac0679b978f1cecd07e8; >= 5857d1dbae7d5bf4219efc39996ad002362a2951, < ebba800d140b580540ad55f670d943e4a7edaffd 49cfbd23f20a29a53ac407410b0959eb8673c757, e790719381d50db342dc1378310918500031a549, e5871d9c90120dd6966665a10ebfaf7171143afd, 7b6680b21010caddd7733c789ecb0b1bc57e3f72, f2b313789153a30f69af6aac21e887b033b05532, ebbddce5db33966fb07af8b4dd15c06aeb6990ef, 6c6341939a19a6834989ac0679b978f1cecd07e8, ebba800d140b580540ad55f670d943e4a7edaffd
CVE List Linux Linux = 4.3

References

History

  • 1 Dec 2026 06:48 UTC · NVD: scored 7.5
  • 30 Nov 2026 14:45 UTC · NVD: first stored (published 30 Nov 2026)
  • 30 Nov 2026 13:58 UTC · CVE List: first stored (published 30 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.