[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025050102-CVE-2022-49903-23a6@gregkh>
Date: Thu, 1 May 2025 16:11:33 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2022-49903: ipv6: fix WARNING in ip6_route_net_exit_late()
From: Greg Kroah-Hartman <gregkh@...nel.org>
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:
<TASK>
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
</TASK>
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
Powered by blists - more mailing lists