Skip to main content

In the Linux kernel, the following vulnerability has been resolved: wifi: brcmfmac: fix P2P device removal race in brcmf_detach() When the driver is… (CVE-2026-99061)

0
Medium
Published: 10/23/2026 (10/23/2026, 15:31:36 UTC)
Source: GCVE Database

Description

A race condition vulnerability in the Linux kernel's brcmfmac WiFi driver caused a kernel crash when the driver was removed while a user space process that created a P2P device was still exiting. This double removal of the P2P device interface leads to a use-after-free fault and kernel oops. The issue occurs due to concurrent removal paths attempting to unregister and free the same device interface.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/23/2026, 18:50:54 UTC

Technical Analysis

The vulnerability in the Linux kernel's brcmfmac WiFi driver arises from a race condition during P2P device removal in the brcmf_detach() function. When the driver is removed while a user space process such as wpa_supplicant is still exiting, the P2P device interface is removed twice. One path involves wpa_supplicant sending NL80211_CMD_DEL_INTERFACE, which leads to disabling discovery and removing the interface. The other path is brcmf_detach() setting the bus down and removing the interface independently. This causes a double free and subsequent kernel crash due to accessing freed memory (LIST_POISON2). The issue was reproducible on an i.MX 8M Plus board with a CYW55513 device and affects the Ezurio backport of brcmfmac from v6.18.22 on a 5.4-rt kernel, with the same code present in mainline. The fix involves taking RTNL and wiphy mutexes in brcmf_detach() before reading the interface list and removing the interface with locked=true to avoid the race.

Potential Impact

The vulnerability causes a kernel crash (kernel oops) due to a double removal and use-after-free of the P2P device interface in the brcmfmac driver. This can lead to denial of service on affected systems when the driver is removed while a user space process managing the P2P device is still exiting. No information about privilege escalation or remote code execution is provided.

Mitigation Recommendations

A fix has been implemented in the Linux kernel source code to properly synchronize the removal of the P2P device interface by taking RTNL and wiphy mutexes in brcmf_detach() and removing the interface with locked=true. Users should update to a kernel version that includes this fix. Since no vendor advisory or patch links are provided, check the Linux kernel mainline or distribution kernel updates for the official fix. Until patched, avoid removing the brcmfmac driver while user space processes managing P2P devices (e.g., wpa_supplicant) are still running or exiting.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-5p6f-q3p9-r766
Osv Schema Version
1.4.0
Aliases
["CVE-2026-99061"]

Threat ID: 6adbaaced73cc49347b2050c

Added to database: 10/23/2026, 18:43:26 UTC

Last enriched: 10/23/2026, 18:50:54 UTC

Last updated: 10/24/2026, 00:45:12 UTC

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses