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

6lowpan: fix NHC entry use-after-free on error path

lowpan_nhc_do_uncompression() looks up an NHC descriptor while holding
lowpan_nhc_lock. If the descriptor has no uncompress callback, the error
path drops the lock before printing nhc->name.

lowpan_nhc_del() removes descriptors under the same lock and then relies
on synchronize_net() before the owning module can be unloaded. That only
waits for net RX RCU readers. lowpan_header_decompress() is also exported
and can be reached from callers that are not necessarily covered by the net
core RX critical section, for example the Bluetooth 6LoWPAN L2CAP receive
path.

This leaves a race where one task drops lowpan_nhc_lock in the error path,
another task unregisters and frees the matching descriptor after
synchronize_net() returns, and the first task then dereferences nhc->name
for the warning.

With the post-unlock window widened, KASAN reports:

BUG: KASAN: slab-use-after-free in lowpan_nhc_do_uncompression+0x1f4/0x220
Read of size 8
lowpan_nhc_do_uncompression
lowpan_header_decompress

Fix this by printing the warning before dropping lowpan_nhc_lock, so the
descriptor name is read while unregister is still excluded. The malformed
packet is still rejected with -ENOTSUPP.
Published: 2026-07-25
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The 6LoWPAN NHC subsystem contains a race that permits a use‑after‑free. When an invalid packet is received, the code releases lowpan_nhc_lock and then later reads the descriptor’s name field. A second task may simultaneously unregister and free that descriptor after synchronize_net returns, so the lock is held no longer during the read. The freed memory is dereferenced, triggering a slab-use‑after‑free crash in the kernel and leading to a kernel oops. This results in memory corruption and a denial‑of‑service condition but does not directly provide code execution.

Affected Systems

All Linux kernel implementations that include the 6LoWPAN NHC subsystem and have not incorporated the commit that prints the warning before releasing the lock are affected. Because the vulnerability resides in the core Linux kernel, any distribution version lacking the patch could be vulnerable. Any system that exposes a 6LoWPAN interface is therefore at risk until the patch is applied.

Risk and Exploitability

The CVSS score of 7.1 reflects a high severity due to loss of memory integrity, yet the EPSS score is below 1 %, indicating a very low likelihood of exploitation at present. Based on the description, it is inferred that the attack vector involves remote actors injecting malformed 6LoWPAN packets to trigger the use‑after‑free race. The vulnerability is not listed in CISA KEV, and no public exploits are known. Exploitation requires the injection of malformed 6LoWPAN traffic combined with a race condition between the error path that releases the lock and the module unload that frees the descriptor; thus the attack surface is narrow but available to remote actors who can send packets to the target device. While a crash does not directly grant code execution, it can disrupt availability and may be leveraged in a broader attack if combined with additional flaws.

Generated by OpenCVE AI on September 3, 2026 at 18:46 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the kernel update that includes the commit fixing the NHC use‑after‑free.
  • Reboot the system to load the patched kernel and ensure the module is loaded.
  • If 6LoWPAN is not required, unload or disable the 6LoWPAN module to eliminate the vulnerable code path.

Generated by OpenCVE AI on September 3, 2026 at 18:46 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4717-1 linux security update
Debian DLA Debian DLA DLA-4720-1 linux security update
Debian DLA Debian DLA DLA-4723-1 linux-6.1 security update
Debian DLA Debian DLA DLA-4724-1 linux-6.12 new package
History

Thu, 03 Sep 2026 15:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Tue, 28 Jul 2026 00:15:00 +0000

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

None

threat_severity

Moderate


Mon, 27 Jul 2026 05:15:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

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


Sat, 25 Jul 2026 09:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: 6lowpan: fix NHC entry use-after-free on error path lowpan_nhc_do_uncompression() looks up an NHC descriptor while holding lowpan_nhc_lock. If the descriptor has no uncompress callback, the error path drops the lock before printing nhc->name. lowpan_nhc_del() removes descriptors under the same lock and then relies on synchronize_net() before the owning module can be unloaded. That only waits for net RX RCU readers. lowpan_header_decompress() is also exported and can be reached from callers that are not necessarily covered by the net core RX critical section, for example the Bluetooth 6LoWPAN L2CAP receive path. This leaves a race where one task drops lowpan_nhc_lock in the error path, another task unregisters and frees the matching descriptor after synchronize_net() returns, and the first task then dereferences nhc->name for the warning. With the post-unlock window widened, KASAN reports: BUG: KASAN: slab-use-after-free in lowpan_nhc_do_uncompression+0x1f4/0x220 Read of size 8 lowpan_nhc_do_uncompression lowpan_header_decompress Fix this by printing the warning before dropping lowpan_nhc_lock, so the descriptor name is read while unregister is still excluded. The malformed packet is still rejected with -ENOTSUPP.
Title 6lowpan: fix NHC entry use-after-free on error path
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-17T04:55:56.222Z

Reserved: 2026-07-19T15:36:31.788Z

Link: CVE-2026-64452

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2026-07-25T10:17:30.140

Modified: 2026-09-03T15:25:07.700

Link: CVE-2026-64452

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-25T00:00:00Z

Links: CVE-2026-64452 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-09-03T19:00:09Z

Weaknesses