CVE-2024-50255
published medium CVSS 3.1 · 5.5Bluetooth: hci: fix null-ptr-deref in hci_read_supported_codecs
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxabfeea476c68afea54c9c050a2d3b19d5d2ee873 to < 5d9054b9f769a8e124c4fa02072437c864726baf · abfeea476c68afea54c9c050a2d3b19d5d2ee873 to < 1f1764466c33a4466363b821a25cd65c46a5a793 · abfeea476c68afea54c9c050a2d3b19d5d2ee873 to < 48d7c24b7ef6417c68f206566364db1f8087bb23 · abfeea476c68afea54c9c050a2d3b19d5d2ee873 to < 1e67d8641813f1876a42eeb4f532487b8a7fb0a8 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.17 (affected) · 0 to < 5.17 (unaffected · semver) · 6.1.116 through 6.1.* (unaffected · semver) · 6.6.60 through 6.6.* (unaffected · semver) · 6.11.7 through 6.11.* (unaffected · semver) · 6.12 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 |
| AlmaLinux | 9 | bpftool | Advisory build | 7.4.0-503.19.1.el9_5 | ALSA-2024:11486 |
| Debian | bookworm | linux | Advisory build | 6.1.119-1 | DSA-5818-1 |
| Oracle Linux | 9 | bpftoolaarch64 | Advisory build | 0:7.4.0-503.19.1.el9_5 | ELSA-2024-11486 |
| AlmaLinux | 9 | kernel | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 9 | kernel-64k | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-64k-core | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-64k-debug | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-64k-debug-core | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-64k-debug-devel | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-64k-debug-devel-matched | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-64k-debug-modules | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-64k-debug-modules-core | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-64k-debug-modules-extra | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-64k-devel | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-64k-devel-matched | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-64k-modules | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-64k-modules-core | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-64k-modules-extra | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-abi-stablelists | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-core | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-cross-headers | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-debug | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-debug-core | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-debug-devel | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-debug-devel-matched | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-debug-modules | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-debug-modules-core | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-debug-modules-extra | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-debug-uki-virt | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-devel | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-devel-matched | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-doc | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-headers | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-modules | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-modules-core | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-modules-extra | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-rt | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-rt-core | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-rt-debug | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-rt-debug-core | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-rt-debug-devel | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-rt-debug-modules | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-rt-debug-modules-core | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-rt-debug-modules-extra | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-rt-devel | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-rt-modules | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-rt-modules-core | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-rt-modules-extra | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-tools | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-tools-libs | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-tools-libs-devel | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-uki-virt | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-uki-virt-addons | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-zfcpdump | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-zfcpdump-core | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-zfcpdump-devel | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-zfcpdump-devel-matched | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-zfcpdump-modules | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-core | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-extra | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | libperf | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | perf | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | python3-perf | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | rtla | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| AlmaLinux | 9 | rv | Advisory build | 5.14.0-503.19.1.el9_5 | ALSA-2024:11486 |
| Debian | bullseye | linux-6.1 | Advisory build | 6.1.119-1~deb11u1 | DLA-4008-1 |
| Oracle Linux | 9 | bpftoolx86_64 | Advisory build | 0:7.4.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernelx86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-abi-stablelistsx86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-corex86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-cross-headersaarch64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-cross-headersx86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-debugx86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-debug-corex86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-debug-develx86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-debug-devel-matchedx86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-debug-modulesx86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-debug-modules-corex86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-debug-modules-extrax86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-debug-uki-virtx86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-develx86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-devel-matchedx86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-docx86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-headersaarch64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-headersx86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-modulesx86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-modules-corex86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-modules-extrax86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-toolsaarch64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-toolsx86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-tools-libsaarch64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-tools-libsx86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-tools-libs-develaarch64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-tools-libs-develx86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-uki-virtx86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | kernel-uki-virt-addonsx86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | libperfx86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | perfaarch64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | perfx86_64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
| Oracle Linux | 9 | python3-perfaarch64 | Advisory build | 0:5.14.0-503.19.1.el9_5 | ELSA-2024-11486 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci: fix null-ptr-deref in hci_read_supported_codecs Fix __hci_cmd_sync_sk() to return not NULL for unknown opcodes. __hci_cmd_sync_sk() returns NULL if a command returns a status event. However, it also returns NULL where an opcode doesn't exist in the hci_cc table because hci_cmd_complete_evt() assumes status = skb->data[0] for unknown opcodes. This leads to null-ptr-deref in cmd_sync for HCI_OP_READ_LOCAL_CODECS as there is no hci_cc for HCI_OP_READ_LOCAL_CODECS, which always assumes status = skb->data[0]. KASAN: null-ptr-deref in range [0x0000000000000070-0x0000000000000077] CPU: 1 PID: 2000 Comm: kworker/u9:5 Not tainted 6.9.0-ga6bcb805883c-dirty #10 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.15.0-1 04/01/2014 Workqueue: hci7 hci_power_on RIP: 0010:hci_read_supported_codecs+0xb9/0x870 net/bluetooth/hci_codec.c:138 Code: 08 48 89 ef e8 b8 c1 8f fd 48 8b 75 00 e9 96 00 00 00 49 89 c6 48 ba 00 00 00 00 00 fc ff df 4c 8d 60 70 4c 89 e3 48 c1 eb 03 <0f> b6 04 13 84 c0 0f 85 82 06 00 00 41 83 3c 24 02 77 0a e8 bf 78 RSP: 0018:ffff888120bafac8 EFLAGS: 00010212 RAX: 0000000000000000 RBX: 000000000000000e RCX: ffff8881173f0040 RDX: dffffc0000000000 RSI: ffffffffa58496c0 RDI: ffff88810b9ad1e4 RBP: ffff88810b9ac000 R08: ffffffffa77882a7 R09: 1ffffffff4ef1054 R10: dffffc0000000000 R11: fffffbfff4ef1055 R12: 0000000000000070 R13: 0000000000000000 R14: 0000000000000000 R15: ffff88810b9ac000 FS: 0000000000000000(0000) GS:ffff8881f6c00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f6ddaa3439e CR3: 0000000139764003 CR4: 0000000000770ef0 PKRU: 55555554 Call Trace: <TASK> hci_read_local_codecs_sync net/bluetooth/hci_sync.c:4546 [inline] hci_init_stage_sync net/bluetooth/hci_sync.c:3441 [inline] hci_init4_sync net/bluetooth/hci_sync.c:4706 [inline] hci_init_sync net/bluetooth/hci_sync.c:4742 [inline] hci_dev_init_sync net/bluetooth/hci_sync.c:4912 [inline] hci_dev_open_sync+0x19a9/0x2d30 net/bluetooth/hci_sync.c:4994 hci_dev_do_open net/bluetooth/hci_core.c:483 [inline] hci_power_on+0x11e/0x560 net/bluetooth/hci_core.c:1015 process_one_work kernel/workqueue.c:3267 [inline] process_scheduled_works+0x8ef/0x14f0 kernel/workqueue.c:3348 worker_thread+0x91f/0xe50 kernel/workqueue.c:3429 kthread+0x2cb/0x360 kernel/kthread.c:388 ret_from_fork+0x4d/0x80 arch/x86/kernel/process.c:147 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.5 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | abfeea476c68afea54c9c050a2d3b19d5d2ee873 to < 5d9054b9f769a8e124c4fa02072437c864726baf (affected · git)abfeea476c68afea54c9c050a2d3b19d5d2ee873 to < 1f1764466c33a4466363b821a25cd65c46a5a793 (affected · git)abfeea476c68afea54c9c050a2d3b19d5d2ee873 to < 48d7c24b7ef6417c68f206566364db1f8087bb23 (affected · git)abfeea476c68afea54c9c050a2d3b19d5d2ee873 to < 1e67d8641813f1876a42eeb4f532487b8a7fb0a8 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.17 (affected)0 to < 5.17 (unaffected · semver)6.1.116 through 6.1.* (unaffected · semver)6.6.60 through 6.6.* (unaffected · semver)6.11.7 through 6.11.* (unaffected · semver)6.12 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-476 CWE-476 NULL Pointer Dereference
References
5- https://git.kernel.org/stable/c/1e67d8641813f1876a42eeb4f532487b8a7fb0a8
- https://git.kernel.org/stable/c/1f1764466c33a4466363b821a25cd65c46a5a793
- https://git.kernel.org/stable/c/48d7c24b7ef6417c68f206566364db1f8087bb23
- https://git.kernel.org/stable/c/5d9054b9f769a8e124c4fa02072437c864726baf
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html
Provider assertions
3Linux · cna
Bluetooth: hci: fix null-ptr-deref in hci_read_supported_codecs
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1685708922fc619e974c1857abbeb6f5298577fbb0ac869e6406d509a6fcd59c
- Ingested
- 23 Sep 2026, 08:29:52 UTC
- Source record
- Official CVE record