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 4D7B5219EB8 for ; Wed, 26 Feb 2025 02:24:34 +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=1740536674; cv=none; b=WW6dclK1TTwP5lWrQV9+VsQuieZhX3ZPCnVoh7fnVt9m0dltJHpH4MVg9tC4q6zkuevAyNw25YbqsyeXHJTI4+YfdoJuM+Tx4mweHTiX2ycv0GSzhfMNwoWICaM3sMAGFfPsE6yerydHjWAsAzSbQPh10bHbp/h0M5phdCGC7YY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740536674; c=relaxed/simple; bh=xGDLC1JrCmlRKQ7Pcpa6ssfM8mOJotoFFNYM7br4xlY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=h2kCDKQSENESSEAmV7guoRNlipC48ZI6Qq+deJaQLTblKI/sBxOpDsPJ9cc7UsJvMq6kZ8m7Zv+roOjx1w2Qhsm5lQIOXEyOLaXCKe37uvr+xgXCq5yrvQKW7or5Efo0XSSnnxThzbiUkNX0RWcJQwbkOwSFbVqfHswU13AyWzo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=IU/mrNU/; 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="IU/mrNU/" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 21A02C4CEDD; Wed, 26 Feb 2025 02:24:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740536674; bh=xGDLC1JrCmlRKQ7Pcpa6ssfM8mOJotoFFNYM7br4xlY=; h=From:To:Cc:Subject:Date:Reply-to:From; b=IU/mrNU/dYWew/uE09MqerTGNm5pxUjBwV7/fbC+8IcZsnKeDYgZe7UntyXYQqbmj yyQ7BcD1//HKIkMBxObCUDPoY0czbQjxDAxUbxEciNP01cE4y4/S8UGYQswCC/SS7e uSI1zghAKE4Tb/k5DuMBtzUh1lI/spax13sRiKnY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49590: igmp: Fix data-races around sysctl_igmp_llm_reports. Date: Wed, 26 Feb 2025 03:22:33 +0100 Message-ID: <2025022610-CVE-2022-49590-44d5@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=3473; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=xGDLC1JrCmlRKQ7Pcpa6ssfM8mOJotoFFNYM7br4xlY=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7qi5p99oVFN5nbFebG/l2XyPXh/tCLCoFcZz2wgLnK x0YJ8/tiGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgIlU9DMsmNRWI95VfH/zNeuq KWUyp6/UC0rFMizYF5r11e/UOVPH32/YE9aJ/N8brXAfAA== 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: igmp: Fix data-races around sysctl_igmp_llm_reports. While reading sysctl_igmp_llm_reports, it can be changed concurrently. Thus, we need to add READ_ONCE() to its readers. This test can be packed into a helper, so such changes will be in the follow-up series after net is merged into net-next. if (ipv4_is_local_multicast(pmc->multiaddr) && !READ_ONCE(net->ipv4.sysctl_igmp_llm_reports)) The Linux kernel CVE team has assigned CVE-2022-49590 to this issue. Affected and fixed versions =========================== Issue introduced in 4.3 with commit df2cf4a78e488d26728590cb3c6b4fe4c4862c77 and fixed in 4.9.325 with commit a84b4afaca2573ed3aed1f8854aefe3ca5a82e72 Issue introduced in 4.3 with commit df2cf4a78e488d26728590cb3c6b4fe4c4862c77 and fixed in 4.14.290 with commit d77969e7d4ccc26bf1f414a39ef35050a83ba6d5 Issue introduced in 4.3 with commit df2cf4a78e488d26728590cb3c6b4fe4c4862c77 and fixed in 4.19.254 with commit ed876e99ccf417b8bd7fd8408ba5e8b008e46cc8 Issue introduced in 4.3 with commit df2cf4a78e488d26728590cb3c6b4fe4c4862c77 and fixed in 5.4.208 with commit 1656ecaddf90e2a070ec2d2404cdae3edf80faca Issue introduced in 4.3 with commit df2cf4a78e488d26728590cb3c6b4fe4c4862c77 and fixed in 5.10.134 with commit 473aad9ad57ff760005377e6f45a2ad4210e08ce Issue introduced in 4.3 with commit df2cf4a78e488d26728590cb3c6b4fe4c4862c77 and fixed in 5.15.58 with commit 260446eb8e5541402b271343a4516f2b33dec1e4 Issue introduced in 4.3 with commit df2cf4a78e488d26728590cb3c6b4fe4c4862c77 and fixed in 5.18.15 with commit 46307adceb67bdf2ec38408dd9cebc378a6b5c46 Issue introduced in 4.3 with commit df2cf4a78e488d26728590cb3c6b4fe4c4862c77 and fixed in 5.19 with commit f6da2267e71106474fbc0943dc24928b9cb79119 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-49590 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/ipv4/igmp.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/a84b4afaca2573ed3aed1f8854aefe3ca5a82e72 https://git.kernel.org/stable/c/d77969e7d4ccc26bf1f414a39ef35050a83ba6d5 https://git.kernel.org/stable/c/ed876e99ccf417b8bd7fd8408ba5e8b008e46cc8 https://git.kernel.org/stable/c/1656ecaddf90e2a070ec2d2404cdae3edf80faca https://git.kernel.org/stable/c/473aad9ad57ff760005377e6f45a2ad4210e08ce https://git.kernel.org/stable/c/260446eb8e5541402b271343a4516f2b33dec1e4 https://git.kernel.org/stable/c/46307adceb67bdf2ec38408dd9cebc378a6b5c46 https://git.kernel.org/stable/c/f6da2267e71106474fbc0943dc24928b9cb79119