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 494983D541 for ; Fri, 17 May 2024 11:40:47 +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=1715946048; cv=none; b=IfqZ26pGVyFgZp/w4dDdFZGM73GE9FyXGKjRakklkgs8hpvwreU9PtmW/qpdnNODwkEtnOQNo/mPqy8gh7MlIhzFscjcbprBotqgVicxXwOvcGUgnvk3sisc8cqxFi8+2rVrsjRaBiLEG4xVXTOH5ZsgB133HbcbJYLBcqCr5YM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715946048; c=relaxed/simple; bh=ZrgbRrfVr5H570c9R5dobn2/71m9U+INrZvRJsgTtes=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=VlQ9UWB5XtoSkTRLcIY9XLvx96i/p08CmhdOdD81rlcXXy70mpE/KPs3vrvK/VhiZPKc1bdlc7xX1UUFvcL2sxnAsKNfLc/niYbHfENiNRpGoettkOhmjx1eMZbBQuT6Lf6ilehCgEGcni3x7pPlF2zf7PHahPZsuT5cn4PAz4k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Gl/I8TfU; 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="Gl/I8TfU" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6306EC2BD11; Fri, 17 May 2024 11:40:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1715946047; bh=ZrgbRrfVr5H570c9R5dobn2/71m9U+INrZvRJsgTtes=; h=From:To:Cc:Subject:Date:Reply-to:From; b=Gl/I8TfUJizwnsl072Fp6C2d06DpBHAnvX++MYIOBkNvHJacMwe9d2FzuQ0to3oIT Zf+62hMDPKGu+ya5A2VmPTn/xUddk4w+Bv9sV8ODcQJBdsiRoaJhCzAEWLHgptYiYY HJhsV47b3uVWXEbqY7joDyg0CuqNsAsSWdnKq4s4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-27402: phonet/pep: fix racy skb_queue_empty() use Date: Fri, 17 May 2024 13:40:37 +0200 Message-ID: <2024051736-CVE-2024-27402-90cf@gregkh> X-Mailer: git-send-email 2.45.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=2175; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ZrgbRrfVr5H570c9R5dobn2/71m9U+INrZvRJsgTtes=; b=owGbwMvMwCRo6H6F97bub03G02pJDGnuTibGPhN7NyUtmrg0LnDp7+O9vKv2HP3/PW32gxAvg SefzpRO7ohlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJlJkwzPcs4ZDfp5KyNoix Vz+t9JyTt3QvP8N897qon6uiHoWsd41rFT62tutSGWspAA== 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: phonet/pep: fix racy skb_queue_empty() use The receive queues are protected by their respective spin-lock, not the socket lock. This could lead to skb_peek() unexpectedly returning NULL or a pointer to an already dequeued socket buffer. The Linux kernel CVE team has assigned CVE-2024-27402 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.28 with commit 9641458d3ec4 and fixed in 6.1.80 with commit 9d5523e065b5 Issue introduced in 2.6.28 with commit 9641458d3ec4 and fixed in 6.6.19 with commit 0a9f558c72c4 Issue introduced in 2.6.28 with commit 9641458d3ec4 and fixed in 6.7.7 with commit 8ef4fcc7014b Issue introduced in 2.6.28 with commit 9641458d3ec4 and fixed in 6.8 with commit 7d2a894d7f48 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-2024-27402 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/phonet/pep.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/9d5523e065b568e79dfaa2ea1085a5bcf74baf78 https://git.kernel.org/stable/c/0a9f558c72c47472c38c05fcb72c70abb9104277 https://git.kernel.org/stable/c/8ef4fcc7014b9f93619851d6b78d6cc2789a4c88 https://git.kernel.org/stable/c/7d2a894d7f487dcb894df023e9d3014cf5b93fe5