CVE-2024-39503 In the Linux kernel, the following vulnerability has been resolved: netfilter: ipset: Fix race between namespace cleanup…
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).
Produits et versions touchés
| Produit | Versions touchées | Corrigé en |
|---|---|---|
| Linux 6.10 | premières → < 6.10 | 6.10 |
| Linux 6.9 | premières → < 6.9.6 | 6.9.6 |
| Linux | 6.8 | Pas de correctif indiqué |
| Linux 6.6 | premières → < 6.6.35 | 6.6.35 |
| Linux 6.1 | premières → < 6.1.95 | 6.1.95 |
| Linux 5.15 | premières → < 5.15.162 | 5.15.162 |
| Linux 5.10 | premières → < 5.10.221 | 5.10.221 |
| Linux 5.4 | premières → < 5.4.279 | 5.4.279 |
| RUGGEDCOM RST2428P 3.1 | premières → < 3.1 | 3.1 |
Afficher les 3 autres branches Masquer les 3 autres branches
| Produit | Versions touchées | Corrigé en |
|---|---|---|
| SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family | Versions non publiées | |
| SCALANCE XCM-/XRM-/XCH-/XRH-300 family 3.1 | premières → < 3.1 | 3.1 |
| SIMATIC S7-1500 TM MFP - GNU/Linux subsystem 1.1 | premières → < 1.1.1 | 1.1.1 |
Références
- git.kernel.org git.kernel.org
- git.kernel.org git.kernel.org
- git.kernel.org git.kernel.org
- git.kernel.org git.kernel.org
- git.kernel.org git.kernel.org
- git.kernel.org git.kernel.org
- git.kernel.org git.kernel.org
Chronologie
- Publiée
- Dernière modification