Description
In the Linux kernel, the following vulnerability has been resolved:
Bluetooth: btmtk: avoid UAF in btmtk_process_coredump
hci_devcd_append may lead to the release of the skb, so it cannot be
accessed once it is called.
==================================================================
BUG: KASAN: slab-use-after-free in btmtk_process_coredump+0x2a7/0x2d0 [btmtk]
Read of size 4 at addr ffff888033cfabb0 by task kworker/0:3/82
CPU: 0 PID: 82 Comm: kworker/0:3 Tainted: G U 6.6.40-lockdep-03464-g1d8b4eb3060e #1 b0b3c1cc0c842735643fb411799d97921d1f688c
Hardware name: Google Yaviks_Ufs/Yaviks_Ufs, BIOS Google_Yaviks_Ufs.15217.552.0 05/07/2024
Workqueue: events btusb_rx_work [btusb]
Call Trace:
<TASK>
dump_stack_lvl+0xfd/0x150
print_report+0x131/0x780
kasan_report+0x177/0x1c0
btmtk_process_coredump+0x2a7/0x2d0 [btmtk 03edd567dd71a65958807c95a65db31d433e1d01]
btusb_recv_acl_mtk+0x11c/0x1a0 [btusb 675430d1e87c4f24d0c1f80efe600757a0f32bec]
btusb_rx_work+0x9e/0xe0 [btusb 675430d1e87c4f24d0c1f80efe600757a0f32bec]
worker_thread+0xe44/0x2cc0
kthread+0x2ff/0x3a0
ret_from_fork+0x51/0x80
ret_from_fork_asm+0x1b/0x30
</TASK>
Allocated by task 82:
stack_trace_save+0xdc/0x190
kasan_set_track+0x4e/0x80
__kasan_slab_alloc+0x4e/0x60
kmem_cache_alloc+0x19f/0x360
skb_clone+0x132/0xf70
btusb_recv_acl_mtk+0x104/0x1a0 [btusb]
btusb_rx_work+0x9e/0xe0 [btusb]
worker_thread+0xe44/0x2cc0
kthread+0x2ff/0x3a0
ret_from_fork+0x51/0x80
ret_from_fork_asm+0x1b/0x30
Freed by task 1733:
stack_trace_save+0xdc/0x190
kasan_set_track+0x4e/0x80
kasan_save_free_info+0x28/0xb0
____kasan_slab_free+0xfd/0x170
kmem_cache_free+0x183/0x3f0
hci_devcd_rx+0x91a/0x2060 [bluetooth]
worker_thread+0xe44/0x2cc0
kthread+0x2ff/0x3a0
ret_from_fork+0x51/0x80
ret_from_fork_asm+0x1b/0x30
The buggy address belongs to the object at ffff888033cfab40
which belongs to the cache skbuff_head_cache of size 232
The buggy address is located 112 bytes inside of
freed 232-byte region [ffff888033cfab40, ffff888033cfac28)
The buggy address belongs to the physical page:
page:00000000a174ba93 refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x33cfa
head:00000000a174ba93 order:1 entire_mapcount:0 nr_pages_mapped:0 pincount:0
anon flags: 0x4000000000000840(slab|head|zone=1)
page_type: 0xffffffff()
raw: 4000000000000840 ffff888100848a00 0000000000000000 0000000000000001
raw: 0000000000000000 0000000080190019 00000001ffffffff 0000000000000000
page dumped because: kasan: bad access detected
Memory state around the buggy address:
ffff888033cfaa80: fb fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc
ffff888033cfab00: fc fc fc fc fc fc fc fc fa fb fb fb fb fb fb fb
>ffff888033cfab80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
^
ffff888033cfac00: fb fb fb fb fb fc fc fc fc fc fc fc fc fc fc fc
ffff888033cfac80: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb
==================================================================
Check if we need to call hci_devcd_complete before calling
hci_devcd_append. That requires that we check data->cd_info.cnt >=
MTK_COREDUMP_NUM instead of data->cd_info.cnt > MTK_COREDUMP_NUM, as we
increment data->cd_info.cnt only once the call to hci_devcd_append
succeeds.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Linux | Linux | 6.6 | 6.6.67 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | linux | 6.12.6-1 | — |
| Debian 13 | linux | 6.12.6-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | linux | 6.8.0-59.61 | USN-7492-1 |
| Ubuntu 24.04 LTS | linux-aws | 6.8.0-1028.30 | USN-7492-1 |
| Ubuntu 24.04 LTS | linux-azure | 6.8.0-1028.33 | USN-7500-1 |
| Ubuntu 24.04 LTS | linux-azure-6.11 | 6.11.0-1012.12~24.04.1 | — |
| Ubuntu 24.04 LTS | linux-azure-nvidia | 6.8.0-1016.17 | USN-7522-1 |
| Ubuntu 24.04 LTS | linux-gcp | 6.8.0-1029.31 | USN-7492-1 |
| Ubuntu 24.04 LTS | linux-gcp-6.11 | 6.11.0-1011.11~24.04.1 | — |
| Ubuntu 24.04 LTS | linux-gke | 6.8.0-1024.28 | USN-7492-1 |
| Ubuntu 24.04 LTS | linux-gkeop | 6.8.0-1011.13 | USN-7492-1 |
| Ubuntu 24.04 LTS | linux-hwe-6.11 | 6.11.0-21.21~24.04.1 | USN-7379-1 |
| Ubuntu 24.04 LTS | linux-ibm | 6.8.0-1025.25 | USN-7492-1 |
| Ubuntu 24.04 LTS | linux-lowlatency-hwe-6.11 | 6.11.0-1011.12~24.04.1 | USN-7381-1 |
| Ubuntu 24.04 LTS | linux-nvidia | 6.8.0-1027.30 | USN-7492-1 |
| Ubuntu 24.04 LTS | linux-nvidia-6.11 | 6.11.0-1007.7 | — |
| Ubuntu 24.04 LTS | linux-nvidia-lowlatency | 6.8.0-1027.30.1 | USN-7492-1 |
| Ubuntu 24.04 LTS | linux-nvidia-tegra | 6.8.0-1008.8 | — |
| Ubuntu 24.04 LTS | linux-oem-6.11 | 6.11.0-1017.17 | USN-7382-1 |
| Ubuntu 24.04 LTS | linux-oem-6.8 | 6.8.0-1027.27 | USN-7492-1 |
| Ubuntu 24.04 LTS | linux-oracle | 6.8.0-1025.26 | USN-7492-1 |
| Ubuntu 24.04 LTS | linux-raspi | 6.8.0-1028.32 | USN-7524-1 |
| Ubuntu 24.04 LTS | linux-realtime +1 | No fix yet | — |
| Ubuntu 24.04 LTS | linux-riscv +1 | 6.8.0-59.61.1 | USN-7492-1 |
| Ubuntu 24.04 LTS | linux-xilinx | 6.8.0-1017.18 | — |
| Ubuntu 22.04 LTS | linux-aws-6.8 | 6.8.0-1028.30~22.04.1 | USN-7492-1 |
| Ubuntu 22.04 LTS | linux-azure-6.8 | 6.8.0-1028.33~22.04.1 | USN-7500-2 |
| Ubuntu 22.04 LTS | linux-gcp-6.8 | 6.8.0-1029.31~22.04.1 | USN-7492-1 |
| Ubuntu 22.04 LTS | linux-hwe-6.8 | 6.8.0-59.61~22.04.1 | USN-7492-1 |
| Ubuntu 22.04 LTS | linux-ibm-6.8 | 6.8.0-1025.25~22.04.1 | — |
| Ubuntu 22.04 LTS | linux-nvidia-6.8 | 6.8.0-1027.30~22.04.1 | USN-7492-1 |
| Ubuntu 22.04 LTS | linux-oracle-6.8 | 6.8.0-1025.26~22.04.1 | USN-7492-1 |
| Ubuntu 22.04 LTS | linux-riscv +32 | No fix yet | — |
| Ubuntu 22.04 LTS | linux-riscv-6.8 +1 | 6.8.0-59.61.1~22.04.1 | USN-7492-1 |
| Ubuntu 20.04 LTS | linux-gke +28 | No fix yet | — |
| Ubuntu 18.04 LTS | linux-gcp +14 | No fix yet | — |
| Ubuntu 16.04 LTS | linux-hwe-edge | No fix yet | — |
Show 8 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro Realtime 24.04 LTS | linux-raspi-realtime | 6.8.0-2023.24 | USN-7523-1 |
| Ubuntu Pro Realtime 24.04 LTS | linux-realtime | 6.8.1-1021.22 | USN-7492-2 |
| Ubuntu Pro Realtime 22.04 LTS | linux-realtime-6.8 | 6.8.1-1021.22~22.04.1 | — |
| Ubuntu Pro FIPS-updates 24.04 LTS | linux-fips | 6.8.0-78.78+fips1 | — |
| Ubuntu Pro 24.04 LTS | linux | 6.8.0-59.61 | LSN-0112-1 |
| Ubuntu Pro 24.04 LTS | linux-aws | 6.8.0-1028.30 | LSN-0112-1 |
| Ubuntu Pro 24.04 LTS | linux-azure | 6.8.0-1028.33 | LSN-0112-1 |
| Ubuntu Pro 24.04 LTS | linux-gcp | 6.8.0-1029.31 | LSN-0112-1 |
| Ubuntu Pro 24.04 LTS | linux-ibm | 6.8.0-1025.25 | LSN-0112-1 |
| Ubuntu Pro 24.04 LTS | linux-oracle | 6.8.0-1025.26 | LSN-0112-1 |
| Ubuntu Pro 22.04 LTS | linux | 5.15.0-141.151 | LSN-0112-1 |
| Ubuntu Pro 22.04 LTS | linux-aws | 5.15.0-1085.92 | LSN-0112-1 |
| Ubuntu Pro 22.04 LTS | linux-azure | 5.15.0-1090.99 | LSN-0112-1 |
| Ubuntu Pro 22.04 LTS | linux-gcp | 5.15.0-1084.93 | LSN-0112-1 |
| Ubuntu Pro 22.04 LTS | linux-gke +1 | 5.15.0-1082.88 | LSN-0112-1 |
| Ubuntu Pro 22.04 LTS | linux-ibm | 5.15.0-1077.80 | LSN-0112-1 |
| Ubuntu Pro 20.04 LTS | linux | 5.4.0-218.238 | LSN-0112-1 |
| Ubuntu Pro 20.04 LTS | linux-aws | 5.4.0-1147.157 | LSN-0112-1 |
| Ubuntu Pro 20.04 LTS | linux-aws-5.15 | 5.15.0-1086.93~20.04.1 | LSN-0112-1 |
| Ubuntu Pro 20.04 LTS | linux-azure | 5.4.0-1152.159 | LSN-0112-1 |
| Ubuntu Pro 20.04 LTS | linux-azure-5.15 | 5.15.0-1091.100~20.04.1 | LSN-0112-1 |
| Ubuntu Pro 20.04 LTS | linux-gcp | 5.4.0-1150.159 | LSN-0112-1 |
| Ubuntu Pro 20.04 LTS | linux-gcp-5.15 | 5.15.0-1085.94~20.04.1 | LSN-0112-1 |
| Ubuntu Pro 20.04 LTS | linux-gkeop | 5.4.0-1037.38 | LSN-0112-1 |
| Ubuntu Pro 20.04 LTS | linux-hwe-5.15 +1 | 5.15.0-142.152~20.04.1 | LSN-0112-1 |
| Ubuntu Pro 20.04 LTS | linux-ibm | 5.4.0-1093.98 | LSN-0112-1 |
| Ubuntu Pro 20.04 LTS | linux-ibm-5.15 | 5.15.0-1078.81~20.04.1 | LSN-0112-1 |
| Ubuntu Pro 20.04 LTS | linux-oracle | 5.4.0-1145.155 | LSN-0112-1 |
| Ubuntu Pro 20.04 LTS | linux-oracle-5.15 | 5.15.0-1083.89~20.04.1 | LSN-0112-1 |
| Ubuntu Pro 18.04 LTS | linux | 4.15.0-247.259 | LSN-0112-1 |
| Ubuntu Pro 18.04 LTS | linux-aws | 4.15.0-1189.202 | LSN-0112-1 |
| Ubuntu Pro 18.04 LTS | linux-azure-4.15 | 4.15.0-1197.212 | LSN-0112-1 |
| Ubuntu Pro 18.04 LTS | linux-gcp-4.15 | 4.15.0-1182.199 | LSN-0112-1 |
| Ubuntu Pro 18.04 LTS | linux-hwe-5.4 | 5.4.0-218.238~18.04.1 | LSN-0112-1 |
| Ubuntu Pro 18.04 LTS | linux-oracle | 4.15.0-1151.162 | LSN-0112-1 |
| Ubuntu Pro 16.04 LTS | linux | 4.4.0-278.312 | LSN-0112-1 |
| Ubuntu Pro 16.04 LTS | linux-aws | 4.4.0-1190.205 | LSN-0112-1 |
| Ubuntu Pro 16.04 LTS | linux-aws-hwe | 4.15.0-1189.202~16.04.1 | LSN-0112-1 |
| Ubuntu Pro 16.04 LTS | linux-azure | 4.15.0-1197.212~16.04.1 | LSN-0112-1 |
| Ubuntu Pro 16.04 LTS | linux-gcp | 4.15.0-1182.199~16.04.1 | LSN-0112-1 |
| Ubuntu Pro 16.04 LTS | linux-hwe | 4.15.0-247.259~16.04.1 | LSN-0112-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9 | rv +77 | 5.14.0-570.12.1.el9_6 | RHSA-2025:6966 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | kernel | 6.6.76.1-1 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 9 | bpftool | 7.5.0-802.el9_6 | ELSA-2025-6966 |
| Oracle Linux 9 | kernel-uek +34 | 6.12.0-101.33.4.3.el10uek | ELSA-2025-20530, ELSA-2025-20480 |
| Oracle Linux 9 | rv +28 | 5.14.0-570.12.1.0.1.el9_6 | ELSA-2025-6966 |
Advisories 16
- RHSA-2025:6966 Red Hat Security Advisory: kernel security update Red Hat Security Advisories (RHSA) · Nov 13, 2026
- WID-SEC-2024-3762 Linux Kernel: Mehrere Schwachstellen ermöglichen Denial of Service BSI CERT-Bund (WID) · Nov 10, 2026
- USN-7524-1 linux-raspi vulnerabilities Ubuntu Security Notices (USN) · Nov 3, 2026
- USN-7523-1 linux-raspi-realtime vulnerabilities Ubuntu Security Notices (USN) · Nov 3, 2026
- USN-7522-1 linux-azure-nvidia vulnerabilities Ubuntu Security Notices (USN) · Oct 30, 2026
- USN-7379-1 linux, linux-aws, linux-azure, linux-gcp, linux-hwe-6.11, linux-oracle, linux-realtime vulnerabilities Ubuntu Security Notices (USN) · Oct 29, 2026
- USN-7382-1 linux-oem-6.11 vulnerabilities Ubuntu Security Notices (USN) · Oct 29, 2026
- USN-7500-2 linux-azure-6.8 vulnerabilities Ubuntu Security Notices (USN) · Aug 6, 2026
- USN-7500-1 linux-azure vulnerabilities Ubuntu Security Notices (USN) · Aug 6, 2026
- USN-7492-1 linux, linux-aws, linux-aws-6.8, linux-gcp, linux-gcp-6.8, linux-gke, linux-gkeop, linux-hwe-6.8, linux-ibm, linux-lowlatency, linux-lowlatency-hwe-6.8, linux-nvidia, linux-nvidia-6.8, linux-nvidia-lowlatency, linux-oem-6.8, linux-oracle, linux-oracle-6.8 vulnerability Ubuntu Security Notices (USN) · Aug 6, 2026
- USN-7492-2 linux-realtime vulnerability Ubuntu Security Notices (USN) · Aug 6, 2026
- LSN-0112-1 Kernel Live Patch Security Notice Ubuntu Security Notices (USN) · Jun 3, 2026
- USN-7381-1 linux-lowlatency-hwe-6.11 vulnerabilities Ubuntu Security Notices (USN) · Jun 3, 2026
- ELSA-2025-20530 Important: Unbreakable Enterprise kernel security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Aug 18, 2025
- ELSA-2025-20480 Important: Unbreakable Enterprise kernel security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Jul 17, 2025
- ELSA-2025-6966 Moderate: kernel security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · May 16, 2025