CVE-2023-3610: Use-after-free in Linux kernel's netfilter: nf_tables component
A flaw in the Linux Kernel found. A use-after-free vulnerability in the Linux kernel's netfilter: nftables component can be exploited to achieve local privilege escalation. Flaw in the error handling of bound chains causes a use-after-free in the abort path of NFTMSGNEWRULE. The vulnerability requires CAPNETADMIN to be triggered.
Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit?id=4bedf9eee016286c835e3d8fa981ddece5338795
Other sources
A use-after-free vulnerability in the Linux kernel's netfilter: nftables component can be exploited to achieve local privilege escalation. Flaw in the error handling of bound chains causes a use-after-free in the abort path of NFTMSGNEWRULE. The vulnerability requires CAPNETADMIN to be triggered. We recommend upgrading past commit 4bedf9eee016286c835e3d8fa981ddece5338795.
— Ubuntu
A use-after-free vulnerability was found in the netfilter: nftables component in the Linux kernel due to a missing error handling in the abort path of NFTMSGNEWRULE. This flaw allows a local attacker with CAPNETADMIN access capability to cause a local privilege escalation problem.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/kernelto a version that resolves this vulnerability.Fixed in 0:5.14.0-284.30.1.el9_2 - Upgrade
Upgrade
redhat/kernel-rtto a version that resolves this vulnerability.Fixed in 0:5.14.0-284.30.1.rt14.315.el9_2 - Upgrade
Upgrade
redhat/Kernelto a version that resolves this vulnerability.Fixed in 6.4 - Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.1.176-1Fixed in 6.1.190-1Fixed in 6.12.107-1Fixed in 6.12.115-2Fixed in 7.2.12-1Fixed in 7.2.15-1 - Upgrade
Upgrade
Linux kernelto a version that resolves this vulnerability.Patch 4bedf9eee016286c835e3d8fa981ddece5338795 - Configuration
On non-containerized Red Hat Enterprise Linux 8, set user.max_user_namespaces=0; alternatively, set kernel.unprivileged_userns_clone=0 to disable unprivileged namespace creation. Do not use this mitigation on containerized deployments such as Red Hat OpenShift Container Platform, where the functionality is required.
Linux user namespaces user.max_user_namespaces or kernel.unprivileged_userns_clone = 0
Event History
Parent advisories
This vulnerability appears in the following advisories.
Frequently Asked Questions
What is the severity of CVE-2023-3610?
CVE-2023-3610 is classified as a high severity vulnerability due to its potential for local privilege escalation.
How do I fix CVE-2023-3610?
To fix CVE-2023-3610, upgrade to the kernel version 0:5.14.0-284.30.1.el9_2 or related patched versions available from your distribution's repository.
Which systems are affected by CVE-2023-3610?
CVE-2023-3610 affects various versions of the Linux kernel, particularly those between 5.9 and 6.4, including specific versions in Debian and Red Hat distributions.
What type of vulnerability is CVE-2023-3610?
CVE-2023-3610 is a use-after-free vulnerability located in the netfilter: nf_tables component of the Linux kernel.
Can CVE-2023-3610 be exploited remotely?
No, CVE-2023-3610 requires local access to the system, as it is a local privilege escalation vulnerability.