ipv6: mcast: use rcu_assign_pointer() for __rcu list updates (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.09 % · percentile 0 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- Affected products
- Linux · Linux
- NVD status
- Analyzed
Description
In the Linux kernel, the following vulnerability has been resolved: ipv6: mcast: use rcu_assign_pointer() for __rcu list updates Several places in net/ipv6/mcast.c update RCU-protected lists (np->ipv6_mc_list, idev->mc_list, idev->mc_tomb) using direct pointer assignments instead of rcu_assign_pointer(): 1. In __ipv6_dev_mc_dec(), unlinking a group from idev->mc_list did: *map = ma->next; without rcu_assign_pointer() while concurrent readers traverse idev->mc_list locklessly under rcu_read_lock(). 2. In ipv6_sock_mc_drop() and __ipv6_sock_mc_close(), unlinking a group from np->ipv6_mc_list directly assigned *lnk = mc_lst->next and np->ipv6_mc_list = mc_lst->next without rcu_assign_pointer(), racing with lockless readers in inet6_mc_check(). 3. In __ipv6_sock_mc_join(), mc_lst->next was initialized to np->ipv6_mc_list via raw assignment before publishing mc_lst. 4. In mld_del_delrec() and __ipv6_dev_mc_inc(), __rcu source pointers passed into rcu_assign_pointer() lacked explicit dereference helpers. Fix these by consistently using rcu_assign_pointer() along with mc_dereference() / sock_dereference().
Weaknesses (CWE)
- CWE-362 — Concurrent Execution using Shared Resource with Improper Synchronization
References
- https://git.kernel.org/stable/c/0e3e3cec28c4d1bf29948da40b4e9e5d44f7852b
- https://git.kernel.org/stable/c/49d7e1b456ba2f3ee08b3e264d999c09992cde8e
- https://git.kernel.org/stable/c/afca229b39acc2590976b3e4f6e0fe76cededc60
- https://git.kernel.org/stable/c/2e46b0c9fcf7e10b64ce1630b925f47918d1f7f6
- https://git.kernel.org/stable/c/0c8f56c583c3250408367880c98e4d6fbc929315
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 4.7 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD · nvd@nist.gov (Primary) |
European references
- ENISA EUVD · EUVD-2026-86929
- GCVE · GCVE-0-2026-98099
CERT-FR advisories
- CERTFR-2026-AVI-1596 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1473 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1469 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 2.6.38 < 6.6.160cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.7 < 6.12.114cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.13 < 6.18.57cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*≥ 6.19 < 7.2.7cpe:2.3:o:linux:linux_kernel:7.3:rc1:*:*:*:*:*:*
Affected products
| Product | Affected versions |
|---|---|
| Linux · Linux | affected : ≥ 456b61bca8ee324ab6c18b065e632c9a8c88aa39 < 0e3e3cec28c4d1bf29948da40b4e9e5d44f7852b affected : ≥ 456b61bca8ee324ab6c18b065e632c9a8c88aa39 < 49d7e1b456ba2f3ee08b3e264d999c09992cde8e affected : ≥ 456b61bca8ee324ab6c18b065e632c9a8c88aa39 < afca229b39acc2590976b3e4f6e0fe76cededc60 affected : ≥ 456b61bca8ee324ab6c18b065e632c9a8c88aa39 < 2e46b0c9fcf7e10b64ce1630b925f47918d1f7f6 affected : ≥ 456b61bca8ee324ab6c18b065e632c9a8c88aa39 < 0c8f56c583c3250408367880c98e4d6fbc929315 Other versions : unaffected |
| Linux · Linux | affected : 2.6.38 unaffected : ≥ 0 < 2.6.38 unaffected : ≥ 6.6.160 ≤ 6.6.* unaffected : ≥ 6.12.114 ≤ 6.12.* unaffected : ≥ 6.18.57 ≤ 6.18.* unaffected : ≥ 7.2.7 ≤ 7.2.* unaffected : ≥ 7.3 ≤ * Other versions : affected |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |