Re: [PATCH 0/2] Bluetooth: 6lowpan: fix netdev teardown UAF and registration rollback GPF
From: patchwork-bot+bluetooth
Date: Fri Dec 04 2026 - 11:20:12 EST
Hello:
This series was applied to bluetooth/bluetooth-next.git (master)
by Luiz Augusto von Dentz <luiz.von.dentz@xxxxxxxxx>:
On Mon, 30 Nov 2026 18:28:52 +0800 you wrote:
> This 2-patch series fixes two lifetime bugs in Bluetooth 6LoWPAN
> (net/bluetooth/6lowpan.c) discovered by static call-chain audit and
> reproduced live under QEMU (x86_64, KASAN + LOCKDEP, 4 vCPUs) using only
> mainline hci_vhci (/dev/vhci) with zero kernel modifications:
>
> 1. Patch 1 fixes a double list_del_rcu() general protection fault in
> setup_netdev(): publishing (*dev)->list on bt_6lowpan_devices before
> lowpan_register_netdev() causes device_event(NETDEV_UNREGISTER) to
> unlink the entry on rollback (for example after an addrconf_notify /
> snmp6_register_dev failure), after which setup_netdev()'s error path
> calls list_del_rcu() a second time and faults on LIST_POISON2
> (0xdead000000000122).
>
> [...]
Here is the summary with links:
- [1/2] Bluetooth: 6lowpan: publish netdev after registration in setup_netdev()
https://git.kernel.org/bluetooth/bluetooth-next/c/ebdf7346596b
- [2/2] Bluetooth: 6lowpan: unlink closing device and protect RCU lookups
https://git.kernel.org/bluetooth/bluetooth-next/c/b8897792d795
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html