CVE-2026-139374
published high CVSS 3.1 · 7.0Bluetooth: btmtk: fix skb double free on ISO padding failure
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxceac1cb0259de682d78f5c784ef8e0b13022e9d9 to < fb3362324362432d0feec9c8e5129427ded8fc86 · ceac1cb0259de682d78f5c784ef8e0b13022e9d9 to < fa8d9844e40712fbc18d7d37c4d0faa4e2ade81c · ceac1cb0259de682d78f5c784ef8e0b13022e9d9 to < 5ec2ca44bf4925b48604aafa90ad153faf0ce45f · ceac1cb0259de682d78f5c784ef8e0b13022e9d9 to < 491d2212ea0f0f6a3abbd67729df0c6a3ec9c58a · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.11 (affected) · 0 to < 6.11 (unaffected · semver) · 6.12.119 through 6.12.* (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.0 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The double-freed skb is an ISO TX packet built locally by iso_sock_sendmsg() and sent via hci_send_iso() -> hci_send_frame() -> btusb_send_frame_mtk() -> alloc_mtk_intr_urb() -> btmtk_isopkt_pad(). No remote peer supplies or reads the damaged data; the trigger is a local error path. That makes it local, not adjacent. AC:H - skb_pad() only fails, and frees the skb, when pskb_expand_head(GFP_ATOMIC) fails to allocate. That allocation is not memcg-accounted and runs from the hci_tx_work kworker, so the attacker can force the expand path with small SDUs but cannot make the allocation fail on demand. PR:L - iso_sock_create() has no capability check and bt_sock_create() only requires init_net. An unprivileged local user can open an ISO socket, connect() to BDADDR_ANY for a broadcast BIS, and send data once bluetoothd has enabled the ISO socket experimental feature. UI:N - The attacker drives the path entirely with their own ISO socket connect() and sendmsg() calls; no other user has to act. S:U - The double free corrupts kernel slab memory in the same kernel security authority that the attacker is attacking; no VM, IOMMU or sandbox boundary is crossed. C:H - __skb_pad() kfree_skb()s the skb, then hci_send_frame() calls kfree_skb() on it again. This double-frees both the sk_buff and its kmalloc'd head, and the resulting overlapping slab reallocations can be groomed to read kernel memory. I:H - A double free of the sk_buff and its data head can corrupt the SLUB freelist and hand the same object to two owners, which gives a write primitive usable to corrupt kernel objects and hijack control flow. A:H - A second kfree_skb() on an already-freed skb in hci_send_frame() triggers SLUB double-free detection (BUG) or later heap corruption, crashing the kernel.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | ceac1cb0259de682d78f5c784ef8e0b13022e9d9 to < fb3362324362432d0feec9c8e5129427ded8fc86 (affected · git)ceac1cb0259de682d78f5c784ef8e0b13022e9d9 to < fa8d9844e40712fbc18d7d37c4d0faa4e2ade81c (affected · git)ceac1cb0259de682d78f5c784ef8e0b13022e9d9 to < 5ec2ca44bf4925b48604aafa90ad153faf0ce45f (affected · git)ceac1cb0259de682d78f5c784ef8e0b13022e9d9 to < 491d2212ea0f0f6a3abbd67729df0c6a3ec9c58a (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.11 (affected)0 to < 6.11 (unaffected · semver)6.12.119 through 6.12.* (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
4Provider assertions
1Linux · cna
Bluetooth: btmtk: fix skb double free on ISO padding failure
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- b9993c83677d4bc5940c5dbe6b3338f7e83894934112dfa3d4cce1affff2efeb
- Ingested
- 01 Dec 2026, 05:47:22 UTC
- Source record
- Official CVE record