# CVE-2022-50678: wifi: brcmfmac: fix invalid address access when enabling SCAN log level

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.29% (percentile 14, 2026-11-26)
- **Published:** 2025-12-09T01:29:31.739Z
- **Modified:** 2026-11-10T12:10:00.177Z

## Who should check

- Anyone running Linux \>= efc2c1fa8e145b60a7805fa9b6c92ac0746fccc3, \< 7ccb0529446ae68a8581916bfc95c353306d76ba; \>= efc2c1fa8e145b60a7805fa9b6c92ac0746fccc3, \< 1c12d47a9017a7745585b57b9b0fdc0d8c50978e; \>= efc2c1fa8e145b60a7805fa9b6c92ac0746fccc3, \< 56a0ac48634155d2b866b99fba7e1dd8df4e2804; \>= efc2c1fa8e145b60a7805fa9b6c92ac0746fccc3, \< 50e45034c5802cedbf5b707364ea76ace29ad984; \>= efc2c1fa8e145b60a7805fa9b6c92ac0746fccc3, \< 75995ce1c926ee87bf93d58977c766b4e7744715; \>= efc2c1fa8e145b60a7805fa9b6c92ac0746fccc3, \< 4d4dcfa6b4e85a878401f4fbae4cafc88cdcceb4; \>= efc2c1fa8e145b60a7805fa9b6c92ac0746fccc3, \< 826405a911473b6ee8bd2aa891cb2f03a13efa17; \>= efc2c1fa8e145b60a7805fa9b6c92ac0746fccc3, \< aa666b68e73fc06d83c070d96180b9010cf5a960
- Anyone running Linux 4.13

## Description

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

wifi: brcmfmac: fix invalid address access when enabling SCAN log level

The variable i is changed when setting random MAC address and causes
invalid address access when printing the value of pi-\>reqs\[i\]-\>reqid.

We replace reqs index with ri to fix the issue.

