Description
In the Linux kernel, the following vulnerability has been resolved: ipv6: mcast: fix RCU list diversion in ip6_mc_del1_src() When removing a source filter whose count reaches zero, ip6_mc_del1_src() unlinks psf from pmc->mca_sources. If the filter was previously active, the code moved psf directly into pmc->mca_tomb by updating psf->sf_next. Because pmc->mca_sources is traversed locklessly under RCU (e.g. by ipv6_chk_mcast_addr()), mutating psf->sf_next before a grace period elapses diverts concurrent readers to the tombstone list. Consequently, readers miss remaining active sources in pmc->mca_sources and improperly examine deleted tombstone entries. Fix this by allocating a new tombstone node for pmc->mca_tomb (as done in sf_setstate()) and retiring the original psf via kfree_rcu().
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
4b200e398953c237c86d32bf26d4cb2a96556a6f to < c3343cd7ec8706c221e52b782f386b9af14a928aaffected4b200e398953c237c86d32bf26d4cb2a96556a6f to < 4352737297b262e8367675c19a7dc6a9f53c97afaffected4b200e398953c237c86d32bf26d4cb2a96556a6f to < 8d4fe5c13f5056faa6deb09a90e24a89f9ebfad4affected4b200e398953c237c86d32bf26d4cb2a96556a6f to < 5149c60c406595b56fda0c6e9aae7fd287f636aaaffected4b200e398953c237c86d32bf26d4cb2a96556a6f to < 93b49239840b91313adbd77b8b52993eff2d08c1affected86c49119f0353f857cc08030ec9e4ebaab3d5a64affected5.10.261 to < 5.11affected
Linux Linux
Default version status: affected
5.13affected0 to < 5.13unaffected6.6.158 to ≤ 6.6.*unaffected6.12.111 to ≤ 6.12.*unaffected6.18.53 to ≤ 6.18.*unaffected7.2.7 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/c3343cd7ec8706c221e52b782f386b9af14a928a ↗
- https://git.kernel.org/stable/c/4352737297b262e8367675c19a7dc6a9f53c97af ↗
- https://git.kernel.org/stable/c/8d4fe5c13f5056faa6deb09a90e24a89f9ebfad4 ↗
- https://git.kernel.org/stable/c/5149c60c406595b56fda0c6e9aae7fd287f636aa ↗
- https://git.kernel.org/stable/c/93b49239840b91313adbd77b8b52993eff2d08c1 ↗