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

Bluetooth: 6lowpan: avoid untracked enable work

lowpan_enable_set() allocates a temporary work item and schedules
do_enable_set() on system_wq, then returns to debugfs. The debugfs active
operation has ended at that point, but the worker still executes module
text and manipulates enable_6lowpan and listen_chan.

bt_6lowpan_exit() removes the debugfs files and immediately closes and
puts listen_chan. It has no pointer to the queued work item, so it cannot
cancel or flush it before tearing down the state that the worker uses.

The buggy scenario involves two paths, with each column showing the order
within that path:

debugfs enable write module exit
1. lowpan_enable_set() allocates 1. bt_6lowpan_exit() removes
set_enable work the debugfs file
2. schedule_work() queues 2. bt_6lowpan_exit() closes
do_enable_set() and puts listen_chan
3. the write operation returns 3. module teardown can continue
4. do_enable_set() later runs
against stale state

Run the enable state transition synchronously in lowpan_enable_set()
instead. The simple debugfs setter can sleep, and this file already handles
the 6LoWPAN control write synchronously under the same set_lock. Once the
setter returns, debugfs removal covers the whole operation and exit can no
longer race with an untracked work item.

Validation reproduced this kernel report:
BUG: KASAN: slab-use-after-free in do_enable_set+0x113/0x2e0
Workqueue: events do_enable_set [bluetooth_6lowpan]
The buggy address belongs to the object at ffff888109cb8000
Published: 2026-08-15
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability occurs when the Bluetooth 6lowpan subsystem schedules a work item to set the 6L‑WPAN enable state asynchronously, while a module teardown can occur concurrently. The shutdown routine removes files from debugfs, closes the listening channel, and deallocates kernel objects without canceling the pending work. Consequently, the queued work later dereferences freed memory, producing a use‑after‑free scenario that could be leveraged to corrupt kernel data or execute arbitrary code. The primary weakness is a race condition that results in a use‑after‑free error, as confirmed by the KASAN stack trace. The likely attack vector is local and requires the attacker to trigger the debugfs write before the module unload, so root or privileged local access is inferred.

Affected Systems

The issue affects the Linux kernel’s Bluetooth 6lowpan driver. Any kernel version that contains the unpatched bluetooth_6lowpan module is vulnerable; the fix was applied in later kernel commits (e.g., the commit referenced in the advisory). Specific affected releases are not listed, so any Linux kernel without the commit that schedules do_enable_set synchronously is susceptible.

Risk and Exploitability

The vulnerability’s CVSS score is 5.5, and the EPSS score is < 1%. The presence of a use‑after‑free race in a kernel module suggests a serious exploitability risk, especially for local privileged users. The issue is not listed in CISA KEV, indicating no publicly documented exploit yet, but the potential for kernel privilege escalation warrants prompt remediation.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that includes the commit resolving the race and use‑after‑free
  • If an immediate kernel upgrade is not possible, disable the 6lowpan feature or remove the debugfs interface to prevent the write operation
  • Consider removing or replacing the bluetooth_6lowpan module until a patched kernel is available

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

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 22 Aug 2026 06:30:00 +0000

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

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

Type Values Removed Values Added
Weaknesses CWE-825
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

Moderate


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

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

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

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: Bluetooth: 6lowpan: avoid untracked enable work lowpan_enable_set() allocates a temporary work item and schedules do_enable_set() on system_wq, then returns to debugfs. The debugfs active operation has ended at that point, but the worker still executes module text and manipulates enable_6lowpan and listen_chan. bt_6lowpan_exit() removes the debugfs files and immediately closes and puts listen_chan. It has no pointer to the queued work item, so it cannot cancel or flush it before tearing down the state that the worker uses. The buggy scenario involves two paths, with each column showing the order within that path: debugfs enable write module exit 1. lowpan_enable_set() allocates 1. bt_6lowpan_exit() removes set_enable work the debugfs file 2. schedule_work() queues 2. bt_6lowpan_exit() closes do_enable_set() and puts listen_chan 3. the write operation returns 3. module teardown can continue 4. do_enable_set() later runs against stale state Run the enable state transition synchronously in lowpan_enable_set() instead. The simple debugfs setter can sleep, and this file already handles the 6LoWPAN control write synchronously under the same set_lock. Once the setter returns, debugfs removal covers the whole operation and exit can no longer race with an untracked work item. Validation reproduced this kernel report: BUG: KASAN: slab-use-after-free in do_enable_set+0x113/0x2e0 Workqueue: events do_enable_set [bluetooth_6lowpan] The buggy address belongs to the object at ffff888109cb8000
Title Bluetooth: 6lowpan: avoid untracked enable 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:12:45.609Z

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

Link: CVE-2026-72337

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

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

Link: CVE-2026-72337

cve-icon Redhat

Severity : Moderate

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

Links: CVE-2026-72337 - Bugzilla

cve-icon OpenCVE Enrichment

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

Weaknesses
  • CWE-825

    Expired Pointer Dereference