Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-39503

published high CVSS 3.1 · 7.8

netfilter: ipset: Fix race between namespace cleanup and gc in the list:set type

Published
12 Jul 2024, 12:20:36 UTC
Updated
15 Oct 2026, 00:44:40 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxc7f2733e5011bfd136f1ca93497394d43aa76225 to < c0761d1f1ce1d5b85b5e82bbb714df12de1aa8c3 · a24d5f2ac8ef702a58e55ec276aad29b4bd97e05 to < 93b53c202b51a69e42ca57f5a183f7e008e19f83 · c2dc077d8f722a1c73a24e674f925602ee5ece49 to < 0f1bb77c6d837c9513943bc7c08f04c5cc5c6568 · 653bc5e6d9995d7d5f497c665b321875a626161c to < 390b353d1a1da3e9c6c0fd14fe650d69063c95d6 · b93a6756a01f4fd2f329a39216f9824c56a66397 to < 2ba35b37f780c6410bb4bba9c3072596d8576702 · 97f7cf1cd80eeed3b7c808b7c12463295c751001 to < 90ae20d47de602198eb69e6cd7a3db3420abfc08 · 97f7cf1cd80eeed3b7c808b7c12463295c751001 to < 4e7aaa6b82d63e8ddcbfb56b4fd3d014ca586f10 · 970709a67696b100a57b33af1a3d75fc34b747eb · 5.4.269 to < 5.4.279 · 5.10.210 to < 5.10.221 · 5.15.149 to < 5.15.162 · 6.1.79 to < 6.1.95 · 6.6.18 to < 6.6.35 · 6.7.6 to < 6.8 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.8 (affected) · 0 to < 6.8 (unaffected · semver) · 5.4.279 through 5.4.* (unaffected · semver) · 5.10.221 through 5.10.* (unaffected · semver) · 5.15.162 through 5.15.* (unaffected · semver) · 6.1.95 through 6.1.* (unaffected · semver) · 6.6.35 through 6.6.* (unaffected · semver) · 6.9.6 through 6.9.* (unaffected · semver) · 6.10 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Siemens — RUGGEDCOM RST2428P0 to < V3.1 · Other versions: unknown Affected Not stated siemens-SADP
Siemens — SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family0 and later · Other versions: unknown Unaffected Not stated siemens-SADP
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2024-066 Fixed Not stated Amazon Linux assessment
AlmaLinux 8 bpftool Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
Debian bookworm linux Advisory build 6.1.99-1 DSA-5731-1
Show 103 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Siemens — SCALANCE XCM-/XRM-/XCH-/XRH-300 family0 to < V3.1 · Other versions: unknown Affected Not stated siemens-SADP
Siemens — SIMATIC S7-1500 TM MFP - GNU/Linux subsystem0 to < V1.1.1 · Other versions: unknown Affected Not stated siemens-SADP
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.15-2024-053 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.4-2024-084 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluationALAS2023-2025-836 Fixed Not stated Amazon Linux assessment
Oracle Linux 7 kernel-uekaarch64 Advisory build 0:5.4.17-2136.334.6.el7uek ELSA-2024-12581
AlmaLinux 8 kernel Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-abi-stablelists Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-core Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-cross-headers Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-debug Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-debug-core Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-debug-devel Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-debug-modules Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-debug-modules-extra Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-devel Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-doc Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-headers Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-modules Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-modules-extra Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-rt Advisory build 4.18.0-553.27.1.rt7.368.el8_10 ALSA-2024:8870
AlmaLinux 8 kernel-rt-core Advisory build 4.18.0-553.27.1.rt7.368.el8_10 ALSA-2024:8870
AlmaLinux 8 kernel-rt-debug Advisory build 4.18.0-553.27.1.rt7.368.el8_10 ALSA-2024:8870
AlmaLinux 8 kernel-rt-debug-core Advisory build 4.18.0-553.27.1.rt7.368.el8_10 ALSA-2024:8870
AlmaLinux 8 kernel-rt-debug-devel Advisory build 4.18.0-553.27.1.rt7.368.el8_10 ALSA-2024:8870
AlmaLinux 8 kernel-rt-debug-modules Advisory build 4.18.0-553.27.1.rt7.368.el8_10 ALSA-2024:8870
AlmaLinux 8 kernel-rt-debug-modules-extra Advisory build 4.18.0-553.27.1.rt7.368.el8_10 ALSA-2024:8870
AlmaLinux 8 kernel-rt-devel Advisory build 4.18.0-553.27.1.rt7.368.el8_10 ALSA-2024:8870
AlmaLinux 8 kernel-rt-modules Advisory build 4.18.0-553.27.1.rt7.368.el8_10 ALSA-2024:8870
AlmaLinux 8 kernel-rt-modules-extra Advisory build 4.18.0-553.27.1.rt7.368.el8_10 ALSA-2024:8870
AlmaLinux 8 kernel-tools Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-tools-libs Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-tools-libs-devel Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-zfcpdump Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-zfcpdump-core Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-zfcpdump-devel Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-zfcpdump-modules Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 kernel-zfcpdump-modules-extra Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 perf Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
AlmaLinux 8 python3-perf Advisory build 4.18.0-553.27.1.el8_10 ALSA-2024:8856
Debian bullseye linux Advisory build 5.10.221-1 DSA-5730-1
Debian bullseye linux-6.1 Advisory build 6.1.119-1~deb11u1 DLA-4008-1
Oracle Linux 7 kernel-uekx86_64 Advisory build 0:5.4.17-2136.334.6.el7uek ELSA-2024-12581
Oracle Linux 7 kernel-uek-containerx86_64 Advisory build 0:5.4.17-2136.334.6.el7 ELSA-2024-12585
Oracle Linux 7 kernel-uek-container-debugx86_64 Advisory build 0:5.4.17-2136.334.6.el7 ELSA-2024-12585
Oracle Linux 7 kernel-uek-debugaarch64 Advisory build 0:5.4.17-2136.334.6.el7uek ELSA-2024-12581
Oracle Linux 7 kernel-uek-debugx86_64 Advisory build 0:5.4.17-2136.334.6.el7uek ELSA-2024-12581
Oracle Linux 7 kernel-uek-debug-develaarch64 Advisory build 0:5.4.17-2136.334.6.el7uek ELSA-2024-12581
Oracle Linux 7 kernel-uek-debug-develx86_64 Advisory build 0:5.4.17-2136.334.6.el7uek ELSA-2024-12581
Oracle Linux 7 kernel-uek-develaarch64 Advisory build 0:5.4.17-2136.334.6.el7uek ELSA-2024-12581
Oracle Linux 7 kernel-uek-develx86_64 Advisory build 0:5.4.17-2136.334.6.el7uek ELSA-2024-12581
Oracle Linux 7 kernel-uek-docaarch64 Advisory build 0:5.4.17-2136.334.6.el7uek ELSA-2024-12581
Oracle Linux 7 kernel-uek-docx86_64 Advisory build 0:5.4.17-2136.334.6.el7uek ELSA-2024-12581
Oracle Linux 7 kernel-uek-toolsaarch64 Advisory build 0:5.4.17-2136.334.6.el7uek ELSA-2024-12581
Oracle Linux 7 kernel-uek-toolsx86_64 Advisory build 0:5.4.17-2136.334.6.el7uek ELSA-2024-12581
Oracle Linux 7 kernel-uek-tools-libsaarch64 Advisory build 0:5.4.17-2136.334.6.el7uek ELSA-2024-12581
Oracle Linux 7 perfaarch64 Advisory build 0:5.4.17-2136.334.6.el7uek ELSA-2024-12581
Oracle Linux 7 python-perfaarch64 Advisory build 0:5.4.17-2136.334.6.el7uek ELSA-2024-12581
Oracle Linux 8 bpftoolaarch64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 bpftoolx86_64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 kernelx86_64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 kernel-abi-stablelistsx86_64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 kernel-corex86_64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 kernel-cross-headersaarch64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 kernel-cross-headersx86_64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 kernel-debugx86_64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 kernel-debug-corex86_64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 kernel-debug-develx86_64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 kernel-debug-modulesx86_64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 kernel-debug-modules-extrax86_64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 kernel-develx86_64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 kernel-docx86_64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 kernel-headersaarch64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 kernel-headersx86_64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 kernel-modulesx86_64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 kernel-modules-extrax86_64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 kernel-toolsaarch64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 kernel-toolsx86_64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 kernel-tools-libsaarch64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 kernel-tools-libsx86_64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 kernel-tools-libs-develaarch64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 kernel-tools-libs-develx86_64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 kernel-uekaarch64 Advisory build 0:5.4.17-2136.334.6.el8uek ELSA-2024-12581
Oracle Linux 8 kernel-uekx86_64 Advisory build 0:5.4.17-2136.334.6.el8uek ELSA-2024-12581
Oracle Linux 8 kernel-uek-containerx86_64 Advisory build 0:5.4.17-2136.334.6.el8 ELSA-2024-12584
Oracle Linux 8 kernel-uek-container-debugx86_64 Advisory build 0:5.4.17-2136.334.6.el8 ELSA-2024-12584
Oracle Linux 8 kernel-uek-debugaarch64 Advisory build 0:5.4.17-2136.334.6.el8uek ELSA-2024-12581
Oracle Linux 8 kernel-uek-debugx86_64 Advisory build 0:5.4.17-2136.334.6.el8uek ELSA-2024-12581
Oracle Linux 8 kernel-uek-debug-develaarch64 Advisory build 0:5.4.17-2136.334.6.el8uek ELSA-2024-12581
Oracle Linux 8 kernel-uek-debug-develx86_64 Advisory build 0:5.4.17-2136.334.6.el8uek ELSA-2024-12581
Oracle Linux 8 kernel-uek-develaarch64 Advisory build 0:5.4.17-2136.334.6.el8uek ELSA-2024-12581
Oracle Linux 8 kernel-uek-develx86_64 Advisory build 0:5.4.17-2136.334.6.el8uek ELSA-2024-12581
Oracle Linux 8 kernel-uek-docaarch64 Advisory build 0:5.4.17-2136.334.6.el8uek ELSA-2024-12581
Oracle Linux 8 kernel-uek-docx86_64 Advisory build 0:5.4.17-2136.334.6.el8uek ELSA-2024-12581
Oracle Linux 8 perfaarch64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 perfx86_64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 python3-perfaarch64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 8 python3-perfx86_64 Advisory build 0:4.18.0-553.27.1.el8_10 ELSA-2024-8856
Oracle Linux 9 bpftoolaarch64 Advisory build 0:7.4.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 bpftoolx86_64 Advisory build 0:7.4.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernelx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-abi-stablelistsx86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315
Oracle Linux 9 kernel-corex86_64 Advisory build 0:5.14.0-503.11.1.el9_5 ELSA-2024-9315

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: netfilter: ipset: Fix race between namespace cleanup and gc in the list:set type Lion Ackermann reported that there is a race condition between namespace cleanup in ipset and the garbage collection of the list:set type. The namespace cleanup can destroy the list:set type of sets while the gc of the set type is waiting to run in rcu cleanup. The latter uses data from the destroyed set which thus leads use after free. The patch contains the following parts: - When destroying all sets, first remove the garbage collectors, then wait if needed and then destroy the sets. - Fix the badly ordered "wait then remove gc" for the destroy a single set case. - Fix the missing rcu locking in the list:set type in the userspace test case. - Use proper RCU list handlings in the list:set type. The patch depends on c1193d9bbbd3 (netfilter: ipset: Add list flush to cancel_gc).

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

