| 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-2024-56783: netfilter: nft_socket: remove WARN_ON_ONCE on maximum cgroup level |
| |
| Description |
| =========== |
| |
| In the Linux kernel, the following vulnerability has been resolved: |
| |
| netfilter: nft_socket: remove WARN_ON_ONCE on maximum cgroup level |
| |
| cgroup maximum depth is INT_MAX by default, there is a cgroup toggle to |
| restrict this maximum depth to a more reasonable value not to harm |
| performance. Remove unnecessary WARN_ON_ONCE which is reachable from |
| userspace. |
| |
| The Linux kernel CVE team has assigned CVE-2024-56783 to this issue. |
| |
| |
| Affected and fixed versions |
| =========================== |
| |
| Issue introduced in 6.1.112 with commit ace0db36b4a1db07a48517c4f04488d1cd05e5f5 and fixed in 6.1.120 with commit 7064a6daa4a700a298fe3aee11dea296bfe59fc4 |
| Issue introduced in 6.6.53 with commit f07e28e4c623168f9fa5c00f518bd341d4014aa6 and fixed in 6.6.66 with commit 2f9bec0a749eb646b384fde0c7b7c24687b2ffae |
| Issue introduced in 6.11 with commit 7f3287db654395f9c5ddd246325ff7889f550286 and fixed in 6.12.5 with commit e227c042580ab065edc610c9ddc9bea691e6fc4d |
| Issue introduced in 6.11 with commit 7f3287db654395f9c5ddd246325ff7889f550286 and fixed in 6.13 with commit b7529880cb961d515642ce63f9d7570869bbbdc3 |
| Issue introduced in 6.10.12 with commit ecc5368315af8473fe052cb928e53756dbfe4403 |
| |
| 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-2024-56783 |
| 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/netfilter/nft_socket.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/7064a6daa4a700a298fe3aee11dea296bfe59fc4 |
| https://git.kernel.org/stable/c/2f9bec0a749eb646b384fde0c7b7c24687b2ffae |
| https://git.kernel.org/stable/c/e227c042580ab065edc610c9ddc9bea691e6fc4d |
| https://git.kernel.org/stable/c/b7529880cb961d515642ce63f9d7570869bbbdc3 |