CVE-2026-139374: Bluetooth: btmtk: fix skb double free on ISO padding failure
Bluetooth: btmtk: fix skb double free on ISO padding failure
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.12.119 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 6.18.65 - Upgrade
Upgrade
linux/Kernelto a version that resolves this vulnerability.Fixed in 7.3.6 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 7.3.6-1 - Compensating control
In btmtk_isopkt_pad(), replace the skb_pad() plus __skb_put() sequence with __skb_put_padto(skb, MTK_ISO_THRESHOLD, false) so the skb remains caller-owned on padding failure and is not freed twice.
Event History
Frequently Asked Questions
What runtime condition triggers the double free?
The issue occurs when ISO packet padding fails in btmtk_isopkt_pad(). The failure is returned through alloc_mtk_intr_urb() and btusb_send_frame_mtk() to hci_send_frame(), which then frees an skb that skb_pad() has already freed.
What change resolves the ownership problem?
The fix replaces skb_pad() with __skb_put_padto(skb, MTK_ISO_THRESHOLD, false), leaving the skb owned by the caller when padding fails. It also replaces the prior open-coded skb_pad() and __skb_put() sequence.