42

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.8 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Scenarios
en: AV:L - The vulnerable paths are the ipset nfnetlink command handler (`ip_set_destroy()` via NFNL_SUBSYS_IPSET) and network-namespace teardown (`ip_set_net_exit()`), both of which require local access via a netlink socket or namespace lifecycle. No remote peer data reaches the freed object. AC:L - `cancel_gc()` queues `call_rcu(&e->rcu, __list_set_del_rcu)` and `set` is `kfree()`d immediately afterwards, so the callback is guaranteed to dereference freed memory — the attacker owns both sides (creating the set and issuing destroy/exiting the netns) and can repeat it arbitrarily to win the reclaim. CONFIG_IP_SET is a standard distro module, so no rare configuration is needed. PR:L - `nfnetlink_rcv()` checks `netlink_net_capable(skb, CAP_NET_ADMIN)`, which resolves to `ns_capable(net->user_ns, CAP_NET_ADMIN)`, so any unprivileged user gets it with `unshare -Urn`; ipset state is fully per-netns, and namespace exit is itself an unprivileged-user-controlled event. UI:N - The attacker performs every step alone — create the list:set, add a member, then destroy the set or exit the namespace. No victim action is involved. S:U - The use-after-free corrupts kernel heap memory within the same kernel security authority; there is no VM, IOMMU, or sandbox boundary crossed. C:H - After `struct ip_set` (generic kmalloc-192) is reclaimed and sprayed, `ip_set_ext_destroy()` reads `set->extensions` and `set->offset[IPSET_EXT_ID_COMMENT]` from attacker data, and `ip_set_comment_free()` performs `strlen(c->str)` on the resulting pointer — an arbitrary kernel read usable for full memory disclosure and KASLR defeat. I:H - The same chain yields `kfree_rcu()` on an attacker-chosen address (arbitrary free), an `rcu_assign_pointer(comment->c, NULL)` write, and an arithmetic write into the freed object, giving the write primitives needed for control-flow hijacking and privilege escalation; a stale `module_put()` can additionally leave module text freed under a pending callback. A:H - Even unweaponized, the guaranteed use-after-free on `struct ip_set` and the resulting wild `kfree()` cause slab corruption, oops, or kernel panic, and the trigger can be repeated in a loop by any local user.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux c7f2733e5011bfd136f1ca93497394d43aa76225 to < c0761d1f1ce1d5b85b5e82bbb714df12de1aa8c3 (affected · git)a24d5f2ac8ef702a58e55ec276aad29b4bd97e05 to < 93b53c202b51a69e42ca57f5a183f7e008e19f83 (affected · git)c2dc077d8f722a1c73a24e674f925602ee5ece49 to < 0f1bb77c6d837c9513943bc7c08f04c5cc5c6568 (affected · git)653bc5e6d9995d7d5f497c665b321875a626161c to < 390b353d1a1da3e9c6c0fd14fe650d69063c95d6 (affected · git)b93a6756a01f4fd2f329a39216f9824c56a66397 to < 2ba35b37f780c6410bb4bba9c3072596d8576702 (affected · git)97f7cf1cd80eeed3b7c808b7c12463295c751001 to < 90ae20d47de602198eb69e6cd7a3db3420abfc08 (affected · git)97f7cf1cd80eeed3b7c808b7c12463295c751001 to < 4e7aaa6b82d63e8ddcbfb56b4fd3d014ca586f10 (affected · git)970709a67696b100a57b33af1a3d75fc34b747eb (affected · git)5.4.269 to < 5.4.279 (affected · semver)5.10.210 to < 5.10.221 (affected · semver)5.15.149 to < 5.15.162 (affected · semver)6.1.79 to < 6.1.95 (affected · semver)6.6.18 to < 6.6.35 (affected · semver)6.7.6 to < 6.8 (affected · semver)Default: unaffected Linux · cna
Linux Linux 6.8 (affected)0 to < 6.8 (unaffected · semver)5.4.279 through 5.4.* (unaffected · semver)5.10.221 through 5.10.* (unaffected · semver)5.15.162 through 5.15.* (unaffected · semver)6.1.95 through 6.1.* (unaffected · semver)6.6.35 through 6.6.* (unaffected · semver)6.9.6 through 6.9.* (unaffected · semver)6.10 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna
Siemens RUGGEDCOM RST2428P 0 to < V3.1 (affected · custom)Default: unknown siemens-SADP · adp
Siemens SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family 0 and later (unaffected · custom)Default: unknown siemens-SADP · adp
Siemens SCALANCE XCM-/XRM-/XCH-/XRH-300 family 0 to < V3.1 (affected · custom)Default: unknown siemens-SADP · adp
Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem 0 to < V1.1.1 (affected · custom)Default: unknown siemens-SADP · adp

Weaknesses

0

No weakness assertions.

References

11

Provider assertions

4

Linux · cna

netfilter: ipset: Fix race between namespace cleanup and gc in the list:set type

siemens-SADP · adp

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
1bf9f44380ecce052625a8facff68b92d7b9ed28067da71f8532c28c6f2070f7
Ingested
15 Oct 2026, 13:09:23 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected