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 749AA1EFFB3 for ; Thu, 1 May 2025 14:18:45 +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=1746109125; cv=none; b=uro5vTZ6+8dFJTliBxQ50uyz+daN5BsCANMcgpilUqOU0ZVlo08AW7jZsNU3YU1QivfWKRKHUB7ljp00eOaGnhB0dZe69T8Vj5SIxRUPGaSYMz9PWBVY9Bft8eHg9PV9Mh8kaAPqB3lTfu2SrrZcEdlxY5MEOoHnq2qs6oU+0pk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746109125; c=relaxed/simple; bh=/P6IbCUXmZolXeNDvTYHab3aTppIbsPZiH5GcBmYCbw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=RuXama3PN6AlHP56/cl+dhbq8WVY1khtL/JFFZmooo+0tq7hoeq0MkdexPj2f8f9iYjzBD+kNXwPWYKkPE/VnUB3nO3SdzekKtLxme492OoNQPgH+sAxaxwnF6ArUyAiIrF73nHVH3lMaSWELl7g6cJQ7KS7ecY/BPWNHcT1cUw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=KO+KrEm2; 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="KO+KrEm2" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DC2AFC4CEE3; Thu, 1 May 2025 14:18:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1746109125; bh=/P6IbCUXmZolXeNDvTYHab3aTppIbsPZiH5GcBmYCbw=; h=From:To:Cc:Subject:Date:Reply-to:From; b=KO+KrEm2y8QZQeyPb2j6tnaDG4rLXdcOZzTNnfB4V47JKbnidrvXxmBQm2yfPamoj Cqz+GUwTStMv1OzmsroJFB23LLuOtGS+cjhV8lbwmYPQS5/2czFRQOcP3HobN4nh0h f3gLUCJ2nu0uuNc+eLw0EjApiZvPJb+jaWDgQKyQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49917: ipvs: fix WARNING in ip_vs_app_net_cleanup() Date: Thu, 1 May 2025 16:11:47 +0200 Message-ID: <2025050107-CVE-2022-49917-50af@gregkh> X-Mailer: git-send-email 2.49.0 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=3356; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=YjT6N74msP6KTs94wbc52dX2Rwin6jFNvR4z1wx4ibo=; b=owGbwMvMwCRo6H6F97bub03G02pJDBnCDfvPF66dwWi4drNK/K97efdVXP5eD9RZXTfL6gqX9 ISLfFN9O2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAit6IY5orJ8jJPKlviNUXs zORZTRdimoVjdzMsOM0kfdQ/UsRxbnNK0tsbt99FzpVeBQA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: ipvs: fix WARNING in ip_vs_app_net_cleanup() During the initialization of ip_vs_app_net_init(), if file ip_vs_app fails to be created, the initialization is successful by default. Therefore, the ip_vs_app file doesn't be found during the remove in ip_vs_app_net_cleanup(). It will cause WRNING. The following is the stack information: name 'ip_vs_app' WARNING: CPU: 1 PID: 9 at fs/proc/generic.c:712 remove_proc_entry+0x389/0x460 Modules linked in: Workqueue: netns cleanup_net RIP: 0010:remove_proc_entry+0x389/0x460 Call Trace: ops_exit_list+0x125/0x170 cleanup_net+0x4ea/0xb00 process_one_work+0x9bf/0x1710 worker_thread+0x665/0x1080 kthread+0x2e4/0x3a0 ret_from_fork+0x1f/0x30 The Linux kernel CVE team has assigned CVE-2022-49917 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.24 with commit 457c4cbc5a3dde259d2a1f15d5f9785290397267 and fixed in 4.19.265 with commit adc76740ccd52e4a1d910767cd1223e134a7078b Issue introduced in 2.6.24 with commit 457c4cbc5a3dde259d2a1f15d5f9785290397267 and fixed in 5.4.224 with commit 8457a00c981fe1a799ce34123908856b0f5973b8 Issue introduced in 2.6.24 with commit 457c4cbc5a3dde259d2a1f15d5f9785290397267 and fixed in 5.10.154 with commit 2c8d81bdb2684d53d6cedad7410ba4cf9090e343 Issue introduced in 2.6.24 with commit 457c4cbc5a3dde259d2a1f15d5f9785290397267 and fixed in 5.15.78 with commit 06d7596d18725f1a93cf817662d36050e5afb989 Issue introduced in 2.6.24 with commit 457c4cbc5a3dde259d2a1f15d5f9785290397267 and fixed in 6.0.8 with commit 97f872b00937f2689bff2dab4ad9ed259482840f Issue introduced in 2.6.24 with commit 457c4cbc5a3dde259d2a1f15d5f9785290397267 and fixed in 6.1 with commit 5663ed63adb9619c98ab7479aa4606fa9b7a548c 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-49917 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/netfilter/ipvs/ip_vs_app.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/adc76740ccd52e4a1d910767cd1223e134a7078b https://git.kernel.org/stable/c/8457a00c981fe1a799ce34123908856b0f5973b8 https://git.kernel.org/stable/c/2c8d81bdb2684d53d6cedad7410ba4cf9090e343 https://git.kernel.org/stable/c/06d7596d18725f1a93cf817662d36050e5afb989 https://git.kernel.org/stable/c/97f872b00937f2689bff2dab4ad9ed259482840f https://git.kernel.org/stable/c/5663ed63adb9619c98ab7479aa4606fa9b7a548c