| From bippy-5f407fcff5a0 Mon Sep 17 00:00:00 2001 |
| From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
| To: <linux-cve-announce@vger.kernel.org> |
| Reply-to: <cve@kernel.org>, <linux-kernel@vger.kernel.org> |
| Subject: CVE-2022-49578: ip: Fix data-races around sysctl_ip_prot_sock. |
| |
| Description |
| =========== |
| |
| In the Linux kernel, the following vulnerability has been resolved: |
| |
| ip: Fix data-races around sysctl_ip_prot_sock. |
| |
| sysctl_ip_prot_sock is accessed concurrently, and there is always a chance |
| of data-race. So, all readers and writers need some basic protection to |
| avoid load/store-tearing. |
| |
| The Linux kernel CVE team has assigned CVE-2022-49578 to this issue. |
| |
| |
| Affected and fixed versions |
| =========================== |
| |
| Issue introduced in 4.11 with commit 4548b683b78137f8eadeb312b94e20bb0d4a7141 and fixed in 5.10.134 with commit 9add240f76af6d141d2eebd3a1558a0e503a993d |
| Issue introduced in 4.11 with commit 4548b683b78137f8eadeb312b94e20bb0d4a7141 and fixed in 5.15.58 with commit 95724fe897a4ecf2be51452ef96e818568071664 |
| Issue introduced in 4.11 with commit 4548b683b78137f8eadeb312b94e20bb0d4a7141 and fixed in 5.18.15 with commit ef699813d99cc29e6e25c9f6da7766526cc8bd6e |
| Issue introduced in 4.11 with commit 4548b683b78137f8eadeb312b94e20bb0d4a7141 and fixed in 5.19 with commit 9b55c20f83369dd54541d9ddbe3a018a8377f451 |
| |
| 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-49578 |
| 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/ip.h |
| net/ipv4/sysctl_net_ipv4.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/9add240f76af6d141d2eebd3a1558a0e503a993d |
| https://git.kernel.org/stable/c/95724fe897a4ecf2be51452ef96e818568071664 |
| https://git.kernel.org/stable/c/ef699813d99cc29e6e25c9f6da7766526cc8bd6e |
| https://git.kernel.org/stable/c/9b55c20f83369dd54541d9ddbe3a018a8377f451 |