CVE-2026-72070

Summary

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.

Affected Software

VendorProductVersion RangeStatus
LinuxLinux06b16ae5319251c26377afcb401e46056d5673f4 < 4714e95f5d61cb9c5c7c6c4e68b618f37bc6ffcfaffected
LinuxLinux06b16ae5319251c26377afcb401e46056d5673f4 < 066b59e84f90d270cc15f0370166155aca507630affected
LinuxLinux06b16ae5319251c26377afcb401e46056d5673f4 < fcff712d0e3d183843ec3916470ee6cc3455baadaffected
LinuxLinux06b16ae5319251c26377afcb401e46056d5673f4 < bcf7968cb97ce4312588042cf2712f04caff6d8faffected
LinuxLinux06b16ae5319251c26377afcb401e46056d5673f4 < aa6dcd5c8dd9ba1d7d0f60093bcda41c0d6d438daffected
LinuxLinux2.6.28affected
LinuxLinux0 < 2.6.28unaffected
LinuxLinux6.6.148 <= 6.6.*unaffected
LinuxLinux6.12.101 <= 6.12.*unaffected
LinuxLinux6.18.40 <= 6.18.*unaffected
LinuxLinux7.1.5 <= 7.1.*unaffected
LinuxLinux7.2 <= *unaffected

Weaknesses

References