Bluetooth: btmtk: fix skb double free on ISO padding failure
- State
- Published
- Severity
- Not Scored
- Published
- Nov 30, 2026
- Updated
- Nov 30, 2026
- Reserved
- Nov 30, 2026
Description
In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: btmtk: fix skb double free on ISO padding failure
btmtk_isopkt_pad() uses skb_pad(), which frees the skb on failure.
The error is propagated by alloc_mtk_intr_urb() and btusb_send_frame_mtk() up to hci_send_frame(), which frees the skb a second time:
err = hdev->send(hdev, skb); if (err < 0) { bt_dev_err(hdev, "sending frame failed (%d)", err); kfree_skb(skb); return err; }
Use __skb_put_padto(skb, MTK_ISO_THRESHOLD, false) so that the skb is left to the caller on error. This also replaces the open-coded skb_pad() + __skb_put() sequence.
| Product | Versions |
|---|---|
| Linux Linux | ceac1cb0259de682d78f5c784ef8e0b13022e9d9 to before fb3362324362432d0feec9c8e5129427ded8fc86 Affectedceac1cb0259de682d78f5c784ef8e0b13022e9d9 to before fa8d9844e40712fbc18d7d37c4d0faa4e2ade81c Affectedceac1cb0259de682d78f5c784ef8e0b13022e9d9 to before 5ec2ca44bf4925b48604aafa90ad153faf0ce45f Affectedceac1cb0259de682d78f5c784ef8e0b13022e9d9 to before 491d2212ea0f0f6a3abbd67729df0c6a3ec9c58a Affected |
| Linux Linux | 6.11 Affectedbefore 6.11 Not Affected6.12.119 through 6.12.* Not Affected6.18.65 through 6.18.* Not Affected7.3.6 through 7.3.* Not Affected7.4-rc1 and later Not Affected |
The record has no CVSS score.
Weaknesses
The record names no weakness.
References
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.