CVE-2024-39503: netfilter: ipset: Fix race between namespace cleanup and gc in the list:set type
Vulnerability summary
CVE-2024-39503 is a high (CVSS 7.8) vulnerability in linux. EPSS estimates a 0.22% chance of exploitation in the next 30 days, higher than 13.2% of scored vulnerabilities.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 25 · Related 19Timeline
- 12-07-2024PublishedVulnerability first disclosed.
- 15-10-2026Last modifiedVulnerability information updated.
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).
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.0HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HDiffers
- NVDNIST7.0HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HDiffers
EPSS trend
Probability
0.22%
Chance of exploitation in the next 30 days
Percentile
13%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.22% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-362Concurrent Execution using Shared Resource with Improper SynchronizationThe product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently.
- CWE-416Use After FreeThe product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
Affected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu119 products
- linux< 5.4.0-195.215 | < 5.15.0-121.131 | < 6.8.0-44.44
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 5.4.0-1132.142 | < 5.15.0-1069.75 | < 6.8.0-1015.16
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ c7f2733e5011bfd136f1ca93497394d43aa76225, < c0761d1f1ce1d5b85b5e82bbb714df12de1aa8c3 | ≥ a24d5f2ac8ef702a58e55ec276aad29b4bd97e05, < 93b53c202b51a69e42ca57f5a183f7e008e19f83 | ≥ c2dc077d8f722a1c73a24e674f925602ee5ece49, < 0f1bb77c6d837c9513943bc7c08f04c5cc5c6568 | ≥ 653bc5e6d9995d7d5f497c665b321875a626161c, < 390b353d1a1da3e9c6c0fd14fe650d69063c95d6 | ≥ b93a6756a01f4fd2f329a39216f9824c56a66397, < 2ba35b37f780c6410bb4bba9c3072596d8576702 | ≥ 97f7cf1cd80eeed3b7c808b7c12463295c751001, < 90ae20d47de602198eb69e6cd7a3db3420abfc08 | ≥ 97f7cf1cd80eeed3b7c808b7c12463295c751001, < 4e7aaa6b82d63e8ddcbfb56b4fd3d014ca586f10 | 970709a67696b100a57b33af1a3d75fc34b747eb | ≥ 5.4.269, < 5.4.279 | ≥ 5.10.210, < 5.10.221 | ≥ 5.15.149, < 5.15.162 | ≥ 6.1.79, < 6.1.95 | ≥ 6.6.18, < 6.6.35 | ≥ 6.7.6, < 6.8 | 6.8
- linux_kernelEOL≥ 5.4.269, < 5.4.279 | ≥ 5.10.210, < 5.10.221 | ≥ 5.15.149, < 5.15.162 | ≥ 6.1.79, < 6.1.95 | ≥ 6.6.18, < 6.6.35 | ≥ 6.7.6, < 6.8 | ≥ 6.8.1, < 6.9.6 | 6.8 | 6.8:rc3 | 6.8:rc4 | 6.8:rc5 | 6.8:rc6 | 6.8:rc7 | 6.10:rc1 | 6.10:rc2 | 6.10:rc3
Debian1 product
- linux< 6.1.99-1 | < 6.9.7-1
3 vendors · 122 products