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 BD3E41AAA2F for ; Wed, 26 Feb 2025 01:59:38 +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=1740535178; cv=none; b=Xv8uMgp0d1BLT7IvwgmgBMb5JSdTHzvFAVzckZZt7wzXeLxq3Oq/kD4LLYUFeDPTWO3Cpe+flRI9769wYoh+/8dQtrK2Kge186HC4IhCvptByykj/fLT1ISjOYRboiELRP6c+qmMKfalIvp34J/lZZJwyibh5FPIEE0h5raqbII= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740535178; c=relaxed/simple; bh=UTqqxZH3wSUJ9gBsvhatykyvnvd0vfmhWhpOrZ2w4FQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=hHUZWyHix9QBOjkq4ftP0bNYJQHqtZIEmN9TUWbry+5fSI4dpHFF+UAWX7zpDsq4XzTZYPefwnGr6oa1VVBHKE3aycvJQme+jbvIurUrKnp3bTd83bOayklw3/ODr13O1P9vP0xNVKS+oDK1vJawjC8+TRxPFzqOkqNqg+HMLos= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=znun/hge; 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="znun/hge" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 93844C4CEDD; Wed, 26 Feb 2025 01:59:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740535178; bh=UTqqxZH3wSUJ9gBsvhatykyvnvd0vfmhWhpOrZ2w4FQ=; h=From:To:Cc:Subject:Date:Reply-to:From; b=znun/hgeShn/CAJfxT/atR9U9ZB/FOlulI2ZPJgwqmLUSvzRkERO4jEMBwTZirZFO FBH4YOmivA50RnAHRykzNV2Q2KkVBvb0SwMYKHRLXbLRcOWEW3zX1YRS7JT0UdxR6+ ZuOpnuUoub1qCshESZTq2nc9UjS4Km/7UrkxASu4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49202: Bluetooth: hci_uart: add missing NULL check in h5_enqueue Date: Wed, 26 Feb 2025 02:56:47 +0100 Message-ID: <2025022618-CVE-2022-49202-070c@gregkh> X-Mailer: git-send-email 2.48.1 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=2433; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=UTqqxZH3wSUJ9gBsvhatykyvnvd0vfmhWhpOrZ2w4FQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7Srz+zXqlo5R0xvP9hQY7SRmdo74xXw6FNLZM6Vxs9 pd177H6jlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhIeSrDPO2423LLWup0d+yv u+Q8ucBR4vKrzwzzM+u7HxcckDc5ZSI8a8G+8iLF4/9XAgA= 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: hci_uart: add missing NULL check in h5_enqueue Syzbot hit general protection fault in __pm_runtime_resume(). The problem was in missing NULL check. hu->serdev can be NULL and we should not blindly pass &serdev->dev somewhere, since it will cause GPF. The Linux kernel CVE team has assigned CVE-2022-49202 to this issue. Affected and fixed versions =========================== Issue introduced in 5.15 with commit d9dd833cf6d29695682ec7e7924c0d0992b906bc and fixed in 5.15.33 with commit 7235485433d290367d60ae22fcdfc565e61d42ab Issue introduced in 5.15 with commit d9dd833cf6d29695682ec7e7924c0d0992b906bc and fixed in 5.16.19 with commit e6b6c904c0f88588b6a3ace20e4c0d61eab124f8 Issue introduced in 5.15 with commit d9dd833cf6d29695682ec7e7924c0d0992b906bc and fixed in 5.17.2 with commit 8a3896c30f542439d36303183dc96f65df8cc528 Issue introduced in 5.15 with commit d9dd833cf6d29695682ec7e7924c0d0992b906bc and fixed in 5.18 with commit 32cb08e958696908a9aad5e49a78d74f7e32fffb 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-2022-49202 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: drivers/bluetooth/hci_h5.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/7235485433d290367d60ae22fcdfc565e61d42ab https://git.kernel.org/stable/c/e6b6c904c0f88588b6a3ace20e4c0d61eab124f8 https://git.kernel.org/stable/c/8a3896c30f542439d36303183dc96f65df8cc528 https://git.kernel.org/stable/c/32cb08e958696908a9aad5e49a78d74f7e32fffb