# CVE-2026-98099: ipv6: mcast: use rcu_assign_pointer() for __rcu list updates

- Severity: Medium 4.7 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.11%, higher than 0% of CVEs (2026-11-28)
- Published: 2026-09-25T10:24:28.929Z
- Modified: 2026-10-28T19:12:29.760Z
- Weaknesses: CWE-362
- Assigned by: Linux

## 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().

(As written by CVE List.)

## Affected

- Linux Linux: from 456b61bca8ee324ab6c18b065e632c9a8c88aa39 before 0e3e3cec28c4d1bf29948da40b4e9e5d44f7852b; from 456b61bca8ee324ab6c18b065e632c9a8c88aa39 before 49d7e1b456ba2f3ee08b3e264d999c09992cde8e; from 456b61bca8ee324ab6c18b065e632c9a8c88aa39 before afca229b39acc2590976b3e4f6e0fe76cededc60; from 456b61bca8ee324ab6c18b065e632c9a8c88aa39 before 2e46b0c9fcf7e10b64ce1630b925f47918d1f7f6; from 456b61bca8ee324ab6c18b065e632c9a8c88aa39 before 0c8f56c583c3250408367880c98e4d6fbc929315; 2.6.38 (not affected: before 2.6.38; from 6.6.160 up to 6.6.*; from 6.12.114 up to 6.12.*; from 6.18.57 up to 6.18.*; from 7.2.7 up to 7.2.*; from 7.3 up to *)
- linux linux_kernel: from 2.6.38 before 6.6.160; from 6.7 before 6.12.114; from 6.13 before 6.18.57; from 6.19 before 7.2.7; 7.3

## References

- <https://git.kernel.org/stable/c/0e3e3cec28c4d1bf29948da40b4e9e5d44f7852b> (patch)
- <https://git.kernel.org/stable/c/49d7e1b456ba2f3ee08b3e264d999c09992cde8e> (patch)
- <https://git.kernel.org/stable/c/afca229b39acc2590976b3e4f6e0fe76cededc60> (patch)
- <https://git.kernel.org/stable/c/2e46b0c9fcf7e10b64ce1630b925f47918d1f7f6> (patch)
- <https://git.kernel.org/stable/c/0c8f56c583c3250408367880c98e4d6fbc929315> (patch)

## Sources

- CVE List: [CVE-2026-98099](https://www.cve.org/CVERecord?id=CVE-2026-98099), CVE Terms of Use, modified 2026-10-21
- NVD: [CVE-2026-98099](https://nvd.nist.gov/vuln/detail/CVE-2026-98099), Public domain, modified 2026-10-28

---

Page: https://cve.day/CVE-2026-98099 · Whole record: https://cve.day/CVE-2026-98099.json · Rebuilt by cve.day 2026-11-25T22:59:41.059Z
