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

wifi: libertas_tf: fix use-after-free in lbtf_free_adapter()

lbtf_free_adapter() calls timer_delete(&priv->command_timer), which does
not wait for a running command_timer_fn() callback. lbtf_free_adapter()
runs on the teardown path right before ieee80211_free_hw() frees priv,
both in lbtf_remove_card() and in the probe error path. command_timer is
armed by mod_timer() in lbtf_cmd() whenever a firmware command is sent.
command_timer_fn() dereferences priv. If a command times out as the
device is removed, command_timer_fn() runs concurrently with teardown and
dereferences priv after it has been freed.

This is the same use-after-free that commit 03cc8f90d053 ("wifi: libertas:
fix use-after-free in lbs_free_adapter()") fixed in the sibling libertas
driver. The libertas_tf variant has the identical pattern and was left
unchanged. Use timer_delete_sync() so any in-flight callback completes
before priv is freed.
Published: 2026-08-15
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

In the Linux kernel the libertas_tf driver contains a use‑after‑free bug. When the device is removed or a firmware command times out, the adapter’s command timer callback may run concurrently with the teardown code and dereference memory that has already been freed. This memory corruption can lead to a kernel crash or arbitrary code execution, thus enabling an attacker with access to the wireless interface to gain elevated privileges.

Affected Systems

The vulnerability is present in the Linux kernel’s libertas_tf driver. No specific kernel version range is listed, so any distribution that loads this driver could be affected. Users operating the libreOTA hardware with this driver should verify whether their current kernel includes the patch.

Risk and Exploitability

The CVSS score is not provided and EPSS is unavailable, but the use‑after‑free flaw is a critical kernel memory corruption issue. It is not yet listed in the CISA KEV catalog, and no public exploit has been reported as of the latest data. Nonetheless, the potential impact is severe and exploitation could be feasible if an attacker can trigger a firmware command timeout while the adapter is being removed. The risk is therefore considered high for systems that run the affected driver.

Generated by OpenCVE AI on August 15, 2026 at 08:29 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Install a kernel update that incorporates the patch fixing the use‑after‑free in lbtf_free_adapter()
  • If an immediate update is not possible, unload or disable the libertas_tf driver to prevent the driver from being active during operation
  • If you cannot remove the driver, consider replacing it with the patched counterpart available from the libertas driver project or a vendor‑supplied firmware version
  • Restart the system after applying the patch or disabling the driver to ensure all pending timers are cleared

Generated by OpenCVE AI on August 15, 2026 at 08:29 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 15 Aug 2026 08:45: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: wifi: libertas_tf: fix use-after-free in lbtf_free_adapter() lbtf_free_adapter() calls timer_delete(&priv->command_timer), which does not wait for a running command_timer_fn() callback. lbtf_free_adapter() runs on the teardown path right before ieee80211_free_hw() frees priv, both in lbtf_remove_card() and in the probe error path. command_timer is armed by mod_timer() in lbtf_cmd() whenever a firmware command is sent. command_timer_fn() dereferences priv. If a command times out as the device is removed, command_timer_fn() runs concurrently with teardown and dereferences priv after it has been freed. This is the same use-after-free that commit 03cc8f90d053 ("wifi: libertas: fix use-after-free in lbs_free_adapter()") fixed in the sibling libertas driver. The libertas_tf variant has the identical pattern and was left unchanged. Use timer_delete_sync() so any in-flight callback completes before priv is freed.
Title wifi: libertas_tf: fix use-after-free in lbtf_free_adapter()
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-15T05:52:22.486Z

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

Link: CVE-2026-72070

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T06:21:16.713

Modified: 2026-08-15T06:21:16.713

Link: CVE-2026-72070

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-15T08:30:06Z

Weaknesses