[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025022617-CVE-2022-49631-b546@gregkh>
Date: Wed, 26 Feb 2025 03:23:14 +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-49631: raw: Fix a data-race around sysctl_raw_l3mdev_accept.
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
raw: Fix a data-race around sysctl_raw_l3mdev_accept.
While reading sysctl_raw_l3mdev_accept, it can be changed concurrently.
Thus, we need to add READ_ONCE() to its reader.
The Linux kernel CVE team has assigned CVE-2022-49631 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.0 with commit 6897445fb194c8ad046df4a13e1ee9f080a5a21e and fixed in 5.4.207 with commit cc9540ba5b3652c473af7e54892a48cdced87983
Issue introduced in 5.0 with commit 6897445fb194c8ad046df4a13e1ee9f080a5a21e and fixed in 5.10.132 with commit 038a87b3e460d2ee579c8b1bd3890d816d6687b1
Issue introduced in 5.0 with commit 6897445fb194c8ad046df4a13e1ee9f080a5a21e and fixed in 5.15.56 with commit 46e9c46203fd4676720ddca0fef7eff26826648e
Issue introduced in 5.0 with commit 6897445fb194c8ad046df4a13e1ee9f080a5a21e and fixed in 5.18.13 with commit ab5adca2e17d6595f3fc0e25ccb6bcbe2e01ca4f
Issue introduced in 5.0 with commit 6897445fb194c8ad046df4a13e1ee9f080a5a21e and fixed in 5.19 with commit 1dace014928e6e385363032d359a04dee9158af0
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-49631
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:
include/net/raw.h
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/cc9540ba5b3652c473af7e54892a48cdced87983
https://git.kernel.org/stable/c/038a87b3e460d2ee579c8b1bd3890d816d6687b1
https://git.kernel.org/stable/c/46e9c46203fd4676720ddca0fef7eff26826648e
https://git.kernel.org/stable/c/ab5adca2e17d6595f3fc0e25ccb6bcbe2e01ca4f
https://git.kernel.org/stable/c/1dace014928e6e385363032d359a04dee9158af0
Powered by blists - more mailing lists