CVE-2025-39863
BaseFortify
Publication date: 2025-09-19
Last updated on: 2026-03-25
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | From 3.10 (inc) to 6.6.105 (exc) |
| linux | linux_kernel | From 6.7 (inc) to 6.12.46 (exc) |
| linux | linux_kernel | From 6.13 (inc) to 6.16.6 (exc) |
| linux | linux_kernel | 6.17 |
| linux | linux_kernel | 6.17 |
| linux | linux_kernel | 6.17 |
| linux | linux_kernel | 6.17 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-416 | The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a use-after-free bug in the Linux kernel's brcmfmac wifi driver related to Bluetooth coexistence (btcoex) timer handling. A race condition occurs because the timer shutdown logic only runs if a flag (timer_on) is false, but the timer handler sets this flag to false while rescheduling work. This can cause the work to be scheduled after the associated memory has been freed, leading to use-after-free errors in two scenarios: either the memory is freed before the worker is scheduled, or it is freed after scheduling but before or during the worker's execution. The fix involves always calling timer_shutdown_sync() to reliably deactivate the timer and prevent these race conditions.
How can this vulnerability impact me? :
This vulnerability can lead to use-after-free conditions in the kernel, which may cause system instability, crashes, or potentially allow an attacker to execute arbitrary code with kernel privileges. Such issues can compromise system security and reliability, especially on systems using the affected wifi driver.
What immediate steps should I take to mitigate this vulnerability?
To mitigate this vulnerability, update the Linux kernel to a version where the brcmf_btcoex driver has been fixed to call timer_shutdown_sync() directly without conditional checks. This change resolves the race condition causing the use-after-free bug. Until then, avoid using affected brcmfmac Bluetooth coexistence features or disable the brcmf_btcoex driver if possible.