{"vuln_id":"CVE-2026-98103","aliases":[],"description":"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.","published_at":"2026-09-25T11:17:40.613000Z","modified_at":"2026-11-17T20:16:13.930000Z","first_seen_at":"2026-11-21T19:15:46.907316Z","severity":"high","severity_source":"nvd","cvss_score":7.8,"cvss_vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","cwe":["CWE-416"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00125,"epss_percentile":0.02193,"nvd_status":"Analyzed","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-98103"},"matched_alias":null,"items":[{"id":3638,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-98103: 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 i…","summary":"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.\n\nReferences:\nhttps://git.kernel.org/stable/c/01131daffc4b64f1652e23dc3e6e2f601eda781d\nhttps://git.kernel.org/stable/c/2987ee196c88dbde0463dc87d5fb209c684e34a2\nhttps://git.kernel.org/stable/c/d3011d1f293478c730aa0870490afa145c37600e\nhttps://git.kernel.org/stable/c/e3206419bdb04e2087d8cc6be324df8639b3fac5\nhttps://git.kernel.org/stable/c/f5182dfad54277267a8cb0c004a9cd4cf35aeebb","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98103","published_at":"2026-09-25T11:17:40.613000Z","updated_at":"2026-11-17T20:16:13.930000Z","fetched_at":"2026-11-21T19:15:31.479184Z","severity":"high","cvss_score":7.8,"epss":0.00125,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"linux","product":null,"vuln_id":"CVE-2026-98103","vuln_ids":["CVE-2026-98103"],"tags":["CWE-416"],"cluster_id":3937,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/3638","html":"https://vulnwatch.ve1ve2.com/item/3638"}}]}