[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025022616-CVE-2022-49629-c5d3@gregkh>
Date: Wed, 26 Feb 2025 03:23:12 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2022-49629: nexthop: Fix data-races around nexthop_compat_mode.
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
nexthop: Fix data-races around nexthop_compat_mode.
While reading nexthop_compat_mode, it can be changed concurrently.
Thus, we need to add READ_ONCE() to its readers.
The Linux kernel CVE team has assigned CVE-2022-49629 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.8 with commit 4f80116d3df3b23ee4b83ea8557629e1799bc230 and fixed in 5.10.132 with commit a51040d4b120f3520df64fb0b9c63b31d69bea9b
Issue introduced in 5.8 with commit 4f80116d3df3b23ee4b83ea8557629e1799bc230 and fixed in 5.15.56 with commit 0d17723afea3ae8c9f245c9bbd2ba5945b77e812
Issue introduced in 5.8 with commit 4f80116d3df3b23ee4b83ea8557629e1799bc230 and fixed in 5.18.13 with commit ae3054f6fbccc90f14ecd6cf9b2c09a2401c64fd
Issue introduced in 5.8 with commit 4f80116d3df3b23ee4b83ea8557629e1799bc230 and fixed in 5.19 with commit bdf00bf24bef9be1ca641a6390fd5487873e0d2e
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-49629
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/fib_semantics.c
net/ipv4/nexthop.c
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/a51040d4b120f3520df64fb0b9c63b31d69bea9b
https://git.kernel.org/stable/c/0d17723afea3ae8c9f245c9bbd2ba5945b77e812
https://git.kernel.org/stable/c/ae3054f6fbccc90f14ecd6cf9b2c09a2401c64fd
https://git.kernel.org/stable/c/bdf00bf24bef9be1ca641a6390fd5487873e0d2e
Powered by blists - more mailing lists