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

ipv6: mcast: Fix potential UAF in MLD delayed work

A race condition exists between device teardown and incoming MLD query
processing, leading to a Use-After-Free in the MLD delayed work.

During device destruction, the primary reference to inet6_dev is dropped,
which can drop its refcount to 0. The actual freeing of inet6_dev memory
is deferred via RCU.

Concurrently, the packet receive path runs under RCU read lock and obtains
the inet6_dev pointer. Because the memory is RCU-protected, CPU-0 can
safely dereference inet6_dev even if its refcount has hit 0.

However, if CPU-0 calls igmp6_event_query() and schedules delayed work, it
attempts to acquire a reference using in6_dev_hold(). This increments the
refcount from 0 to 1, triggering a "refcount_t: addition on 0" warning.
Since the inet6_dev memory is still scheduled to be freed after the RCU
grace period, the device is freed while the work is still scheduled.
When the work runs, it accesses the freed memory, causing a kernel panic.

Fix this by using refcount_inc_not_zero() (via a new helper
in6_dev_hold_safe()) to prevent acquiring a reference if the device is
already being destroyed. If the refcount is 0, we do not schedule the work.
Published: 2026-08-15
Score: 9.8 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The issue is a race condition in the Linux kernel’s IPv6 multicast implementation that can lead to a use‑after‑free when a network device is torn down while an MLD query is still being processed. During the race, the reference count of the inet6_dev structure may reach zero, the structure is freed, and delayed work later dereferences this freed memory, causing a kernel panic. The primary impact is a denial‑of‑service through a critical system crash.

Affected Systems

The vulnerability exists in any Linux kernel build that does not contain the commit implementing the safe refcount helper. Because no specific release line is mentioned, all versions lacking that commit are potentially affected, including the latest stable releases until they incorporate the patch. The flaw applies to all IPv6‑enabled kernels that use the standard multicast code path.

Risk and Exploitability

The CVSS score of 9.8 classifies the flaw as critical, while the EPSS score of less than 1% indicates a very low probability of active exploitation at present. Based on the description, it is inferred that the likely attack vector is at the network layer, where an adversary can send malicious or high‑volume MLD query traffic to a host with active IPv6 interfaces during device teardown. Exploitation would trigger a kernel panic, resulting in a system crash. The flaw is not listed in the CISA KEV catalog, suggesting no publicly known exploits yet; however, the high severity warrants immediate remediation.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a release that includes the patch for the MLD delayed work refcount issue.
  • If an immediate kernel upgrade is not possible, apply the specific commit that introduces the in6_dev_hold_safe helper to the current kernel source.
  • Restrict MLD query traffic to trusted sources or block unsolicited MLD traffic at the network perimeter to reduce the window for race‑condition exploitation.
  • Monitor kernel logs and system stability for refcount warnings or unexpected crashes, which may indicate an attempted exploitation.

Generated by OpenCVE AI on August 22, 2026 at 08:36 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-362
CWE-416

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

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

None

threat_severity

Moderate


Mon, 17 Aug 2026 20:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-362
CWE-416

Mon, 17 Aug 2026 17:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Mon, 17 Aug 2026 06:00:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

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


Sat, 15 Aug 2026 11:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

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

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: ipv6: mcast: Fix potential UAF in MLD delayed work A race condition exists between device teardown and incoming MLD query processing, leading to a Use-After-Free in the MLD delayed work. During device destruction, the primary reference to inet6_dev is dropped, which can drop its refcount to 0. The actual freeing of inet6_dev memory is deferred via RCU. Concurrently, the packet receive path runs under RCU read lock and obtains the inet6_dev pointer. Because the memory is RCU-protected, CPU-0 can safely dereference inet6_dev even if its refcount has hit 0. However, if CPU-0 calls igmp6_event_query() and schedules delayed work, it attempts to acquire a reference using in6_dev_hold(). This increments the refcount from 0 to 1, triggering a "refcount_t: addition on 0" warning. Since the inet6_dev memory is still scheduled to be freed after the RCU grace period, the device is freed while the work is still scheduled. When the work runs, it accesses the freed memory, causing a kernel panic. Fix this by using refcount_inc_not_zero() (via a new helper in6_dev_hold_safe()) to prevent acquiring a reference if the device is already being destroyed. If the refcount is 0, we do not schedule the work.
Title ipv6: mcast: Fix potential UAF in MLD delayed work
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:42:47.888Z

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

Link: CVE-2026-72322

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

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

Link: CVE-2026-72322

cve-icon Redhat

Severity : Moderate

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

Links: CVE-2026-72322 - Bugzilla

cve-icon OpenCVE Enrichment

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

Weaknesses
  • CWE-911

    Improper Update of Reference Count