Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9172AD53C for ; Thu, 3 Apr 2025 07:19:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743664771; cv=none; b=X92vfYkYbiPB8K37XO26G0vkJnqZd8p9CNUKxjptf8GQRcSYgXD6ixG8G1GAX15lwkcTr/Alec78JbhSlfvXusBCJM2OaYP76SEA5VWF1P9lq9ksExwKoGJm0VDD8RIVrAK0efPIlPjPYEShqMSfmilWm4JqLjCSKgwL3ji8DyE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743664771; c=relaxed/simple; bh=rkDRw1017VOSJdnQ4oRwkMazM2ck/SmxVrawNhGn23M=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Zf7hgyxYFv7vamCBo2143YvlPrzelwUkef0t4k/Uz4cArb9NQpoFRa638lw6xIscrLc/eo6m2VDO976NjIVd+7ESake0accBABSeau8zID6vK8kAkH9oDVqr7k5D1G+rRQJ23FicwgdPLt+hv033zUcCB/0WTYlqUq0TPvQ0cec= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=W5Gt5GJz; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="W5Gt5GJz" Received: by smtp.kernel.org (Postfix) with ESMTPSA id AD5CCC4CEE8; Thu, 3 Apr 2025 07:19:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1743664771; bh=rkDRw1017VOSJdnQ4oRwkMazM2ck/SmxVrawNhGn23M=; h=From:To:Cc:Subject:Date:Reply-to:From; b=W5Gt5GJzTEFmjwCLEzaDrC63a8TvcOHMMZ+N+YsiOt/9eeS1Zx0XwHw1GoOrq/6Yg 3ioV/bB5sa2A4THzdZ2No9vCstaoneIpQ6SKTpE/L+gYdicioDa57NQv9CcOuqjgYh OFKXThz8PjVE/Kk0Wmq/j1tboWYrfPHrxQI+Zelg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-22007: Bluetooth: Fix error code in chan_alloc_skb_cb() Date: Thu, 3 Apr 2025 08:17:59 +0100 Message-ID: <2025040350-CVE-2025-22007-40b3@gregkh> X-Mailer: git-send-email 2.49.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2570; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=rkDRw1017VOSJdnQ4oRwkMazM2ck/SmxVrawNhGn23M=; b=owGbwMvMwCRo6H6F97bub03G02pJDOnvzOTYNcv35E6bnCAiM3N/xIGy+ZHvmi9aZp3m2hrX3 fdIo6y7I5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACbS0sUwV1xUUFh5MSe3Hl/E Lo3AB09cvHp/MCxoeM+4K1wn+pg8//zJPMZu09s6z3gBAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit 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 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/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