{"id":"CVE-2026-98103","published":"2026-09-25T10:35:53Z","modified":"2026-10-21T12:54:31Z","title":"igmp: convert struct ip_sf_list to RCU","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nigmp: convert struct ip_sf_list to RCU\n\nCommit 23d2b94043ca (\"igmp: Add ip_mc_list lock in ip_check_mc_rcu\")\nadded spin_lock_bh(&im->lock) to ip_check_mc_rcu() to prevent a\nuse-after-free while iterating im->sources during concurrent deletions.\n\nHowever, ip_check_mc_rcu() is called from RCU read-side critical\nsections in packet receive and route lookup fast paths (e.g.\n__mkroute_output(), ip_route_input_rcu(), and __udp4_lib_rcv()).\n\nWhen igmpv3_send_cr() or igmpv3_send_report() holds &pmc->lock and\ncalls add_grec() -> igmpv3_newpack() -> ip_route_output_ports(),\nan XFRM policy matching a multicast destination triggers\nxfrm_tmpl_resolve_one() -> xfrm4_get_saddr() -> __mkroute_output() ->\nip_check_mc_rcu(). This attempts to acquire &im->lock while &pmc->lock\nis already held on the same CPU, triggering a lockdep recursive locking\nwarning / deadlock.\n\nFix this by converting IPv4 struct ip_sf_list to RCU, mirroring the\nIPv6 implementation in net/ipv6/mcast.c:\n\n1. Add struct rcu_head to struct ip_sf_list and annotate sf_next,\n   sources, and tomb as __rcu pointers.\n2. Use rcu_assign_pointer() and kfree_rcu() for list updates and\n   deletions.\n3. Remove spin_lock_bh(&im->lock) from ip_check_mc_rcu() and traverse\n   im->sources locklessly with for_each_psf_rcu(), reading and writing\n   counter fields with READ_ONCE() and WRITE_ONCE().\n\nNote: RCU conversion of /proc/net/mcfilter will be done in a\nseparate patch.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00125,"percentile":0.02253,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/01131daffc4b64f1652e23dc3e6e2f601eda781d","tags":[]},{"url":"https://git.kernel.org/stable/c/f5182dfad54277267a8cb0c004a9cd4cf35aeebb","tags":[]},{"url":"https://git.kernel.org/stable/c/d3011d1f293478c730aa0870490afa145c37600e","tags":[]},{"url":"https://git.kernel.org/stable/c/e3206419bdb04e2087d8cc6be324df8639b3fac5","tags":[]},{"url":"https://git.kernel.org/stable/c/2987ee196c88dbde0463dc87d5fb209c684e34a2","tags":[]}],"priority":{"score":0.5,"factors":[{"name":"EPSS percentile","points":0.45}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 23d2b94043ca8835bd1e67749020e839f396a1c2, < 01131daffc4b64f1652e23dc3e6e2f601eda781d",">= 23d2b94043ca8835bd1e67749020e839f396a1c2, < f5182dfad54277267a8cb0c004a9cd4cf35aeebb",">= 23d2b94043ca8835bd1e67749020e839f396a1c2, < d3011d1f293478c730aa0870490afa145c37600e",">= 23d2b94043ca8835bd1e67749020e839f396a1c2, < e3206419bdb04e2087d8cc6be324df8639b3fac5",">= 23d2b94043ca8835bd1e67749020e839f396a1c2, < 2987ee196c88dbde0463dc87d5fb209c684e34a2","b24065948ae6c48c9e20891f8cfe9850f1d748be","e9924c4204ede999b0515fd31a370a1e27f676bc","78967749984cf3614de346c90f3e259ff8272735","4768973dffed4d0126854514335ed4fe87bec1ab","d84708451d9041dff8a81e3718f821f12d2eb6c5"]},{"vendor":"Linux","product":"Linux","versions":["5.15"]}],"euvd":{"id":"EUVD-2026-86934","exploited":false,"provenance":"source"}}