cvelo
P2 · HighCVSS 7.8EPSS 0.1%

CVE-2026-98103

  • CVE-2026-98103

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: 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.

Text from the NVD record.

Recommendation

  • linux linux kernel

    • If you run a version from 6.19 to before 7.2.7update to 7.2.7 or laterMajor version change: expect breaking changes
    • If you run a version from 6.13 to before 6.18.53update to 6.18.53 or laterMinor version change: check the release notes
    • If you run a version from 6.7 to before 6.12.111update to 6.12.111 or laterMinor version change: check the release notes
    • If you run a version from 5.14.3 to before 6.6.160update to 6.6.160 or laterMajor version change: expect breaking changes
    • If you run a version from 5.13.16 to before 5.14update to 5.14 or laterMinor version change: check the release notes
    • If you run a version from 5.10.64 to before 5.11update to 5.11 or laterMinor version change: check the release notes
    • If you run a version from 5.4.145 to before 5.5update to 5.5 or laterMinor version change: check the release notes
    • If you run a version from 4.19.207 to before 4.20update to 4.20 or laterMinor version change: check the release notes

    Some affected versions have no stated fix.

Taken from the version ranges of the NVD record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • linux linux kernel

    Affected versionsFixed in
    from 6.19 to before 7.2.77.2.7
    from 6.13 to before 6.18.536.18.53
    from 6.7 to before 6.12.1116.12.111
    from 5.14.3 to before 6.6.1606.6.160
    from 5.13.16 to before 5.145.14
    from 5.10.64 to before 5.115.11
    from 5.4.145 to before 5.55.5
    from 4.19.207 to before 4.204.20

    and 4 more

Product versions from the NVD record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.