wifi: libertas_tf: fix UAF in lbtf_free_adapter()
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 04c837d413dc11a91e0275b08b9e35a6c111175e, Kernel 2b99bfc5a127ce8cd6a887d82815fc2e712f365b, Kernel 3fb3663260ec396f86b733aab9f81fac6669d2fa and 5 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | =2.6.28, >=06b16ae5319251c26377afcb401e46056d5673f4 <04c837d413dc11a91e0275b08b9e35a6c111175e, >=06b16ae5319251c26377afcb401e46056d5673f4 <2b99bfc5a127ce8cd6a887d82815fc2e712f365b, >=06b16ae5319251c26377afcb401e46056d5673f4 <3fb3663260ec396f86b733aab9f81fac6669d2fa, >=06b16ae5319251c26377afcb401e46056d5673f4 <41b1a4d545ec348b7d5324b6d4f4c6a3e0326d46, >=06b16ae5319251c26377afcb401e46056d5673f4 <b4745d6063758c681d33affca9733bbd356b6ea1, >=06b16ae5319251c26377afcb401e46056d5673f4 <bbb9a0ab96d44a64529aafc7a16de460a1712f6a, >=06b16ae5319251c26377afcb401e46056d5673f4 <e82536aad653e27c8ca7a8e0f6f816bc3f853ec3, >=06b16ae5319251c26377afcb401e46056d5673f4 <f6c3fa0d17ca0c9e6033bb45f52e33b27a9a40e6 | 04c837d413dc11a91e0275b08b9e35a6c111175e, 2b99bfc5a127ce8cd6a887d82815fc2e712f365b, 3fb3663260ec396f86b733aab9f81fac6669d2fa, 41b1a4d545ec348b7d5324b6d4f4c6a3e0326d46, b4745d6063758c681d33affca9733bbd356b6ea1, bbb9a0ab96d44a64529aafc7a16de460a1712f6a, e82536aad653e27c8ca7a8e0f6f816bc3f853ec3, f6c3fa0d17ca0c9e6033bb45f52e33b27a9a40e6 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket