2084AI Security Observatory

CVE

CVE-2024-39503

CVE-2024-39503HIGH 7.0EPSS 12%

CNA 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).

Affected versions

All Linux kernel vulnerabilities →

  • 6.10-rc3This version only
  • 6.10-rc2This version only
  • 6.10-rc1This version only
  • ≥ 6.8.1, < 6.9.6Fixed in 6.9.6
  • 6.8This version only
  • 6.8-rc7This version only
  • 6.8-rc6This version only
  • 6.8-rc5This version only
  • 6.8-rc4This version only
  • 6.8-rc3This version only
  • ≥ 6.7.6, < 6.8Fixed in 6.8
  • ≥ 6.6.18, < 6.6.35Fixed in 6.6.35
  • ≥ 6.1.79, < 6.1.95Fixed in 6.1.95
  • ≥ 5.15.149, < 5.15.162Fixed in 5.15.162
  • ≥ 5.10.210, < 5.10.221Fixed in 5.10.221
  • ≥ 5.4.269, < 5.4.279Fixed in 5.4.279

Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.

Advisories and patches

Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.