| From bippy-7c5fe7eed585 Mon Sep 17 00:00:00 2001 |
| From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
| To: <linux-cve-announce@vger.kernel.org> |
| Reply-to: <cve@kernel.org>, <linux-kernel@vger.kernel.org> |
| Subject: CVE-2025-22007: Bluetooth: Fix error code in chan_alloc_skb_cb() |
| |
| Description |
| =========== |
| |
| In the Linux kernel, the following vulnerability has been resolved: |
| |
| Bluetooth: Fix error code in chan_alloc_skb_cb() |
| |
| The chan_alloc_skb_cb() function is supposed to return error pointers on |
| error. Returning NULL will lead to a NULL dereference. |
| |
| The Linux kernel CVE team has assigned CVE-2025-22007 to this issue. |
| |
| |
| Affected and fixed versions |
| =========================== |
| |
| Issue introduced in 3.17 with commit 6b8d4a6a03144c5996f98db7f8256267b0d72a3a and fixed in 5.4.292 with commit b3d607e36fef4bd05fb938a8a868ff70e9fedbe2 |
| Issue introduced in 3.17 with commit 6b8d4a6a03144c5996f98db7f8256267b0d72a3a and fixed in 5.10.236 with commit 1bd68db7beb426ab5a45d81516ed9611284affc8 |
| Issue introduced in 3.17 with commit 6b8d4a6a03144c5996f98db7f8256267b0d72a3a and fixed in 5.15.180 with commit 76304cba8cba12bb10d89d016c28403a2dd89a29 |
| Issue introduced in 3.17 with commit 6b8d4a6a03144c5996f98db7f8256267b0d72a3a and fixed in 6.1.132 with commit 788ae2ae4cf484e248b5bc29211c7ac6510e3e92 |
| Issue introduced in 3.17 with commit 6b8d4a6a03144c5996f98db7f8256267b0d72a3a and fixed in 6.6.85 with commit ecd06ad0823a90b4420c377ef8917e44e23ee841 |
| Issue introduced in 3.17 with commit 6b8d4a6a03144c5996f98db7f8256267b0d72a3a and fixed in 6.12.21 with commit 761b7c36addd22c7e6ceb05caaadc3b062d99faa |
| Issue introduced in 3.17 with commit 6b8d4a6a03144c5996f98db7f8256267b0d72a3a and fixed in 6.13.9 with commit a78692ec0d1e17a96b09f2349a028878f5b305e4 |
| Issue introduced in 3.17 with commit 6b8d4a6a03144c5996f98db7f8256267b0d72a3a and fixed in 6.14 with commit 72d061ee630d0dbb45c2920d8d19b3861c413e54 |
| |
| Please see https://www.kernel.org for a full list of currently supported |
| kernel versions by the kernel community. |
| |
| Unaffected versions might change over time as fixes are backported to |
| older supported kernel versions. The official CVE entry at |
| https://cve.org/CVERecord/?id=CVE-2025-22007 |
| will be updated if fixes are backported, please check that for the most |
| up to date information about this issue. |
| |
| |
| Affected files |
| ============== |
| |
| The file(s) affected by this issue are: |
| net/bluetooth/6lowpan.c |
| |
| |
| Mitigation |
| ========== |
| |
| The Linux kernel CVE team recommends that you update to the latest |
| stable kernel version for this, and many other bugfixes. Individual |
| changes are never tested alone, but rather are part of a larger kernel |
| release. Cherry-picking individual commits is not recommended or |
| supported by the Linux kernel community at all. If however, updating to |
| the latest release is impossible, the individual changes to resolve this |
| issue can be found at these commits: |
| https://git.kernel.org/stable/c/b3d607e36fef4bd05fb938a8a868ff70e9fedbe2 |
| https://git.kernel.org/stable/c/1bd68db7beb426ab5a45d81516ed9611284affc8 |
| https://git.kernel.org/stable/c/76304cba8cba12bb10d89d016c28403a2dd89a29 |
| https://git.kernel.org/stable/c/788ae2ae4cf484e248b5bc29211c7ac6510e3e92 |
| https://git.kernel.org/stable/c/ecd06ad0823a90b4420c377ef8917e44e23ee841 |
| https://git.kernel.org/stable/c/761b7c36addd22c7e6ceb05caaadc3b062d99faa |
| https://git.kernel.org/stable/c/a78692ec0d1e17a96b09f2349a028878f5b305e4 |
| https://git.kernel.org/stable/c/72d061ee630d0dbb45c2920d8d19b3861c413e54 |