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 B2EA019923E for ; Tue, 16 Jul 2024 12:28:06 +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=1721132886; cv=none; b=kDkN5UjFlhRfgsf9lWIXKF0i036A9wffAGAsad7+p8/NhxPjYciTcm1A7ai96fIAJynmtuFrnRX0wDDjBZfyTzura05cPtk/hjvZlOcz6Fegj3jJh0HCQ5EJ42nie0mUL7zDbeheME+XM9yCExAinha/Th7QtAqhLDvi73LTH9Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1721132886; c=relaxed/simple; bh=5lN9Aw8atSYIdjvL2KK/60LZtoopNk/mSVj+uOla/Vk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=q78APMP0Wtc7qEDUqtJpTOWDNs5WOdKoCmjelvBpWHRU0MVYABdWpStfLMa8TAXBTztNPKt2qDeAn3IhHOuSgBqqwFgU3c0Yrywmmo8YPvVullZj0N7e1Eee4FKNkf9HpurUlgyPVO4fqUjL2tYaTGO+V8qejK+b3uC+g+8UAXw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=AO9/l/OR; 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="AO9/l/OR" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DE311C116B1; Tue, 16 Jul 2024 12:28:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1721132886; bh=5lN9Aw8atSYIdjvL2KK/60LZtoopNk/mSVj+uOla/Vk=; h=From:To:Cc:Subject:Date:Reply-to:From; b=AO9/l/OR00pKKiHymRSqUOtVNytxYpRRR2xXwlztOL+rsoxWhiyodMem8y1JMQCaC KcAOWPyEoZVAZk0ibWtuale6BYeZqKA6XbWSCBUvbGKAzd00L4ol5cem42R7IdE8co 4Uc81mvdcIoL+JOvHf7Mt9jdM3dO8UXuOJuT+MBU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-48851: staging: gdm724x: fix use after free in gdm_lte_rx() Date: Tue, 16 Jul 2024 14:27:36 +0200 Message-ID: <2024071625-CVE-2022-48851-4dad@gregkh> X-Mailer: git-send-email 2.45.2 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=2789; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=5lN9Aw8atSYIdjvL2KK/60LZtoopNk/mSVj+uOla/Vk=; b=owGbwMvMwCRo6H6F97bub03G02pJDGnT0nW9f/9zvb9xt8IfmUvfdwRZM2ovbi915LM/U3qQV cspgPNURywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEyE7QvDgks6/5KSap1OR7yb qfL8LYvZ5aZDzxjmitUs3Cd4dIlIyebZsv9O5n0JMblyHAA= 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: staging: gdm724x: fix use after free in gdm_lte_rx() The netif_rx_ni() function frees the skb so we can't dereference it to save the skb->len. The Linux kernel CVE team has assigned CVE-2022-48851 to this issue. Affected and fixed versions =========================== Issue introduced in 3.12 with commit 61e121047645 and fixed in 4.9.307 with commit 6dc7b87c6242 Issue introduced in 3.12 with commit 61e121047645 and fixed in 4.14.272 with commit 83a9c886c2b5 Issue introduced in 3.12 with commit 61e121047645 and fixed in 4.19.235 with commit 48ecdf3e29a6 Issue introduced in 3.12 with commit 61e121047645 and fixed in 5.4.185 with commit 403e3afe241b Issue introduced in 3.12 with commit 61e121047645 and fixed in 5.10.106 with commit 6d9700b44509 Issue introduced in 3.12 with commit 61e121047645 and fixed in 5.15.29 with commit 1fb9dd378749 Issue introduced in 3.12 with commit 61e121047645 and fixed in 5.16.15 with commit d39dc79513e9 Issue introduced in 3.12 with commit 61e121047645 and fixed in 5.17 with commit fc7f750dc9d1 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-48851 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/staging/gdm724x/gdm_lte.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/6dc7b87c62423bfa68139fe95e85028aab584c9a https://git.kernel.org/stable/c/83a9c886c2b5a0d28c0b37e1736b47f38d61332a https://git.kernel.org/stable/c/48ecdf3e29a6e514e8196691589c7dfc6c4ac169 https://git.kernel.org/stable/c/403e3afe241b62401de1f8629c9c6b9b3d69dbff https://git.kernel.org/stable/c/6d9700b445098dbbce0caff4b8cfca214cf1e757 https://git.kernel.org/stable/c/1fb9dd3787495b4deb0efe66c58306b65691a48f https://git.kernel.org/stable/c/d39dc79513e99147b4c158a8a9e46743e23944f5 https://git.kernel.org/stable/c/fc7f750dc9d102c1ed7bbe4591f991e770c99033