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 292E11F09B3 for ; Thu, 1 May 2025 14:19:29 +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=1746109170; cv=none; b=Bp5l/otRoiKnsnG0C+vBCscYZFEXi/RH0ZHlrUB9lMg0F8qi7tPnu/1VG8RzifNcvpQ5HFueQKUt+r/AqcXlWkU9hAaKBX1dhCbxkiH7tyCT+8+bBa7mXOXOed0K8vLUrNBza4Ne8MuD87R/H1UmVnSf3oFGKwWtNGNJX9ks/5k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746109170; c=relaxed/simple; bh=KMvgzt6j+4bU7Iu7cuSXOf17i04PnbbRuNAGJ+BAnac=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Z/bXxQmv32qvk9Ppus2b9LbK3QDg0+UplgrG8VGIE/0U6z3F/lANyn8QfP2vPupcarB4ukuOmYJjv+wRnRQ69RRnnigUajVyxEZn+6H7t2WeMid4Zer9WVjdZIg7ZJFQPy/eTDY27QBXny8/IEXHDDEaSHT5KZwDfQk9TykoxWM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Rb9HHe+J; 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="Rb9HHe+J" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1CD51C4CEE3; Thu, 1 May 2025 14:19:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1746109169; bh=KMvgzt6j+4bU7Iu7cuSXOf17i04PnbbRuNAGJ+BAnac=; h=From:To:Cc:Subject:Date:Reply-to:From; b=Rb9HHe+JqSlLAElKOsj+ki3s13/a2r0j4FZACBW3T68kWOhDVqz1kMQE7R723Lc2n yklZgNyfgVpnDDrSKIkNYAjJSxh63b6XA0TCpHFaKviAHi+B2+JS2BCVQk9wsF4Wk5 z+fZyfkSyGJKTDw/oZCtCNVRxR+lOhMSfc0qMveg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49903: ipv6: fix WARNING in ip6_route_net_exit_late() Date: Thu, 1 May 2025 16:11:33 +0200 Message-ID: <2025050102-CVE-2022-49903-23a6@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=3395; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=VC2gntbJnU0FZDpcDHM3totti4RavxXl5efuXqSjgn8=; b=owGbwMvMwCRo6H6F97bub03G02pJDBnCDbtuNFxO2qJwn/f7l87Zdbka689+SDjmyLRDIn3Tz B/nFpre6ohlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJ/OhjmF/m+4eBRTD/odSW s9du5ondd2TfqcewYHlPrdTcDVKPOw7JqaRfDJzJ6eFXDQA= 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: ipv6: fix WARNING in ip6_route_net_exit_late() During the initialization of ip6_route_net_init_late(), if file ipv6_route or rt6_stats fails to be created, the initialization is successful by default. Therefore, the ipv6_route or rt6_stats file doesn't be found during the remove in ip6_route_net_exit_late(). It will cause WRNING. The following is the stack information: name 'rt6_stats' WARNING: CPU: 0 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 PKRU: 55555554 Call Trace: ops_exit_list+0xb0/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-49903 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.26 with commit cdb1876192dbe680b3ac955717fdf7f863c1762d and fixed in 4.19.265 with commit 83fbf246ced54dadd7b9adc2a16efeff30ba944d Issue introduced in 2.6.26 with commit cdb1876192dbe680b3ac955717fdf7f863c1762d and fixed in 5.4.224 with commit 381453770f731f0f43616a1cd4c759b7807a1517 Issue introduced in 2.6.26 with commit cdb1876192dbe680b3ac955717fdf7f863c1762d and fixed in 5.10.154 with commit 5dbb47ee89762da433cd8458788d7640c85f1a07 Issue introduced in 2.6.26 with commit cdb1876192dbe680b3ac955717fdf7f863c1762d and fixed in 5.15.78 with commit 0ed71af4d017d2bd2cbb8f7254f613a4914def26 Issue introduced in 2.6.26 with commit cdb1876192dbe680b3ac955717fdf7f863c1762d and fixed in 6.0.8 with commit 080589287127838046077904f34d5054ea0f895c Issue introduced in 2.6.26 with commit cdb1876192dbe680b3ac955717fdf7f863c1762d and fixed in 6.1 with commit 768b3c745fe5789f2430bdab02f35a9ad1148d97 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-49903 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/ipv6/route.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/83fbf246ced54dadd7b9adc2a16efeff30ba944d https://git.kernel.org/stable/c/381453770f731f0f43616a1cd4c759b7807a1517 https://git.kernel.org/stable/c/5dbb47ee89762da433cd8458788d7640c85f1a07 https://git.kernel.org/stable/c/0ed71af4d017d2bd2cbb8f7254f613a4914def26 https://git.kernel.org/stable/c/080589287127838046077904f34d5054ea0f895c https://git.kernel.org/stable/c/768b3c745fe5789f2430bdab02f35a9ad1148d97