# CVE-2025-38643: wifi: cfg80211: Add missing lock in cfg80211\_check\_and\_end\_cac()

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, CNA) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Adjacent network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.31% (percentile 16, 2026-11-26)
- **CWE:** CWE-667
- **Published:** 2025-08-22T16:00:49.172Z
- **Modified:** 2026-10-15T22:18:48.070Z

## Who should check

- Anyone running Linux \>= 26ec17a1dc5ecdd8d91aba63ead6f8b5ad5dea0d, \< defe9ce121160788547e8e6ec4438ad8a14f40dd; \>= 26ec17a1dc5ecdd8d91aba63ead6f8b5ad5dea0d, \< b3d24038eb775f2f7a1dfef58d8e1dc444a12820; \>= 26ec17a1dc5ecdd8d91aba63ead6f8b5ad5dea0d, \< 4a63523d3541eef4cf504a9682e6fbe94ffe79a6; \>= 26ec17a1dc5ecdd8d91aba63ead6f8b5ad5dea0d, \< 7022df2248c08c6f75a01714163ac902333bf3db; \>= 26ec17a1dc5ecdd8d91aba63ead6f8b5ad5dea0d, \< dbce810607726408f889d3358f4780fd1436861e; \>= 26ec17a1dc5ecdd8d91aba63ead6f8b5ad5dea0d, \< 2c5dee15239f3f3e31aa5c8808f18996c039e2c1; 2dbb6faebb94d6d5ae87e5ea6be9280c366393e1; a4f85674e4693904ade7cbf6722d0d105d8062d8; e233cbaf8ecc5859f0417dd53899da4edb477991; \>= 4.14.170, \< 4.15; …
- Anyone running Linux 5.5

## Description

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

wifi: cfg80211: Add missing lock in cfg80211\_check\_and\_end\_cac()

Callers of wdev\_chandef() must hold the wiphy mutex.

But the worker cfg80211\_propagate\_cac\_done\_wk() never takes the lock.
Which triggers the warning below with the mesh\_peer\_connected\_dfs
test from hostapd and not (yet) released mac80211 code changes:

WARNING: CPU: 0 PID: 495 at net/wireless/chan.c:1552 wdev\_chandef+0x60/0x165
Modules linked in:
CPU: 0 UID: 0 PID: 495 Comm: kworker/u4:2 Not tainted 6.14.0-rc5-wt-g03960e6f9d47 \#33 13c287eeabfe1efea01c0bcc863723ab082e17cf
Workqueue: cfg80211 cfg80211\_propagate\_cac\_done\_wk
Stack:
 00000000 00000001 ffffff00 6093267c
 00000000 6002ec30 6d577c50 60037608
 00000000 67e8d108 6063717b 00000000
Call Trace:
 \[\<6002ec30\>\] ? \_printk+0x0/0x98
 \[\<6003c2b3\>\] show\_stack+0x10e/0x11a
 \[\<6002ec30\>\] ? \_printk+0x0/0x98
 \[\<60037608\>\] dump\_stack\_lvl+0x71/0xb8
 \[\<6063717b\>\] ? wdev\_chandef+0x60/0x165
 \[\<6003766d\>\] dump\_stack+0x1e/0x20
 \[\<6005d1b7\>\] \_\_warn+0x101/0x20f
 \[\<6005d3a8\>\] warn\_slowpath\_fmt+0xe3/0x15d
 \[\<600b0c5c\>\] ? mark\_lock.part.0+0x0/0x4ec
 \[\<60751191\>\] ? \_\_this\_cpu\_preempt\_check+0x0/0x16
 \[\<600b11a2\>\] ? mark\_held\_locks+0x5a/0x6e
 \[\<6005d2c5\>\] ? warn\_slowpath\_fmt+0x0/0x15d
 \[\<60052e53\>\] ? unblock\_signals+0x3a/0xe7
 \[\<60052f2d\>\] ? um\_set\_signals+0x2d/0x43
 \[\<60751191\>\] ? \_\_this\_cpu\_preempt\_check+0x0/0x16
 \[\<607508b2\>\] ? lock\_is\_held\_type+0x207/0x21f
 \[\<6063717b\>\] wdev\_chandef+0x60/0x165
 \[\<605f89b4\>\] regulatory\_propagate\_dfs\_state+0x247/0x43f
 \[\<60052f00\>\] ? um\_set\_signals+0x0/0x43
 \[\<605e6bfd\>\] cfg80211\_propagate\_cac\_done\_wk+0x3a/0x4a
 \[\<6007e460\>\] process\_scheduled\_works+0x3bc/0x60e
 \[\<6007d0ec\>\] ? move\_linked\_works+0x4d/0x81
 \[\<6007d120\>\] ? assign\_work+0x0/0xaa
 \[\<6007f81f\>\] worker\_thread+0x220/0x2dc
 \[\<600786ef\>\] ? set\_pf\_worker+0x0/0x57
 \[\<60087c96\>\] ? to\_kthread+0x0/0x43
 \[\<6008ab3c\>\] kthread+0x2d3/0x2e2
 \[\<6007f5ff\>\] ? worker\_thread+0x0/0x2dc
 \[\<6006c05b\>\] ? calculate\_sigpending+0x0/0x56
 \[\<6003b37d\>\] new\_thread\_handler+0x4a/0x64
irq event stamp: 614611
hardirqs last  enabled at (614621): \[\<00000000600bc96b\>\] \_\_up\_console\_sem+0x82/0xaf
hardirqs last disabled at (614630): \[\<00000000600bc92c\>\] \_\_up\_console\_sem+0x43/0xaf
softirqs last  enabled at (614268): \[\<00000000606c55c6\>\] \_\_ieee80211\_wake\_queue+0x933/0x985
softirqs last disabled at (614266): \[\<00000000606c52d6\>\] \_\_ieee80211\_wake\_queue+0x643/0x985

## Affected and fixed versions

- Linux: \>= 26ec17a1dc5ecdd8d91aba63ead6f8b5ad5dea0d, \< defe9ce121160788547e8e6ec4438ad8a14f40dd; \>= 26ec17a1dc5ecdd8d91aba63ead6f8b5ad5dea0d, \< b3d24038eb775f2f7a1dfef58d8e1dc444a12820; \>= 26ec17a1dc5ecdd8d91aba63ead6f8b5ad5dea0d, \< 4a63523d3541eef4cf504a9682e6fbe94ffe79a6; \>= 26ec17a1dc5ecdd8d91aba63ead6f8b5ad5dea0d, \< 7022df2248c08c6f75a01714163ac902333bf3db; \>= 26ec17a1dc5ecdd8d91aba63ead6f8b5ad5dea0d, \< dbce810607726408f889d3358f4780fd1436861e; \>= 26ec17a1dc5ecdd8d91aba63ead6f8b5ad5dea0d, \< 2c5dee15239f3f3e31aa5c8808f18996c039e2c1; 2dbb6faebb94d6d5ae87e5ea6be9280c366393e1; a4f85674e4693904ade7cbf6722d0d105d8062d8; e233cbaf8ecc5859f0417dd53899da4edb477991; \>= 4.14.170, \< 4.15; … (cvelist)
- Linux: 5.5 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-38643. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-38643.md
Affected: Linux >= 26ec17a1dc5ecdd8d91aba63ead6f8b5ad5dea0d, < defe9ce121160788547e8e6ec4438ad8a14f40dd; >= 26ec17a1dc5ecdd8d91aba63ead6f8b5ad5dea0d, < b3d24038eb775f2f7a1dfef58d8e1dc444a12820; >= 26ec17a1dc5ecdd8d91aba63ead6f8b5ad5dea0d, < 4a63523d3541eef4cf504a9682e6fbe94ffe79a6; >= 26ec17a1dc5ecdd8d91aba6…
Fixed in: Linux 4a63523d3541eef4cf504a9682e6fbe94ffe79a6, Linux 7022df2248c08c6f75a01714163ac902333bf3db, Linux 2c5dee15239f3f3e31aa5c8808f18996c039e2c1, Linux 4.15

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-38643 being exploited?

There is no confirmed exploitation: CVE-2025-38643 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-38643?

High: CVSS 8.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-38643?

Linux \>= 26ec17a1dc5ecdd8d91aba63ead6f8b5ad5dea0d, \< defe9ce121160788547e8e6ec4438ad8a14f40dd; \>= 26ec17a1dc5ecdd8d91aba63ead6f8b5ad5dea0d, \< b3d24038eb775f2f7a1dfef58d8e1dc444a12820; \>= 26ec17a1dc5ecdd8d91aba63ead6f8b5ad5dea0d, \< 4a63523d3541eef4cf504a9682e6fbe94ffe79a6; \>= 26ec17a1dc5ecdd8d91aba63ead6f8b5ad5dea0d, \< 7022df2248c08c6f75a01714163ac902333bf3db; \>= 26ec17a1dc5ecdd8d91aba63ead6f8b5ad5dea0d, \< dbce810607726408f889d3358f4780fd1436861e; \>= 26ec17a1dc5ecdd8d91aba63ead6f8b5ad5dea0d, \< 2c5dee15239f3f3e31aa5c8808f18996c039e2c1; 2dbb6faebb94d6d5ae87e5ea6be9280c366393e1; a4f85674e4693904ade7cbf6722d0d105d8062d8; e233cbaf8ecc5859f0417dd53899da4edb477991; \>= 4.14.170, \< 4.15; …; Linux 5.5.

### Is there a fix for CVE-2025-38643?

Yes. Fixed in Linux 4a63523d3541eef4cf504a9682e6fbe94ffe79a6, Linux 7022df2248c08c6f75a01714163ac902333bf3db, Linux 2c5dee15239f3f3e31aa5c8808f18996c039e2c1, Linux 4.15. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2025-38643?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/defe9ce121160788547e8e6ec4438ad8a14f40dd>
- patch: <https://git.kernel.org/stable/c/b3d24038eb775f2f7a1dfef58d8e1dc444a12820>
- patch: <https://git.kernel.org/stable/c/4a63523d3541eef4cf504a9682e6fbe94ffe79a6>
- patch: <https://git.kernel.org/stable/c/7022df2248c08c6f75a01714163ac902333bf3db>
- patch: <https://git.kernel.org/stable/c/dbce810607726408f889d3358f4780fd1436861e>
- patch: <https://git.kernel.org/stable/c/2c5dee15239f3f3e31aa5c8808f18996c039e2c1>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-38643>

HTML: <https://flawdb.com/CVE-2025-38643> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-38643>
