Description
In the Linux kernel, the following vulnerability has been resolved:

ipv4: igmp: Fix potential memory leaks in igmp_mod_timer() and igmp_stop_timer()

When a timer is deleted and not re-armed in igmp_mod_timer(), or stopped
in igmp_stop_timer(), the code currently decrements the reference counter
of the multicast list entry @im using refcount_dec(&im->refcnt).

However, both functions can be called from the RCU reader path:
- igmp_mod_timer() via igmp_heard_query() -> for_each_pmc_rcu()
- igmp_stop_timer() via igmp_rcv() -> igmp_heard_report()

If the group im was concurrently removed from the list by ip_mc_dec_group(),
its reference count might have already been decremented to 1.

In this case, timer_delete() succeeds, and refcount_dec() decrements
the refcount from 1 to 0. Since refcount_dec() does not free the object
when it hits 0 (unlike ip_ma_put()), the im structure is leaked.

Fix this by using ip_ma_put(im) instead of refcount_dec(&im->refcnt),
and deferring the put until after the spinlock is released.
Published: 2026-08-15
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

In the Linux kernel’s IPv4 IGMP implementation, the functions igmp_mod_timer() and igmp_stop_timer() incorrectly decrement a multicast group’s reference counter when a timer is deleted or stopped. When these functions are invoked from an RCU reader path while the group’s reference count has already been reduced to one by a concurrent removal, calling refcount_dec() can bring the counter to zero without freeing the associated memory. This results in a memory leak of the multicast group structure. The vulnerability does not provide an attacker‑controlled code path or direct compromise, but repeated exploitation could lead to gradual exhaustion of kernel memory resources, potentially affecting system stability and availability.

Affected Systems

The flaw is present in all releases of the Linux kernel containing the buggy IGMP code; the specific affected versions are not enumerated in the advisory. The vulnerability applies to any system running a standard Linux kernel with the aforementioned IGMP logic enabled.

Risk and Exploitability

The CVSS score is 5.5 and the EPSS score is less than 1%, and the issue is not listed in the CISA KEV catalog, indicating moderate perceived exploitability. The vulnerability is limited to internal kernel threads and requires a scenario where timers are repeatedly created and deleted in the presence of RCU readers, which is not trivially achievable from user space. Consequently, the risk is primarily the potential for resource exhaustion rather than immediate remote code execution or privilege escalation.

Generated by OpenCVE AI on August 22, 2026 at 08:37 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that incorporates the patch adding ip_ma_put(im) in igmp_mod_timer() and igmp_stop_timer(), referencing the commit hashes provided in the advisory.
  • If an immediate kernel upgrade is not possible, backport the specific commit (3546deaa0c30a14c7cdb5dc8f2432cb428f0cd36, 95128dc74425ec19ed4f2077ccc651e791ff4b75, f60ec3058a85447008b88b762c859d336163acb3) to your kernel tree and rebuild.
  • Implement or enable system monitoring to detect abnormal memory usage patterns and consider disabling IGMP functionality on systems where it is unnecessary to mitigate long‑term resource impact.

Generated by OpenCVE AI on August 22, 2026 at 08:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 22 Aug 2026 07:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-401

Wed, 19 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-911
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Low


Sat, 15 Aug 2026 10:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-401

Sat, 15 Aug 2026 06:00:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: ipv4: igmp: Fix potential memory leaks in igmp_mod_timer() and igmp_stop_timer() When a timer is deleted and not re-armed in igmp_mod_timer(), or stopped in igmp_stop_timer(), the code currently decrements the reference counter of the multicast list entry @im using refcount_dec(&im->refcnt). However, both functions can be called from the RCU reader path: - igmp_mod_timer() via igmp_heard_query() -> for_each_pmc_rcu() - igmp_stop_timer() via igmp_rcv() -> igmp_heard_report() If the group im was concurrently removed from the list by ip_mc_dec_group(), its reference count might have already been decremented to 1. In this case, timer_delete() succeeds, and refcount_dec() decrements the refcount from 1 to 0. Since refcount_dec() does not free the object when it hits 0 (unlike ip_ma_put()), the im structure is leaked. Fix this by using ip_ma_put(im) instead of refcount_dec(&im->refcnt), and deferring the put until after the spinlock is released.
Title ipv4: igmp: Fix potential memory leaks in igmp_mod_timer() and igmp_stop_timer()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-17T05:12:27.313Z

Reserved: 2026-08-09T03:40:39.919Z

Link: CVE-2026-72321

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T06:22:05.103

Modified: 2026-08-17T06:18:35.587

Link: CVE-2026-72321

cve-icon Redhat

Severity : Low

Publid Date: 2026-08-15T00:00:00Z

Links: CVE-2026-72321 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-22T08:45:03Z

Weaknesses
  • CWE-911

    Improper Update of Reference Count