CVE-2025-39863
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2025-39863 is a vulnerability discovered in the Linux kernel's brcmfmac WiFi driver, specifically related to a use-after-free condition when rescheduling brcmfbtcoexinfo work. The vulnerability was disclosed on September 19, 2025, affecting various versions of Red Hat Enterprise Linux (RHEL) systems from version 7 through 10 (NVD, Red Hat).

Technical details

The vulnerability stems from a race condition in the brcmfbtcoexdetach() function, which only shuts down the btcoex timer if the timeron flag is false. The issue arises because brcmfbtcoextimerfunc(), running as a timer handler, sets timeron to false, creating critical race conditions. This can lead to two scenarios: either the brcmfbtcoexinfo is deallocated before the worker is scheduled, or it's freed after scheduling but before or during execution. The vulnerability has been assigned a CVSS v3.1 base score of 7.0, indicating moderate severity (Red Hat).

Impact

The vulnerability can result in use-after-free bugs in the Linux kernel's WiFi subsystem, specifically affecting the brcmfmac driver. These bugs can occur in two distinct scenarios depending on the timing of memory deallocation and worker thread execution, potentially leading to system instability or crashes (NVD).

Mitigation and workarounds

The recommended fix involves dropping the conditional check and calling timershutdownsync() directly, which can deactivate the timer reliably regardless of its current state. After stopping the timer, the timer_on state is set to false. This solution has been implemented in the Linux kernel to address the race conditions (NVD).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-39866N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-64k-devel
NoYesSep 19, 2025
CVE-2025-39865N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-64k-devel-matched
NoYesSep 19, 2025
CVE-2025-39864N/AN/A
  • Linux KernelLinux Kernel
  • kernel-uki-virt
NoYesSep 19, 2025
CVE-2025-39863N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-modules-internal
NoYesSep 19, 2025
CVE-2025-39861N/AN/A
  • Linux KernelLinux Kernel
  • rv
NoYesSep 19, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management