← All Advisories
Reported from OT-Advisories.com as of

Linux Kernel IGMP Source-List Use-After-Free Is Resolved by Converting struct ip_sf_list to RCU

Last refreshed2026-11-19

Status: UPDATED  |  Advisory ID: CVE-2026-98103

Key Details

CVECVE-2026-98103
CVSS Score / Version
7.8 (High) / CVSS v3.1
Updated2026-11-17
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS Prose
attack vector is local; attack complexity is low; privileges required is low; user interaction is none; scope is unchanged; confidentiality impact is high; integrity impact is high; availability impact is high.
Affected products
Linux Kernel
Classified as
CWE-416 (Use After Free)
Exploitation prediction (EPSS)
0.12% probability of exploitation in the next 30 days (2% percentile) -- FIRST.org's EPSS model.

Affected Products, Subsystems & Sectors

VendorProductAffected VersionsPatch Status
LinuxLinux Kernel
SubsystemsOT Supporting Infrastructure
SectorsAll Sectors

What to Know

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 ip_check_mc_rcu")

added spin_lock_bh(&im->lock) to ip_check_mc_rcu() to prevent a

use-after-free while iterating im->sources during concurrent deletions.

However, ip_check_mc_rcu() is called from RCU read-side critical

sections in packet receive and route lookup fast paths (e.g.

__mkroute_output(), ip_route_input_rcu(), and __udp4_lib_rcv()).

When igmpv3_send_cr() or igmpv3_send_report() holds &pmc->lock and

calls add_grec() -> igmpv3_newpack() -> ip_route_output_ports(),

an XFRM policy matching a multicast destination triggers

xfrm_tmpl_resolve_one() -> xfrm4_get_saddr() -> __mkroute_output() ->

ip_check_mc_rcu(). This attempts to acquire &im->lock while &pmc->lock

is already held on the same CPU, triggering a lockdep recursive locking

warning / deadlock.

Fix this by converting IPv4 struct ip_sf_list to RCU, mirroring the

IPv6 implementation in net/ipv6/mcast.c:

1. Add struct rcu_head to struct ip_sf_list and annotate sf_next,

sources, and tomb as __rcu pointers.

2. Use rcu_assign_pointer() and kfree_rcu() for list updates and

deletions.

3. Remove spin_lock_bh(&im->lock) from ip_check_mc_rcu() and traverse

im->sources locklessly with for_each_psf_rcu(), reading and writing

counter fields with READ_ONCE() and WRITE_ONCE().

Note: RCU conversion of /proc/net/mcfilter will be done in a

separate patch. (NVD)

What to Do

Monitor Linux's web page for any future patch releases.

References

SourceReference
NVDhttps://nvd.nist.gov/vuln/detail/CVE-2026-98103
CVEhttps://www.cve.org/CVERecord?id=CVE-2026-98103
Report compilation © 2026 OT-Advisories.com  ·  CC BY 4.0  ·  Source materials remain the property of their respective publishers as cited.