CVE-2024-39503
HighIn 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 3.1 score
7.0
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness type
CWE-362CVE-2024-39503 is a Race Condition vulnerability
What is Race Condition?
The product contains a code sequence that can run concurrently with other code, creating unexpected states. Learn more on MITRE CWE
Affected versions
Linux kernel versions
5.4.269,
5.10.210,
5.15.149,
6.1.79,
6.6.18,
6.7.6,
6.8
and later are affected. Fixed in
5.4.279,
5.10.221,
5.15.162,
6.1.95,
6.6.35,
6.9.6,
6.10
and their respective stable series.
References
11 total-
Patch
-
Patch
-
Patch
-
Patch
-
Patch
Frequently asked questions
-
What is CVE-2024-39503?
CVE-2024-39503 is a High severity Linux kernel vulnerability with a CVSS score of 7.0 out of 10 , classified as a Race Condition flaw (CWE-362) . It affects Linux kernel versions from 5.4.269 onward and has been patched in 5.4.279, 5.10.221, 5.15.162 and others. CVE-2024-39503 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.
-
What is the CVSS score for CVE-2024-39503?
CVE-2024-39503 has a CVSS score of 7.0 out of 10, rated High severity (CVSS 3.1). The vector string is
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H. -
Is there a patch available for CVE-2024-39503?
Yes. CVE-2024-39503 has been patched. Fixed versions include 5.4.279, 5.10.221, 5.15.162 and others. If you are running Linux kernel 5.4.269 or later up to the fix versions, apply the relevant patch for your kernel branch.
-
Is CVE-2024-39503 actively exploited?
No. CVE-2024-39503 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.