From mboxrd@z Thu Jan 1 00:00:00 1970 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 A544121A43C for ; Wed, 26 Feb 2025 02:24:30 +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=1740536670; cv=none; b=EHQAT8I0/ZqdAoUo2XzPMpFEcPKmgL+/bnw/CS9fvRLj/PhsHiawDOuBg/cpU+G4wX/le6ITWkiKN9rW15AbhnL7o/lLIEBwWq2wPzZhUjfCUa5g/NdIdwJZtMQPR8eA0oqo+aWiaRZE23A/S90G2+F2Ds2BuytMFBBwF7VsmVc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740536670; c=relaxed/simple; bh=MktI8TFbDVjhqow+xkpTtj9+ePN+/d59LdeMbSexIwc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=cZryA/0zIyi97r8EjO/uFShAfVEZFP6ON2r1bWs7dxYhMwtiU+fSr9tz/+wL5FN/nuPRgkHmDMHfPuJyYTBBCRFFtMGjDpEaQf5eWQpU1KfyQN5s+so6QHjHUQjrrelbtf8c1dmi05kE+SyPAx0kl3xdPmAt7GNM5PfmW14AKoY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=a2uaMsh+; 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="a2uaMsh+" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 790DEC4CEDD; Wed, 26 Feb 2025 02:24:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740536670; bh=MktI8TFbDVjhqow+xkpTtj9+ePN+/d59LdeMbSexIwc=; h=From:To:Cc:Subject:Date:Reply-to:From; b=a2uaMsh+sDMby4ns8MT9SEGXVESJlI2WQdhOHfcEa8vFMnKSVjqcYk+SS1bYqEm0S UjwPhTthaW41GYiSL5RDB6vwqgTrLglbfqCmol+eZL0aqTTgY0Xlzi03HQzo4J/FYt Quq1zFoT+7Zsi5I065JTmLY4dbLU+phld+Qmxwac= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49589: igmp: Fix data-races around sysctl_igmp_qrv. Date: Wed, 26 Feb 2025 03:22:32 +0100 Message-ID: <2025022609-CVE-2022-49589-fb90@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=2970; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=MktI8TFbDVjhqow+xkpTtj9+ePN+/d59LdeMbSexIwc=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7qi4G+8kJOE51ltHu2S/4IdVDqjvbdv7Dc/dW1r/a0 +qqNe1vRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEykV5Nhwe4NYROPRqx76qKs mpqZ8na9jle3CsP8+nunrYOeXvt6y7LeM7Qs+UZwimAAAA== 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_qrv. While reading sysctl_igmp_qrv, 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. qrv ?: READ_ONCE(net->ipv4.sysctl_igmp_qrv); The Linux kernel CVE team has assigned CVE-2022-49589 to this issue. Affected and fixed versions =========================== Issue introduced in 3.18 with commit a9fe8e29945d56f35235a3a0fba99b4cf181d211 and fixed in 4.19.255 with commit 9eeb3a7702998bdccbfcc37997b5dd9215b9a7f7 Issue introduced in 3.18 with commit a9fe8e29945d56f35235a3a0fba99b4cf181d211 and fixed in 5.4.209 with commit e20dd1b0e0ea15bee1e528536a0840dba972ca0e Issue introduced in 3.18 with commit a9fe8e29945d56f35235a3a0fba99b4cf181d211 and fixed in 5.10.135 with commit b399ffafffba39f47b731b26a5da1dc0ffc4b3ad Issue introduced in 3.18 with commit a9fe8e29945d56f35235a3a0fba99b4cf181d211 and fixed in 5.15.59 with commit c721324afc589f8ea54bae04756b150aeaae5fa4 Issue introduced in 3.18 with commit a9fe8e29945d56f35235a3a0fba99b4cf181d211 and fixed in 5.18.15 with commit c2954671010cd1127d1ffa328c6e6f8e99930982 Issue introduced in 3.18 with commit a9fe8e29945d56f35235a3a0fba99b4cf181d211 and fixed in 5.19 with commit 8ebcc62c738f68688ee7c6fec2efe5bc6d3d7e60 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-49589 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/net/amt.c 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/9eeb3a7702998bdccbfcc37997b5dd9215b9a7f7 https://git.kernel.org/stable/c/e20dd1b0e0ea15bee1e528536a0840dba972ca0e https://git.kernel.org/stable/c/b399ffafffba39f47b731b26a5da1dc0ffc4b3ad https://git.kernel.org/stable/c/c721324afc589f8ea54bae04756b150aeaae5fa4 https://git.kernel.org/stable/c/c2954671010cd1127d1ffa328c6e6f8e99930982 https://git.kernel.org/stable/c/8ebcc62c738f68688ee7c6fec2efe5bc6d3d7e60