Use-after-free in Linux kernel's netfilter: nf_tables component
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 15 fixed, 1 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and Red Hat. Impact type from CWE-416 and the CVSS impact.
Summary
A use-after-free vulnerability in the Linux kernel's netfilter: nf_tables component can be exploited to achieve local privilege escalation. When nf_tables_delrule() is flushing table rules, it is not checked whether the chain is bound and the chain's owner rule can also release the objects in certain circumstances. We recommend upgrading past commit 6eaf41e87a223ae6f8e7a28d6e78384ad7e407f8.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Kernel | 5.9 to before 6.5 | 6.5 | Patch available | CNA |
- Kernel VendorLinux Affected 5.9 to before 6.5 Fixed in 6.5 Patch available CNA
CPE configurations NVD · 7
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.9 to before 5.10.188; 5.11 to before 5.15.123; 5.16 to before 6.1.42; 6.2 to before 6.4.7 | Vulnerable | Linux |
| cpe:2.3:o:debian:debian_linux:12.0:*:*:*:*:*:*:* | 12.0 | Vulnerable | Debian |
| cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:* | 14.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:* | 16.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* | 18.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:* | 20.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:22.04:*:*:*:lts:*:*:* | 22.04 | Vulnerable | Canonical |
- cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 5.9 to before 5.10.188; 5.11 to before 5.15.123; 5.16 to before 6.1.42; 6.2 to before 6.4.7 Vulnerable ·Linux
- cpe:2.3:o:debian:debian_linux:12.0:*:*:*:*:*:*:* Versions 12.0 Vulnerable ·Debian
- cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:* Versions 14.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:* Versions 16.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* Versions 18.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:20.04:*:*:*:lts:*:*:* Versions 20.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:22.04:*:*:*:lts:*:*:* Versions 22.04 Vulnerable ·Canonical
Remediation
- Fix · CNA Kernel (Linux) Fixed in 6.5
Red Hat 5 advisories
- RHSA-2024:0432 Released 2024-01-25 · Red Hat rating Importantkernel security and bug fix update
- Red Hat CodeReady Linux Builder EUS (v.9.0) kernel-tools-libs-devel-5.14.0-70.85.1.el9_0
- Red Hat Enterprise Linux AppStream EUS (v.9.0) kernel-debug-devel-5.14.0-70.85.1.el9_0, kernel-debug-devel-matched-5.14.0-70.85.1.el9_0, kernel-devel-5.14.0-70.85.1.el9_0 +5
- Red Hat Enterprise Linux BaseOS EUS (v.9.0) bpftool-5.14.0-70.85.1.el9_0, kernel-5.14.0-70.85.1.el9_0, kernel-abi-stablelists-5.14.0-70.85.1.el9_0 +14
- RHSA-2024:0431 Released 2024-01-25 · Red Hat rating Importantkernel-rt security and bug fix update
- Red Hat Enterprise Linux Real Time EUS (v.9.0) kernel-rt-5.14.0-70.85.1.rt21.156.el9_0, kernel-rt-core-5.14.0-70.85.1.rt21.156.el9_0, kernel-rt-debug-5.14.0-70.85.1.rt21.156.el9_0 +7
- Red Hat Enterprise Linux Real Time for NFV EUS (v.9.0) kernel-rt-5.14.0-70.85.1.rt21.156.el9_0, kernel-rt-core-5.14.0-70.85.1.rt21.156.el9_0, kernel-rt-debug-5.14.0-70.85.1.rt21.156.el9_0 +9
- RHSA-2024:0461 Released 2024-01-25 · Red Hat rating Importantkernel security update
- Red Hat CodeReady Linux Builder (v. 9) kernel-tools-libs-devel-5.14.0-362.18.1.el9_3, libperf-5.14.0-362.18.1.el9_3
- Red Hat Enterprise Linux AppStream (v. 9) kernel-64k-debug-devel-5.14.0-362.18.1.el9_3, kernel-64k-debug-devel-matched-5.14.0-362.18.1.el9_3, kernel-64k-devel-5.14.0-362.18.1.el9_3 +11
- Red Hat Enterprise Linux BaseOS (v. 9) bpftool-7.2.0-362.18.1.el9_3, kernel-5.14.0-362.18.1.el9_3, kernel-64k-5.14.0-362.18.1.el9_3 +29
- Red Hat Enterprise Linux Real Time (v. 9) kernel-rt-5.14.0-362.18.1.el9_3, kernel-rt-core-5.14.0-362.18.1.el9_3, kernel-rt-debug-5.14.0-362.18.1.el9_3 +9
- Red Hat Enterprise Linux Real Time for NFV (v. 9) kernel-rt-5.14.0-362.18.1.el9_3, kernel-rt-core-5.14.0-362.18.1.el9_3, kernel-rt-debug-5.14.0-362.18.1.el9_3 +11
Show 2 more Red Hat advisories
- RHSA-2024:0448 Released 2024-01-25 · Red Hat rating Importantkernel security and bug fix update
- Red Hat CodeReady Linux Builder EUS (v.9.2) kernel-tools-libs-devel-5.14.0-284.48.1.el9_2
- Red Hat Enterprise Linux AppStream EUS (v.9.2) kernel-64k-debug-devel-5.14.0-284.48.1.el9_2, kernel-64k-debug-devel-matched-5.14.0-284.48.1.el9_2, kernel-64k-devel-5.14.0-284.48.1.el9_2 +10
- Red Hat Enterprise Linux BaseOS EUS (v.9.2) bpftool-7.0.0-284.48.1.el9_2, kernel-5.14.0-284.48.1.el9_2, kernel-64k-5.14.0-284.48.1.el9_2 +29
- RHSA-2024:0439 Released 2024-01-25 · Red Hat rating Importantkernel-rt security update
- Red Hat Enterprise Linux Real Time EUS (v.9.2) kernel-rt-5.14.0-284.48.1.rt14.333.el9_2, kernel-rt-core-5.14.0-284.48.1.rt14.333.el9_2, kernel-rt-debug-5.14.0-284.48.1.rt14.333.el9_2 +9
- Red Hat Enterprise Linux Real Time for NFV EUS (v.9.2) kernel-rt-5.14.0-284.48.1.rt14.333.el9_2, kernel-rt-core-5.14.0-284.48.1.rt14.333.el9_2, kernel-rt-debug-5.14.0-284.48.1.rt14.333.el9_2 +11
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 9 | Affected | No fix yet |
| Red Hat CodeReady Linux Builder (v. 9) | Fixed | RHSA-2024:0461 |
| Red Hat CodeReady Linux Builder EUS (v.9.0) | Fixed | RHSA-2024:0432 |
| Red Hat CodeReady Linux Builder EUS (v.9.2) | Fixed | RHSA-2024:0448 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2024:0461 |
| Red Hat Enterprise Linux AppStream EUS (v.9.0) | Fixed | RHSA-2024:0432 |
| Red Hat Enterprise Linux AppStream EUS (v.9.2) | Fixed | RHSA-2024:0448 |
| Red Hat Enterprise Linux BaseOS (v. 9) | Fixed | RHSA-2024:0461 |
| Red Hat Enterprise Linux BaseOS EUS (v.9.0) | Fixed | RHSA-2024:0432 |
| Red Hat Enterprise Linux BaseOS EUS (v.9.2) | Fixed | RHSA-2024:0448 |
| Red Hat Enterprise Linux Real Time (v. 9) | Fixed | RHSA-2024:0461 |
| Red Hat Enterprise Linux Real Time EUS (v.9.0) | Fixed | RHSA-2024:0431 |
| Red Hat Enterprise Linux Real Time EUS (v.9.2) | Fixed | RHSA-2024:0439 |
| Red Hat Enterprise Linux Real Time for NFV (v. 9) | Fixed | RHSA-2024:0461 |
| Red Hat Enterprise Linux Real Time for NFV EUS (v.9.0) | Fixed | RHSA-2024:0431 |
| Red Hat Enterprise Linux Real Time for NFV EUS (v.9.2) | Fixed | RHSA-2024:0439 |
Not affected: 4 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux AppStream EUS (v.9.2)
Timeline
- 2026-10-02 Threatist record created from CVE-2023-3777
- 2026-10-03 Alias added: GHSA-3v7f-rjgx-9grq
- 2026-10-16 Affected versions changed · Red Hat
References
Patch 2
More Linux Kernel vulnerabilities
- TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
- TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
Sources
- CVE-2023-3777 · CVE Program
- CVE-2023-3777 · NVD
- FIRST EPSS
- GHSA-3v7f-rjgx-9grq · GitHub Advisory Database · CC BY 4.0
- CVE-2023-3777 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences