# CVE-2025-21910: wifi: cfg80211: regulatory: improve invalid hints checking

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; 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.30% (percentile 15, 2026-11-26)
- **Published:** 2025-04-01T15:40:49.189Z
- **Modified:** 2026-11-05T21:17:45.967Z

## Who should check

- Anyone running Linux \>= 09d989d179d0c679043556dda77c51b41a2dae7e, \< 62b1a9bbfebba4b4c2bb6c1ede9ef7ecee7a9ff6; \>= 09d989d179d0c679043556dda77c51b41a2dae7e, \< da3f599517ef2ea851208df3229d07728d238dc5; \>= 09d989d179d0c679043556dda77c51b41a2dae7e, \< 6a5e3b23054cee3b92683d1467e3fa83921f5622; \>= 09d989d179d0c679043556dda77c51b41a2dae7e, \< f4112cb477c727a65787a4065a75ca593bb5b2f4; \>= 09d989d179d0c679043556dda77c51b41a2dae7e, \< 35ef07112b61b06eb30683a6563c9f6378c02476; \>= 09d989d179d0c679043556dda77c51b41a2dae7e, \< be7c5f00aa7f1344293e4d48d0e12be83a2f223d; \>= 09d989d179d0c679043556dda77c51b41a2dae7e, \< 17aa34c84867f6cd181a5743e1c647e7766962a6; \>= 09d989d179d0c679043556dda77c51b41a2dae7e, \< 59b348be7597c4a9903cb003c69e37df20c04a30
- Anyone running Linux 2.6.34

## Description

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

wifi: cfg80211: regulatory: improve invalid hints checking

Syzbot keeps reporting an issue \[1\] that occurs when erroneous symbols
sent from userspace get through into user\_alpha2\[\] via
regulatory\_hint\_user() call. Such invalid regulatory hints should be
rejected.

While a sanity check from commit 47caf685a685 ("cfg80211: regulatory:
reject invalid hints") looks to be enough to deter these very cases,
there is a way to get around it due to 2 reasons.

1) The way isalpha() works, symbols other than latin lower and
upper letters may be used to determine a country/domain.
For instance, greek letters will also be considered upper/lower
letters and for such characters isalpha() will return true as well.
However, ISO-3166-1 alpha2 codes should only hold latin
characters.

2) While processing a user regulatory request, between
reg\_process\_hint\_user() and regulatory\_hint\_user() there happens to
be a call to queue\_regulatory\_request() which modifies letters in
request-\>alpha2\[\] with toupper(). This works fine for latin symbols,
less so for weird letter characters from the second part of \_ctype\[\].

Syzbot triggers a warning in is\_user\_regdom\_saved() by first sending
over an unexpected non-latin letter that gets malformed by toupper()
into a character that ends up failing isalpha() check.

Prevent this by enhancing is\_an\_alpha2() to ensure that incoming
symbols are latin letters and nothing else.

\[1\] Syzbot report:
------------\[ cut here \]------------
Unexpected user alpha2: A�
WARNING: CPU: 1 PID: 964 at net/wireless/reg.c:442 is\_user\_regdom\_saved net/wireless/reg.c:440 \[inline\]
WARNING: CPU: 1 PID: 964 at net/wireless/reg.c:442 restore\_alpha2 net/wireless/reg.c:3424 \[inline\]
WARNING: CPU: 1 PID: 964 at net/wireless/reg.c:442 restore\_regulatory\_settings+0x3c0/0x1e50 net/wireless/reg.c:3516
Modules linked in:
CPU: 1 UID: 0 PID: 964 Comm: kworker/1:2 Not tainted 6.12.0-rc5-syzkaller-00044-gc1e939a21eb1 \#0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
Workqueue: events\_power\_efficient crda\_timeout\_work
RIP: 0010:is\_user\_regdom\_saved net/wireless/reg.c:440 \[inline\]
RIP: 0010:restore\_alpha2 net/wireless/reg.c:3424 \[inline\]
RIP: 0010:restore\_regulatory\_settings+0x3c0/0x1e50 net/wireless/reg.c:3516
...
Call Trace:
 \<TASK\>
 crda\_timeout\_work+0x27/0x50 net/wireless/reg.c:542
 process\_one\_work kernel/workqueue.c:3229 \[inline\]
 process\_scheduled\_works+0xa65/0x1850 kernel/workqueue.c:3310
 worker\_thread+0x870/0xd30 kernel/workqueue.c:3391
 kthread+0x2f2/0x390 kernel/kthread.c:389
 ret\_from\_fork+0x4d/0x80 arch/x86/kernel/process.c:147
 ret\_from\_fork\_asm+0x1a/0x30 arch/x86/entry/entry\_64.S:244
 \</TASK\>

## Affected and fixed versions

