Menu

Star on GitHub · 3.2k

CVE-2025-40321

In the Linux kernel, the following vulnerability has been resolved: wifi: brcmfmac: fix crash while sending Action Frames in standalone AP Mode Currently, whenever there is a need to transmit an…

Published Dec 8, 2025EPSS 0.20%

Overview

CVE-2025-40321 is a known-severity vulnerability. It was published on December 8, 2025.

Technical description

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

wifi: brcmfmac: fix crash while sending Action Frames in standalone AP Mode

Currently, whenever there is a need to transmit an Action frame,

the brcmfmac driver always uses the P2P vif to send the "actframe" IOVAR to

firmware. The P2P interfaces were available when wpa_supplicant is managing

the wlan interface.

However, the P2P interfaces are not created/initialized when only hostapd

is managing the wlan interface. And if hostapd receives an ANQP Query REQ

Action frame even from an un-associated STA, the brcmfmac driver tries

to use an uninitialized P2P vif pointer for sending the IOVAR to firmware.

This NULL pointer dereferencing triggers a driver crash.

[ 1417.074538] Unable to handle kernel NULL pointer dereference at virtual

address 0000000000000000

[...]

[ 1417.075188] Hardware name: Raspberry Pi 4 Model B Rev 1.5 (DT)

[...]

[ 1417.075653] Call trace:

[ 1417.075662] brcmf_p2p_send_action_frame+0x23c/0x

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2025-40321?

CVE-2025-40321 is a known-severity vulnerability. It was published on December 8, 2025.

How severe is CVE-2025-40321?

CVSS score information is not yet available for this vulnerability. Check back as the CVE record is updated by NVD analysts.

How do I fix or remediate CVE-2025-40321?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-40321?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2025-40321 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.