[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025022612-CVE-2022-49603-e042@gregkh>
Date: Wed, 26 Feb 2025 03:22:46 +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-49603: ip: Fix data-races around sysctl_ip_fwd_update_priority.
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
ip: Fix data-races around sysctl_ip_fwd_update_priority.
While reading sysctl_ip_fwd_update_priority, it can be changed
concurrently. Thus, we need to add READ_ONCE() to its readers.
The Linux kernel CVE team has assigned CVE-2022-49603 to this issue.
Affected and fixed versions
===========================
Issue introduced in 4.19 with commit 432e05d328921c68c35bfdeff7d7b7400b8e3d1a and fixed in 5.10.134 with commit 11038fa781ab916535c53351537b22d6d405667d
Issue introduced in 4.19 with commit 432e05d328921c68c35bfdeff7d7b7400b8e3d1a and fixed in 5.15.58 with commit 351f81f7d7185d18a9ff76f8f8c2fa8c4eea563b
Issue introduced in 4.19 with commit 432e05d328921c68c35bfdeff7d7b7400b8e3d1a and fixed in 5.18.15 with commit bcc03369d3277ae075ed421f0c8bf4adb5e65b74
Issue introduced in 4.19 with commit 432e05d328921c68c35bfdeff7d7b7400b8e3d1a and fixed in 5.19 with commit 7bf9e18d9a5e99e3c83482973557e9f047b051e7
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-49603
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/ethernet/mellanox/mlxsw/spectrum_router.c
net/ipv4/ip_forward.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/11038fa781ab916535c53351537b22d6d405667d
https://git.kernel.org/stable/c/351f81f7d7185d18a9ff76f8f8c2fa8c4eea563b
https://git.kernel.org/stable/c/bcc03369d3277ae075ed421f0c8bf4adb5e65b74
https://git.kernel.org/stable/c/7bf9e18d9a5e99e3c83482973557e9f047b051e7
Powered by blists - more mailing lists