\[  136.726473\] Unable to handle kernel access to user memory outside uaccess routines at virtual address 0000000000000000
\[  136.737365\] Mem abort info:
\[  136.740172\]   ESR = 0x96000004
\[  136.743359\]   Exception class = DABT (current EL), IL = 32 bits
\[  136.749294\]   SET = 0, FnV = 0
\[  136.752481\]   EA = 0, S1PTW = 0
\[  136.755635\] Data abort info:
\[  136.758514\]   ISV = 0, ISS = 0x00000004
\[  136.762487\]   CM = 0, WnR = 0
\[  136.765522\] user pgtable: 4k pages, 48-bit VAs, pgdp = 000000005c4e2577
\[  136.772265\] \[0000000000000000\] pgd=0000000000000000
\[  136.777160\] Internal error: Oops: 96000004 \[\#1\] PREEMPT SMP
\[  136.782732\] Modules linked in: brcmfmac(O) brcmutil(O) cfg80211(O) compat(O)
\[  136.789788\] Process wificond (pid: 3175, stack limit = 0x00000000053048fb)
\[  136.796664\] CPU: 3 PID: 3175 Comm: wificond Tainted: G           O      4.19.42-00001-g531a5f5 \#1
\[  136.805532\] Hardware name: Freescale i.MX8MQ EVK (DT)
\[  136.810584\] pstate: 60400005 (nZCv daif +PAN -UAO)
\[  136.815429\] pc : brcmf\_pno\_config\_sched\_scans+0x6cc/0xa80 \[brcmfmac\]
\[  136.821811\] lr : brcmf\_pno\_config\_sched\_scans+0x67c/0xa80 \[brcmfmac\]
\[  136.828162\] sp : ffff00000e9a3880
\[  136.831475\] x29: ffff00000e9a3890 x28: ffff800020543400
\[  136.836786\] x27: ffff8000b1008880 x26: ffff0000012bf6a0
\[  136.842098\] x25: ffff80002054345c x24: ffff800088d22400
\[  136.847409\] x23: ffff0000012bf638 x22: ffff0000012bf6d8
\[  136.852721\] x21: ffff8000aced8fc0 x20: ffff8000ac164400
\[  136.858032\] x19: ffff00000e9a3946 x18: 0000000000000000
\[  136.863343\] x17: 0000000000000000 x16: 0000000000000000
\[  136.868655\] x15: ffff0000093f3b37 x14: 0000000000000050
\[  136.873966\] x13: 0000000000003135 x12: 0000000000000000
\[  136.879277\] x11: 0000000000000000 x10: ffff000009a61888
\[  136.884589\] x9 : 000000000000000f x8 : 0000000000000008
\[  136.889900\] x7 : 303a32303d726464 x6 : ffff00000a1f957d
\[  136.895211\] x5 : 0000000000000000 x4 : ffff00000e9a3942
\[  136.900523\] x3 : 0000000000000000 x2 : ffff0000012cead8
\[  136.905834\] x1 : ffff0000012bf6d8 x0 : 0000000000000000
\[  136.911146\] Call trace:
\[  136.913623\]  brcmf\_pno\_config\_sched\_scans+0x6cc/0xa80 \[brcmfmac\]
\[  136.919658\]  brcmf\_pno\_start\_sched\_scan+0xa4/0x118 \[brcmfmac\]
\[  136.925430\]  brcmf\_cfg80211\_sched\_scan\_start+0x80/0xe0 \[brcmfmac\]
\[  136.931636\]  nl80211\_start\_sched\_scan+0x140/0x308 \[cfg80211\]
\[  136.937298\]  genl\_rcv\_msg+0x358/0x3f4
\[  136.940960\]  netlink\_rcv\_skb+0xb4/0x118
\[  136.944795\]  genl\_rcv+0x34/0x48
\[  136.947935\]  netlink\_unicast+0x264/0x300
\[  136.951856\]  netlink\_sendmsg+0x2e4/0x33c
\[  136.955781\]  \_\_sys\_sendto+0x120/0x19c

## Affected and fixed versions

- Linux: \>= efc2c1fa8e145b60a7805fa9b6c92ac0746fccc3, \< 7ccb0529446ae68a8581916bfc95c353306d76ba; \>= efc2c1fa8e145b60a7805fa9b6c92ac0746fccc3, \< 1c12d47a9017a7745585b57b9b0fdc0d8c50978e; \>= efc2c1fa8e145b60a7805fa9b6c92ac0746fccc3, \< 56a0ac48634155d2b866b99fba7e1dd8df4e2804; \>= efc2c1fa8e145b60a7805fa9b6c92ac0746fccc3, \< 50e45034c5802cedbf5b707364ea76ace29ad984; \>= efc2c1fa8e145b60a7805fa9b6c92ac0746fccc3, \< 75995ce1c926ee87bf93d58977c766b4e7744715; \>= efc2c1fa8e145b60a7805fa9b6c92ac0746fccc3, \< 4d4dcfa6b4e85a878401f4fbae4cafc88cdcceb4; \>= efc2c1fa8e145b60a7805fa9b6c92ac0746fccc3, \< 826405a911473b6ee8bd2aa891cb2f03a13efa17; \>= efc2c1fa8e145b60a7805fa9b6c92ac0746fccc3, \< aa666b68e73fc06d83c070d96180b9010cf5a960 (cvelist)
- Linux: 4.13 (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-2022-50678. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-50678.md
Affected: Linux >= efc2c1fa8e145b60a7805fa9b6c92ac0746fccc3, < 7ccb0529446ae68a8581916bfc95c353306d76ba; >= efc2c1fa8e145b60a7805fa9b6c92ac0746fccc3, < 1c12d47a9017a7745585b57b9b0fdc0d8c50978e; >= efc2c1fa8e145b60a7805fa9b6c92ac0746fccc3, < 56a0ac48634155d2b866b99fba7e1dd8df4e2804; >= efc2c1fa8e145b60a7805fa…
Fixed in: Linux 7ccb0529446ae68a8581916bfc95c353306d76ba, Linux 1c12d47a9017a7745585b57b9b0fdc0d8c50978e, Linux 56a0ac48634155d2b866b99fba7e1dd8df4e2804, Linux 50e45034c5802cedbf5b707364ea76ace29ad984, Linux 75995ce1c926ee87bf93d58977c766b4e7744715, Linux 4d4dcfa6b4e85a878401f4fbae4cafc88cdcceb4, Linux 82640…

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-2022-50678 being exploited?

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

### How serious is CVE-2022-50678?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2022-50678?

Linux \>= efc2c1fa8e145b60a7805fa9b6c92ac0746fccc3, \< 7ccb0529446ae68a8581916bfc95c353306d76ba; \>= efc2c1fa8e145b60a7805fa9b6c92ac0746fccc3, \< 1c12d47a9017a7745585b57b9b0fdc0d8c50978e; \>= efc2c1fa8e145b60a7805fa9b6c92ac0746fccc3, \< 56a0ac48634155d2b866b99fba7e1dd8df4e2804; \>= efc2c1fa8e145b60a7805fa9b6c92ac0746fccc3, \< 50e45034c5802cedbf5b707364ea76ace29ad984; \>= efc2c1fa8e145b60a7805fa9b6c92ac0746fccc3, \< 75995ce1c926ee87bf93d58977c766b4e7744715; \>= efc2c1fa8e145b60a7805fa9b6c92ac0746fccc3, \< 4d4dcfa6b4e85a878401f4fbae4cafc88cdcceb4; \>= efc2c1fa8e145b60a7805fa9b6c92ac0746fccc3, \< 826405a911473b6ee8bd2aa891cb2f03a13efa17; \>= efc2c1fa8e145b60a7805fa9b6c92ac0746fccc3, \< aa666b68e73fc06d83c070d96180b9010cf5a960; Linux 4.13.

### Is there a fix for CVE-2022-50678?

Yes. Fixed in Linux 7ccb0529446ae68a8581916bfc95c353306d76ba, Linux 1c12d47a9017a7745585b57b9b0fdc0d8c50978e, Linux 56a0ac48634155d2b866b99fba7e1dd8df4e2804, Linux 50e45034c5802cedbf5b707364ea76ace29ad984, Linux 75995ce1c926ee87bf93d58977c766b4e7744715, Linux 4d4dcfa6b4e85a878401f4fbae4cafc88cdcceb4, Linux 826405a911473b6ee8bd2aa891cb2f03a13efa17. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2022-50678?

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

- other: <https://git.kernel.org/stable/c/7ccb0529446ae68a8581916bfc95c353306d76ba>
- other: <https://git.kernel.org/stable/c/1c12d47a9017a7745585b57b9b0fdc0d8c50978e>
- other: <https://git.kernel.org/stable/c/56a0ac48634155d2b866b99fba7e1dd8df4e2804>
- other: <https://git.kernel.org/stable/c/50e45034c5802cedbf5b707364ea76ace29ad984>
- other: <https://git.kernel.org/stable/c/75995ce1c926ee87bf93d58977c766b4e7744715>
- other: <https://git.kernel.org/stable/c/4d4dcfa6b4e85a878401f4fbae4cafc88cdcceb4>
- other: <https://git.kernel.org/stable/c/826405a911473b6ee8bd2aa891cb2f03a13efa17>
- other: <https://git.kernel.org/stable/c/aa666b68e73fc06d83c070d96180b9010cf5a960>

## 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-2022-50678>

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