CVE-2023-52924 json
netfilter: nf_tables: don't skip expired elements during walk
published 2025-02-05 21 mo ago modified 2026-11-05 3 d ago also EUVD-2023-59440
- cvss
- 5.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 11%
- public exploits
- 0
- none known
Summary
In the Linux kernel, the following vulnerability has been resolved:
netfilter: nf_tables: don't skip expired elements during walk
There is an asymmetry between commit/abort and preparation phase if the following conditions are met:
1. set is a verdict map ("1.2.3.4 : jump foo") 2. timeouts are enabled
In this case, following sequence is problematic:
1. element E in set S refers to chain C 2. userspace requests removal of set S 3. kernel does a set walk to decrement chain->use count for all elements from preparation phase 4. kernel does another set walk to remove elements from the commit phase (or another walk to do a chain->use increment for all elements from abort phase)
If E has already expired in 1), it will be ignored during list walk, so its use count won't have been changed.
Then, when set is culled, ->destroy callback will zap the element via nf_tables_set_elem_destroy(), but this function is only safe for elements that have been deactivated earlier from the preparation phase: lack of earlier deactivate removes the element but leaks the chain use count, which results in a WARN splat when the chain gets removed later, plus a leak of the nft_chain structure.
Update pipapo_get() not to skip expired elements, otherwise flush command reports bogus ENOENT errors.
Patch / fix
- Linux Linux 4.19.316, 5.4.262, 5.10.198, 5.15.134, 6.1.56, 6.4.11, 6.5
- linux Debian 12 6.1.64-1
- linux Debian 14, Debian 13 6.4.11-1
debian advisories DEBIAN-CVE-2023-52924
- linux Ubuntu 20.04 LTS 5.4.0-173.191
- linux Ubuntu 22.04 LTS 5.15.0-87.97
- linux-aws Ubuntu 20.04 LTS 5.4.0-1120.130
- linux-aws Ubuntu 22.04 LTS 5.15.0-1048.53
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1124.133
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1045.53
- linux-gke Ubuntu 22.04 LTS 5.15.0-1045.50
- linux-ibm Ubuntu 20.04 LTS 5.4.0-1067.72
ubuntu advisories UBUNTU-CVE-2023-52924
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel RHEL 9 5.14.0-427.13.1.el9_4
- rv RHEL 9 5.14.0-427.13.1.el9_4
- perf RHEL 9 5.14.0-427.13.1.el9_4
- rtla RHEL 9 5.14.0-427.13.1.el9_4
- bpftool RHEL 9 7.3.0-427.13.1.el9_4
- libperf RHEL 9 5.14.0-427.13.1.el9_4
- kernel-rt RHEL 9 5.14.0-427.13.1.el9_4
- kernel-64k RHEL 9 5.14.0-427.13.1.el9_4
red hat advisories RHSA-2026:65710RHSA-2026:63189RHSA-2026:61692RHSA-2024:4447RHSA-2024:2394RHSA-2024:3138
- kernel-64kb SLES 15 SP4-LTSS, SLE High Performance Computing 15 SP4-LTSS, SLE High Performance Computing 15 SP4-ESPOS 5.14.21-150400.24.170.2
- kernel-syms SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE High Performance Computing 15 SP4-LTSS +3 more 5.14.21-150400.24.170.1
- kernel-source SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE High Performance Computing 15 SP4-LTSS +3 more 5.14.21-150400.24.170.1
- kernel-default SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE Micro 5.4 +6 more 5.14.21-150400.24.170.2
- kernel-zfcpdump SLES 15 SP4-LTSS, Manager Server 4.3 5.14.21-150400.24.170.2
- kernel-obs-build SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE High Performance Computing 15 SP4-LTSS +1 more 5.14.21-150400.24.170.2
- kernel-default-base SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE Micro 5.4 +5 more 5.14.21-150400.24.170.2.150400.24.86.2
- kernel-rt SLE Micro 5.4, SLE Micro 5.3 5.14.21-150400.15.124.1
suse advisories SUSE-SU-2025:02537-1SUSE-SU-2025:02322-1SUSE-SU-2025:02321-1SUSE-SU-2025:02264-1SUSE-SU-2025:20192-1SUSE-SU-2025:20270-1
- git.kernel.org/stable/c/94313a196b44184b5b52c1876da6a537701b425a commit
- git.kernel.org/stable/c/1da4874d05da1526b11b82fc7f3c7ac38749ddf8 commit
- git.kernel.org/stable/c/b15ea4017af82011dd55225ce77cce3d4dfc169c commit
- git.kernel.org/stable/c/7c7e658a36f8b1522bd3586d8137e5f93a25ddc5 commit
- git.kernel.org/stable/c/59dab3bf0b8fc08eb802721c0532f13dd89209b8 commit
- git.kernel.org/stable/c/bd156ce9553dcaf2d6ee2c825d1a5a1718e86524 commit
- git.kernel.org/stable/c/24138933b97b055d486e8064b4a1721702442a9b commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-52924 updated cvss 5.5
kernel: netfilter: nf_tables: don't skip expired elements during walk
-
Red Hat Enterprise Linux 8 kernel-rt, kernel-rt-kvm, kernel-rt-core, kernel-rt-modules, kernel-rt-debug-kvm, kernel-rt-debug-core, +6 more Red Hat Enterprise Linux 9 kernel-rt, kernel-rt-kvm, kernel-rt-core, kernel-rt-modules, kernel-rt-debug-kvm, kernel-rt-debug-core, +12 moreaffected: no fix available “Fix deferred”
-
Red Hat CodeReady Linux Builder EUS (v.9.0) kernel-debuginfo-common-s390x 5.14.0-70.101.1.el9_0, kernel-debuginfo-common-x86_64 5.14.0-70.101.1.el9_0, kernel-debuginfo-common-aarch64 5.14.0-70.101.1.el9_0, kernel-debuginfo-common-ppc64le 5.14.0-70.101.1.el9_0fixed: vendor fix RHSA-2024:3421
-
Red Hat CodeReady Linux Builder EUS (v.9.2) kernel-debuginfo-common-s390x 5.14.0-284.55.1.el9_2, kernel-debuginfo-common-x86_64 5.14.0-284.55.1.el9_2, kernel-debuginfo-common-aarch64 5.14.0-284.55.1.el9_2, kernel-debuginfo-common-ppc64le 5.14.0-284.55.1.el9_2fixed: vendor fix RHSA-2024:1018
-
Red Hat Enterprise Linux AppStream (v. 9) rv 5.14.0-427.13.1.el9_4, perf 5.14.0-427.13.1.el9_4, rtla 5.14.0-427.13.1.el9_4, kernel-devel-matched 5.14.0-427.13.1.el9_4, kernel-64k-devel-matched 5.14.0-427.13.1.el9_4, kernel-debug-devel-matched 5.14.0-427.13.1.el9_4, +6 morefixed: vendor fix RHSA-2024:2394
-
Red Hat Enterprise Linux AppStream EUS (v.9.0) perf 5.14.0-70.101.1.el9_0, kernel-devel-matched 5.14.0-70.101.1.el9_0, kernel-debug-devel-matched 5.14.0-70.101.1.el9_0, kernel-debuginfo-common-s390x 5.14.0-70.101.1.el9_0, kernel-zfcpdump-devel-matched 5.14.0-70.101.1.el9_0, kernel-debuginfo-common-x86_64 5.14.0-70.101.1.el9_0, +2 morefixed: vendor fix RHSA-2024:3421
-
Red Hat Enterprise Linux AppStream EUS (v.9.2) perf 5.14.0-284.55.1.el9_2, rtla 5.14.0-284.55.1.el9_2, kernel-devel-matched 5.14.0-284.55.1.el9_2, kernel-64k-devel-matched 5.14.0-284.55.1.el9_2, kernel-debug-devel-matched 5.14.0-284.55.1.el9_2, kernel-debuginfo-common-s390x 5.14.0-284.55.1.el9_2, +5 morefixed: vendor fix RHSA-2024:1018
-
Red Hat Enterprise Linux BaseOS (v. 8) perf 4.18.0-553.el8_10, kernel 4.18.0-553.el8_10, bpftool 4.18.0-553.el8_10, kernel-core 4.18.0-553.el8_10, kernel-tools 4.18.0-553.el8_10, python3-perf 4.18.0-553.el8_10, +15 morefixed: vendor fix RHSA-2024:3138
-
Red Hat Enterprise Linux BaseOS (v. 9) bpftool 7.3.0-427.13.1.el9_4, kernel 5.14.0-427.13.1.el9_4, kernel-64k 5.14.0-427.13.1.el9_4, kernel-core 5.14.0-427.13.1.el9_4, kernel-tools 5.14.0-427.13.1.el9_4, python3-perf 5.14.0-427.13.1.el9_4, +28 morefixed: vendor fix RHSA-2024:2394
show 12 moreshow fewer
-
Red Hat Enterprise Linux BaseOS AUS (v.8.4) perf 4.18.0-305.206.1.el8_4, kernel 4.18.0-305.206.1.el8_4, bpftool 4.18.0-305.206.1.el8_4, kernel-core 4.18.0-305.206.1.el8_4, kernel-tools 4.18.0-305.206.1.el8_4, python3-perf 4.18.0-305.206.1.el8_4, +8 morefixed: vendor fix RHSA-2026:65710
-
Red Hat Enterprise Linux BaseOS AUS (v.8.6) perf 4.18.0-372.111.1.el8_6, kernel 4.18.0-372.111.1.el8_6, bpftool 4.18.0-372.111.1.el8_6, kernel-core 4.18.0-372.111.1.el8_6, kernel-tools 4.18.0-372.111.1.el8_6, python3-perf 4.18.0-372.111.1.el8_6, +8 more Red Hat Enterprise Linux BaseOS E4S (v.8.6) perf 4.18.0-372.111.1.el8_6, kernel 4.18.0-372.111.1.el8_6, bpftool 4.18.0-372.111.1.el8_6, kernel-core 4.18.0-372.111.1.el8_6, kernel-tools 4.18.0-372.111.1.el8_6, python3-perf 4.18.0-372.111.1.el8_6, +15 morefixed: vendor fix RHSA-2024:4447
-
Red Hat Enterprise Linux BaseOS EUS (v.9.0) kernel 5.14.0-70.101.1.el9_0, bpftool 5.14.0-70.101.1.el9_0, kernel-core 5.14.0-70.101.1.el9_0, kernel-tools 5.14.0-70.101.1.el9_0, python3-perf 5.14.0-70.101.1.el9_0, kernel-modules 5.14.0-70.101.1.el9_0, +14 morefixed: vendor fix RHSA-2024:3421
-
Red Hat Enterprise Linux BaseOS EUS (v.9.2) bpftool 7.0.0-284.55.1.el9_2, kernel 5.14.0-284.55.1.el9_2, kernel-64k 5.14.0-284.55.1.el9_2, kernel-core 5.14.0-284.55.1.el9_2, kernel-tools 5.14.0-284.55.1.el9_2, python3-perf 5.14.0-284.55.1.el9_2, +28 morefixed: vendor fix RHSA-2024:1018
-
Red Hat Enterprise Linux BaseOS EUS EXTENSION (v.8.4) perf 4.18.0-305.206.1.el8_4, kernel 4.18.0-305.206.1.el8_4, bpftool 4.18.0-305.206.1.el8_4, kernel-core 4.18.0-305.206.1.el8_4, kernel-tools 4.18.0-305.206.1.el8_4, python3-perf 4.18.0-305.206.1.el8_4, +8 morefixed: vendor fix RHSA-2026:65710
-
Red Hat Enterprise Linux BaseOS TUS (v.8.6) perf 4.18.0-372.111.1.el8_6, kernel 4.18.0-372.111.1.el8_6, bpftool 4.18.0-372.111.1.el8_6, kernel-core 4.18.0-372.111.1.el8_6, kernel-tools 4.18.0-372.111.1.el8_6, python3-perf 4.18.0-372.111.1.el8_6, +8 morefixed: vendor fix RHSA-2024:4447
-
Red Hat Enterprise Linux CRB (v. 8) kernel-debuginfo-common-x86_64 4.18.0-553.el8_10, kernel-debuginfo-common-aarch64 4.18.0-553.el8_10, kernel-debuginfo-common-ppc64le 4.18.0-553.el8_10fixed: vendor fix RHSA-2024:3138
-
Red Hat Enterprise Linux CRB (v. 9) libperf 5.14.0-427.13.1.el9_4, kernel-debuginfo-common-s390x 5.14.0-427.13.1.el9_4, kernel-debuginfo-common-x86_64 5.14.0-427.13.1.el9_4, kernel-debuginfo-common-aarch64 5.14.0-427.13.1.el9_4, kernel-debuginfo-common-ppc64le 5.14.0-427.13.1.el9_4fixed: vendor fix RHSA-2024:2394
-
Red Hat Enterprise Linux for Real Time (v. 7 ELS) kernel-rt 3.10.0-1160.159.1.rt56.1311.el7, kernel-rt-trace 3.10.0-1160.159.1.rt56.1311.el7, kernel-rt-debuginfo-common-x86_64 3.10.0-1160.159.1.rt56.1311.el7fixed: vendor fix RHSA-2026:63189
-
Red Hat Enterprise Linux NFV (v. 9) kernel-rt 5.14.0-427.13.1.el9_4, kernel-rt-kvm 5.14.0-427.13.1.el9_4, kernel-rt-core 5.14.0-427.13.1.el9_4, kernel-rt-modules 5.14.0-427.13.1.el9_4, kernel-rt-debug-kvm 5.14.0-427.13.1.el9_4, kernel-rt-debug-core 5.14.0-427.13.1.el9_4, +6 more Red Hat Enterprise Linux RT (v. 9) kernel-rt 5.14.0-427.13.1.el9_4, kernel-rt-core 5.14.0-427.13.1.el9_4, kernel-rt-modules 5.14.0-427.13.1.el9_4, kernel-rt-debug-core 5.14.0-427.13.1.el9_4, kernel-rt-modules-core 5.14.0-427.13.1.el9_4, kernel-rt-debug-modules 5.14.0-427.13.1.el9_4, +4 morefixed: vendor fix RHSA-2024:2394
-
Red Hat Enterprise Linux Server (v. 7 ELS) perf 3.10.0-1160.159.1.el7, kernel 3.10.0-1160.159.1.el7, bpftool 3.10.0-1160.159.1.el7, python-perf 3.10.0-1160.159.1.el7, kernel-kdump 3.10.0-1160.159.1.el7, kernel-tools 3.10.0-1160.159.1.el7, +7 more Red Hat Enterprise Linux Server Optional (v. 7 ELS) kernel-debuginfo-common-ppc64 3.10.0-1160.159.1.el7, kernel-debuginfo-common-x86_64 3.10.0-1160.159.1.el7, kernel-debuginfo-common-ppc64le 3.10.0-1160.159.1.el7fixed: vendor fix RHSA-2026:61692
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 10 kernelnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 3 d ago
Exploit prediction
0.21% chance of exploitation in the next 30 days, higher than 11% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected products
- Linux Linux
Classification
- Technology feeds
References
-
git.kernel.org
/stable/c/94313a196b44184b5b52c1876da6a537701b425a
patch
-
git.kernel.org
/stable/c/1da4874d05da1526b11b82fc7f3c7ac38749ddf8
patch
-
git.kernel.org
/stable/c/b15ea4017af82011dd55225ce77cce3d4dfc169c
patch
-
git.kernel.org
/stable/c/7c7e658a36f8b1522bd3586d8137e5f93a25ddc5
patch
-
git.kernel.org
/stable/c/59dab3bf0b8fc08eb802721c0532f13dd89209b8
patch
-
git.kernel.org
/stable/c/bd156ce9553dcaf2d6ee2c825d1a5a1718e86524
patch
-
git.kernel.org
/stable/c/24138933b97b055d486e8064b4a1721702442a9b
patch
Sources
- CVE List CVE-2023-52924
- NVD CVE-2023-52924
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.