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

ipv6: prevent in6_dev_get() from resurrecting inet6_dev

in6_dev_get() reads dev->ip6_ptr under RCU and then unconditionally
increments its refcount. Device teardown can clear the pointer and drop
the last reference between these operations. The increment then
resurrects an object whose RCU free has already been queued, so callers
can use it after it is freed.

Use refcount_inc_not_zero() and return NULL when the object has already
reached zero. RCU keeps the memory accessible through the attempted
reference acquisition, and a successful increment pins the object for
the caller.

An independent run on the exact unpatched 6f5156d7a31a (v7.2-rc3)
kernel reproduced the invalid reference acquisition as UID 1000:

refcount_t: addition on 0; use-after-free.
ip6_mc_source+0xef4/0x17e0

It was followed by the corresponding reference underflow in
ip6_mc_source(). The supplied trace from the same unpatched revision
additionally shows the access after the RCU read-side section ends:

BUG: KASAN: slab-use-after-free in mutex_lock+0x76/0xe0
Write of size 8 at addr ffff888015b50240 by task poc/1219

Bug found and triaged by OpenAI Security Research and
validated by Trail of Bits.
Published: 2026-08-22
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: Use‑After‑Free in IPv6 device handling leading to kernel memory corruption
Action: Patch
AI Analysis

Impact

The vulnerability resides in the Linux kernel’s in6_dev_get() function, which reads an IPv6 device pointer under RCU and then increments its reference counter without checking if the object has already been freed. If the device has been torn down in the interim, the increment resurrects a structure whose RCU free has been queued, allowing callers to dereference memory that has already been freed. The resulting use‑after‑free can corrupt kernel memory or cause a crash, potentially enabling an attacker to execute arbitrary code with kernel privileges. This flaw is a classic Use‑After‑Free and also exemplifies improper resource release vulnerabilities (CWE‑825).

Affected Systems

The flaw affects any Linux kernel that implements the legacy in6_dev_get() routine prior to the commit that replaces refcount_inc() with refcount_inc_not_zero(). It has been reproduced against the unpatched v7.2‑rc3 kernel, indicating that all kernels using this legacy path until the patch is applied are vulnerable.

Risk and Exploitability

The CVSS score of 7.8 reflects a high impact, while the EPSS score of <1% suggests a low probability of exploitation at present. The vulnerability is not listed in the CISA KEV catalog, implying no publicly known exploits exist. The likely attack vector is manipulating IPv6 operations during a device teardown, which is not trivial but could be engineered by a privileged or sophisticated attacker to trigger the use‑after‑free and potentially compromise the system.

Generated by OpenCVE AI on August 25, 2026 at 17:19 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a release that contains the fixed in6_dev_get() implementation (see the commit referenced by the provided URLs).
  • If an immediate kernel upgrade is not feasible, temporarily disable IPv6 or block external IPv6 traffic to avoid exercising the vulnerable code path.
  • Apply any vendor‑supplied backported security patches or restrict privileged tools that interact with network device APIs to reduce exposure.

Generated by OpenCVE AI on August 25, 2026 at 17:19 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4777-1 linux security update
Debian DSA Debian DSA DSA-6466-1 linux security update
History

Tue, 25 Aug 2026 15:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Tue, 25 Aug 2026 12:15:00 +0000

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

None

threat_severity

Important


Tue, 25 Aug 2026 10:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Tue, 25 Aug 2026 07:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Tue, 25 Aug 2026 05:45:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

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


Sat, 22 Aug 2026 19:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

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

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: ipv6: prevent in6_dev_get() from resurrecting inet6_dev in6_dev_get() reads dev->ip6_ptr under RCU and then unconditionally increments its refcount. Device teardown can clear the pointer and drop the last reference between these operations. The increment then resurrects an object whose RCU free has already been queued, so callers can use it after it is freed. Use refcount_inc_not_zero() and return NULL when the object has already reached zero. RCU keeps the memory accessible through the attempted reference acquisition, and a successful increment pins the object for the caller. An independent run on the exact unpatched 6f5156d7a31a (v7.2-rc3) kernel reproduced the invalid reference acquisition as UID 1000: refcount_t: addition on 0; use-after-free. ip6_mc_source+0xef4/0x17e0 It was followed by the corresponding reference underflow in ip6_mc_source(). The supplied trace from the same unpatched revision additionally shows the access after the RCU read-side section ends: BUG: KASAN: slab-use-after-free in mutex_lock+0x76/0xe0 Write of size 8 at addr ffff888015b50240 by task poc/1219 Bug found and triaged by OpenAI Security Research and validated by Trail of Bits.
Title ipv6: prevent in6_dev_get() from resurrecting inet6_dev
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-25T05:40:54.475Z

Reserved: 2026-08-15T05:44:03.921Z

Link: CVE-2026-74630

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-22T16:16:35.943

Modified: 2026-08-25T06:18:41.893

Link: CVE-2026-74630

cve-icon Redhat

Severity : Important

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

Links: CVE-2026-74630 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-25T17:30:07Z

Weaknesses
  • CWE-825

    Expired Pointer Dereference