CVE-2026-98103
kernel: igmp: convert struct ip_sf_list to RCU
Overview
Description
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:
- Add struct rcu_head to struct ip_sf_list and annotate sf_next, sources, and tomb as __rcu pointers.
- Use rcu_assign_pointer() and kfree_rcu() for list updates and deletions.
- 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.
Source: OX vulnerability database
Severity
7.8 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness: CWE-416
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 62 fixes
Azure Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | kernel | 0:6.6.161.1-1.azl3 |
Oracle Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 9 | kernel-uek +34 | 6.12.0-207.111.5.1.el9uek |
Photon OS 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 5.0 | bpftool +10 | 6.12.111-1.ph5 |
Red Hat 3 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 7 | openshift-ose-rhel-coreos-8 +1 | affected |
| 8 | bpftool +47 | affected |
| 9 | bpftool +108 | affected |
amazon linux 1 release · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| 2023 | kernel-livepatch-6-12-111-136-204 +1 | 1:1.0-0.amzn2023 |
| 2023 | bpftool6-12 +16 | 1:6.12.111-136.204.amzn2023 |
| 2023 | bpftool6-18 +17 | 1:6.18.54-121.166.amzn2023 |
debian 4 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 11 | linux | affected |
| 12 | linux | affected |
| 12 | linux-6-12 | 6.12.111-1~deb12u1 |
| 13 | linux | 6.12.111-1 |
| 14 | linux | 7.2.7-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| linux | 1 |
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | kernel-devel +3 | 7.2.9-1.1 | openSUSE-SU-2026:12074-1 |
ubuntu 5 releases · 33 packages
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | linux +12 | affected |
| 20.04-ESM | linux +21 | affected |
| 22.04 | linux +17 | affected |
| 22.04 | linux-oracle-6-8 | 6.8.0-1067.71~22.04.1 |
| 22.04 | linux-ibm-6-8 | 6.8.0-1069.70~22.04.1 |
| 22.04 | linux-aws-6-8 | 6.8.0-1069.74~22.04.1 |
40 more rows
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-98103
- git.kernel.org https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2026/CVE-2026-98103.mbox
- git.kernel.org https://git.kernel.org/stable/c/01131daffc4b64f1652e23dc3e6e2f601eda781d
- git.kernel.org https://git.kernel.org/stable/c/2987ee196c88dbde0463dc87d5fb209c684e34a2
- git.kernel.org https://git.kernel.org/stable/c/d3011d1f293478c730aa0870490afa145c37600e
- git.kernel.org https://git.kernel.org/stable/c/e3206419bdb04e2087d8cc6be324df8639b3fac5
- git.kernel.org https://git.kernel.org/stable/c/f5182dfad54277267a8cb0c004a9cd4cf35aeebb
- linux.oracle.com https://linux.oracle.com/cve/CVE-2026-98103.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2026-500374.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-98103
Show all 25 references
- ubuntu.com https://ubuntu.com/security/notices/USN-8959-1
- ubuntu.com https://ubuntu.com/security/notices/USN-8960-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9019-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9020-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9021-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9022-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9023-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9024-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9025-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9026-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9039-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9040-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9066-1
- ubuntu.com https://ubuntu.com/security/notices/USN-9091-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-98103
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.