| 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-49637: ipv4: Fix a data-race around sysctl_fib_sync_mem. |
| |
| Description |
| =========== |
| |
| In the Linux kernel, the following vulnerability has been resolved: |
| |
| ipv4: Fix a data-race around sysctl_fib_sync_mem. |
| |
| While reading sysctl_fib_sync_mem, it can be changed concurrently. |
| So, we need to add READ_ONCE() to avoid a data-race. |
| |
| The Linux kernel CVE team has assigned CVE-2022-49637 to this issue. |
| |
| |
| Affected and fixed versions |
| =========================== |
| |
| Issue introduced in 5.2 with commit 9ab948a91b2c2abc8e82845c0e61f4b1683e3a4f and fixed in 5.4.207 with commit 7c1acd98fb221dc0d847451b9ab86319f8b9916c |
| Issue introduced in 5.2 with commit 9ab948a91b2c2abc8e82845c0e61f4b1683e3a4f and fixed in 5.10.132 with commit 418b191d5f223a8cb6cab09eae1f72c04ba6adf2 |
| Issue introduced in 5.2 with commit 9ab948a91b2c2abc8e82845c0e61f4b1683e3a4f and fixed in 5.15.56 with commit 9be8aac91960ea32fd0e874758c9afee665c57d2 |
| Issue introduced in 5.2 with commit 9ab948a91b2c2abc8e82845c0e61f4b1683e3a4f and fixed in 5.18.13 with commit 190cd4ff128373271e065afb20f1d2247b3f10c3 |
| Issue introduced in 5.2 with commit 9ab948a91b2c2abc8e82845c0e61f4b1683e3a4f and fixed in 5.19 with commit 73318c4b7dbd0e781aaababff17376b2894745c0 |
| |
| 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-49637 |
| 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_trie.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/7c1acd98fb221dc0d847451b9ab86319f8b9916c |
| https://git.kernel.org/stable/c/418b191d5f223a8cb6cab09eae1f72c04ba6adf2 |
| https://git.kernel.org/stable/c/9be8aac91960ea32fd0e874758c9afee665c57d2 |
| https://git.kernel.org/stable/c/190cd4ff128373271e065afb20f1d2247b3f10c3 |
| https://git.kernel.org/stable/c/73318c4b7dbd0e781aaababff17376b2894745c0 |