CVE-2026-98194 PUBLISHED

wifi: libertas_tf: fix UAF in lbtf_free_adapter()

Assigner: Linux
Reserved: 25.09.2026 Published: 06.10.2026 Updated: 06.10.2026

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

wifi: libertas_tf: fix UAF in lbtf_free_adapter()

lbtf_free_adapter() calls lbtf_free_cmd_buffer() to free the command buffers before calling timer_delete_sync() to wait for the command timer callback. If the timer callback (command_timer_fn) is already running when lbtf_free_cmd_buffer() frees the command array, the callback dereferences priv->cur_cmd->cmdbuf which points to freed memory.

Swap the order so that timer_delete_sync() runs first, ensuring any in-flight callback has completed before the command buffers are freed.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 06b16ae5319251c26377afcb401e46056d5673f4 to 3fb3663260ec396f86b733aab9f81fac6669d2fa (excl.)
  • affected from 06b16ae5319251c26377afcb401e46056d5673f4 to f6c3fa0d17ca0c9e6033bb45f52e33b27a9a40e6 (excl.)
  • affected from 06b16ae5319251c26377afcb401e46056d5673f4 to b4745d6063758c681d33affca9733bbd356b6ea1 (excl.)
  • affected from 06b16ae5319251c26377afcb401e46056d5673f4 to 41b1a4d545ec348b7d5324b6d4f4c6a3e0326d46 (excl.)
  • affected from 06b16ae5319251c26377afcb401e46056d5673f4 to 2b99bfc5a127ce8cd6a887d82815fc2e712f365b (excl.)
  • affected from 06b16ae5319251c26377afcb401e46056d5673f4 to e82536aad653e27c8ca7a8e0f6f816bc3f853ec3 (excl.)
  • affected from 06b16ae5319251c26377afcb401e46056d5673f4 to 04c837d413dc11a91e0275b08b9e35a6c111175e (excl.)
  • affected from 06b16ae5319251c26377afcb401e46056d5673f4 to bbb9a0ab96d44a64529aafc7a16de460a1712f6a (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 2.6.28 is affected
  • unaffected from 0 to 2.6.28 (excl.)
  • unaffected from 5.10.271 to 5.10.* (incl.)
  • unaffected from 5.15.222 to 5.15.* (incl.)
  • unaffected from 6.1.189 to 6.1.* (incl.)
  • unaffected from 6.6.158 to 6.6.* (incl.)
  • unaffected from 6.12.112 to 6.12.* (incl.)
  • unaffected from 6.18.54 to 6.18.* (incl.)
  • unaffected from 7.2.8 to 7.2.* (incl.)
  • unaffected from 7.3-rc4 to * (incl.)

References