- Accueil
- Vulnérabilités
- CVE-2026-98103
CVE-2026-98103
igmp: convert struct ip_sf_list to RCU
Résumé
In the Linux kernel, the following vulnerability has been resolved: igmp: convert struct ip_sf_list to RCU Commit 23d2b94043ca ("igmp: Add ip_mc_list lock in ip_check_mc_rcu") added spin_lock_bh(&im->lock) to ip_check_mc_rcu() to prevent a use-after-free while iterating im->sources during concurrent deletions. However, ip_check_mc_rcu() is called from RCU read-side critical sections in packet receive and route lookup fast paths (e.g. __mkroute_output(), ip_route_input_rcu(), and __udp4_lib_rcv()). When igmpv3_send_cr() or igmpv3_send_report() holds &pmc->lock and calls add_grec() -> igmpv3_newpack() -> ip_route_output_ports(), an XFRM policy matching a multicast destination triggers xfrm_tmpl_resolve_one() -> xfrm4_get_saddr() -> __mkroute_output() -> ip_check_mc_rcu(). This attempts to acquire &im->lock while &pmc->lock is already held on the same CPU, triggering a lockdep recursive locking warning / deadlock. Fix this by converting IPv4 struct ip_sf_list to RCU, mirroring the IPv6 implementation in net/ipv6/mcast.c: 1. Add struct rcu_head to struct ip_sf_list and annotate sf_next, sources, and tomb as __rcu pointers. 2. Use rcu_assign_pointer() and kfree_rcu() for list updates and deletions. 3. Remove spin_lock_bh(&im->lock) from ip_check_mc_rcu() and traverse im->sources locklessly with for_each_psf_rcu(), reading and writing counter fields with READ_ONCE() and WRITE_ONCE(). Note: RCU conversion of /proc/net/mcfilter will be done in a separate patch.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Linux (21 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| Linux | de 4.4.284 (inclus) à 4.5 (exclu) |
— | CNA (éditeur ou attributeur) |
| Linux | de 4.9.283 (inclus) à 4.10 (exclu) |
— | CNA (éditeur ou attributeur) |
| Linux | de 4.14.247 (inclus) à 4.15 (exclu) |
— | CNA (éditeur ou attributeur) |
| Linux | de 4.19.207 (inclus) à 4.20 (exclu) |
— | CNA (éditeur ou attributeur) |
| Linux | de 5.4.145 (inclus) à 5.5 (exclu) |
— | CNA (éditeur ou attributeur) |
| Linux | de 5.10.64 (inclus) à 5.11 (exclu) |
— | CNA (éditeur ou attributeur) |
| Linux | de 5.13.16 (inclus) à 5.14 (exclu) |
— | CNA (éditeur ou attributeur) |
| Linux | de 5.14.3 (inclus) à 5.15 (exclu) |
— | CNA (éditeur ou attributeur) |
| Linux | 5.15 |
— | CNA (éditeur ou attributeur) |
| Linux kernel | de 4.4.284 (inclus) à 4.5 (exclu) |
— | NVD |
| Linux kernel | de 4.9.283 (inclus) à 4.10 (exclu) |
— | NVD |
| Linux kernel | de 4.14.247 (inclus) à 4.15 (exclu) |
— | NVD |
| Linux kernel | de 4.19.207 (inclus) à 4.20 (exclu) |
— | NVD |
| Linux kernel | de 5.4.145 (inclus) à 5.5 (exclu) |
— | NVD |
| Linux kernel | de 5.10.64 (inclus) à 5.11 (exclu) |
— | NVD |
| Linux kernel | de 5.13.16 (inclus) à 5.14 (exclu) |
— | NVD |
| Linux kernel | de 5.14.3 (inclus) à 6.6.160 (exclu) |
— | NVD |
| Linux kernel | de 6.7 (inclus) à 6.12.111 (exclu) |
— | NVD |
| Linux kernel | de 6.13 (inclus) à 6.18.53 (exclu) |
— | NVD |
| Linux kernel | de 6.19 (inclus) à 7.2.7 (exclu) |
— | NVD |
| Linux kernel | 7.3 |
— | NVD |
Correctif
Non renseigné par l’éditeur.
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Aucune méthode de vérification renseignée.
Chronologie
- — Publication de la CVE (cve)
- — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1289)
- — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1385)
- — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1469)
- — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1537)
- — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1596)
Avis CERT-FR
- CERTFR-2026-AVI-1596 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu (20 novembre 2026) 20 nov. 2026
- CERTFR-2026-AVI-1537 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu (13 novembre 2026) 13 nov. 2026
- CERTFR-2026-AVI-1469 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu (06 novembre 2026) 6 nov. 2026
- CERTFR-2026-AVI-1385 — Multiples vulnérabilités dans les produits VMware (26 octobre 2026) 26 oct. 2026
- CERTFR-2026-AVI-1289 — Multiples vulnérabilités dans le noyau Linux de Debian LTS (09 octobre 2026) 9 oct. 2026
Références
- https://git.kernel.org/stable/c/2987ee196c88dbde0463dc87d5fb209c684e34a2Patch
- https://git.kernel.org/stable/c/d3011d1f293478c730aa0870490afa145c37600ePatch
- https://git.kernel.org/stable/c/e3206419bdb04e2087d8cc6be324df8639b3fac5Patch
- https://git.kernel.org/stable/c/f5182dfad54277267a8cb0c004a9cd4cf35aeebbPatch
- https://git.kernel.org/stable/c/01131daffc4b64f1652e23dc3e6e2f601eda781dPatch
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)
- Score CVSS
- NVD
- Faiblesse (CWE)
- NVD
- Vecteur CVSS
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H(CVSS 3.1, NVD)- Faiblesse
- CWE-416 · Corruption mémoire