- Linux: \>= 09d989d179d0c679043556dda77c51b41a2dae7e, \< 62b1a9bbfebba4b4c2bb6c1ede9ef7ecee7a9ff6; \>= 09d989d179d0c679043556dda77c51b41a2dae7e, \< da3f599517ef2ea851208df3229d07728d238dc5; \>= 09d989d179d0c679043556dda77c51b41a2dae7e, \< 6a5e3b23054cee3b92683d1467e3fa83921f5622; \>= 09d989d179d0c679043556dda77c51b41a2dae7e, \< f4112cb477c727a65787a4065a75ca593bb5b2f4; \>= 09d989d179d0c679043556dda77c51b41a2dae7e, \< 35ef07112b61b06eb30683a6563c9f6378c02476; \>= 09d989d179d0c679043556dda77c51b41a2dae7e, \< be7c5f00aa7f1344293e4d48d0e12be83a2f223d; \>= 09d989d179d0c679043556dda77c51b41a2dae7e, \< 17aa34c84867f6cd181a5743e1c647e7766962a6; \>= 09d989d179d0c679043556dda77c51b41a2dae7e, \< 59b348be7597c4a9903cb003c69e37df20c04a30 (cvelist)
- Linux: 2.6.34 (cvelist)

## Mitigation

- Upgrade Linux to 59b348be7597c4a9903cb003c69e37df20c04a30 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2025-21910.md
Affected: Linux >= 09d989d179d0c679043556dda77c51b41a2dae7e, < 62b1a9bbfebba4b4c2bb6c1ede9ef7ecee7a9ff6; >= 09d989d179d0c679043556dda77c51b41a2dae7e, < da3f599517ef2ea851208df3229d07728d238dc5; >= 09d989d179d0c679043556dda77c51b41a2dae7e, < 6a5e3b23054cee3b92683d1467e3fa83921f5622; >= 09d989d179d0c679043556d…
Fixed in: Linux 62b1a9bbfebba4b4c2bb6c1ede9ef7ecee7a9ff6, Linux 6a5e3b23054cee3b92683d1467e3fa83921f5622, Linux 35ef07112b61b06eb30683a6563c9f6378c02476, Linux 17aa34c84867f6cd181a5743e1c647e7766962a6, Linux 59b348be7597c4a9903cb003c69e37df20c04a30

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-21910 being exploited?

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

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

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

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

Linux \>= 09d989d179d0c679043556dda77c51b41a2dae7e, \< 62b1a9bbfebba4b4c2bb6c1ede9ef7ecee7a9ff6; \>= 09d989d179d0c679043556dda77c51b41a2dae7e, \< da3f599517ef2ea851208df3229d07728d238dc5; \>= 09d989d179d0c679043556dda77c51b41a2dae7e, \< 6a5e3b23054cee3b92683d1467e3fa83921f5622; \>= 09d989d179d0c679043556dda77c51b41a2dae7e, \< f4112cb477c727a65787a4065a75ca593bb5b2f4; \>= 09d989d179d0c679043556dda77c51b41a2dae7e, \< 35ef07112b61b06eb30683a6563c9f6378c02476; \>= 09d989d179d0c679043556dda77c51b41a2dae7e, \< be7c5f00aa7f1344293e4d48d0e12be83a2f223d; \>= 09d989d179d0c679043556dda77c51b41a2dae7e, \< 17aa34c84867f6cd181a5743e1c647e7766962a6; \>= 09d989d179d0c679043556dda77c51b41a2dae7e, \< 59b348be7597c4a9903cb003c69e37df20c04a30; Linux 2.6.34.

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

Yes. Fixed in Linux 62b1a9bbfebba4b4c2bb6c1ede9ef7ecee7a9ff6, Linux 6a5e3b23054cee3b92683d1467e3fa83921f5622, Linux 35ef07112b61b06eb30683a6563c9f6378c02476, Linux 17aa34c84867f6cd181a5743e1c647e7766962a6, Linux 59b348be7597c4a9903cb003c69e37df20c04a30. Upgrade Linux to 59b348be7597c4a9903cb003c69e37df20c04a30 or later.

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

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/62b1a9bbfebba4b4c2bb6c1ede9ef7ecee7a9ff6>
- patch: <https://git.kernel.org/stable/c/da3f599517ef2ea851208df3229d07728d238dc5>
- patch: <https://git.kernel.org/stable/c/6a5e3b23054cee3b92683d1467e3fa83921f5622>
- patch: <https://git.kernel.org/stable/c/f4112cb477c727a65787a4065a75ca593bb5b2f4>
- patch: <https://git.kernel.org/stable/c/35ef07112b61b06eb30683a6563c9f6378c02476>
- patch: <https://git.kernel.org/stable/c/be7c5f00aa7f1344293e4d48d0e12be83a2f223d>
- patch: <https://git.kernel.org/stable/c/17aa34c84867f6cd181a5743e1c647e7766962a6>
- patch: <https://git.kernel.org/stable/c/59b348be7597c4a9903cb003c69e37df20c04a30>
- other: <https://lists.debian.org/debian-lts-announce/2025/05/msg00045.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/05/msg00030.html>

## 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-21910>

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