# CVE-2023-53213: wifi: brcmfmac: slab-out-of-bounds read in brcmf\_get\_assoc\_ies()

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

- **Severity:** HIGH 8.1
- **CVSS:** 8.1 (v3.1, CNA) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`
- **CVSS metrics:** Attack vector: Adjacent network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; 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.36% (percentile 22, 2026-11-26)
- **CWE:** CWE-125
- **Published:** 2025-09-15T14:21:41.433Z
- **Modified:** 2026-08-05T09:13:06.440Z

## Who should check

- Anyone running Linux \>= cf2b448852abd47cee21007b8313fbf962bf3c9a, \< ac5305e5d227b9af3aae25fa83380d3ff0225b73; \>= cf2b448852abd47cee21007b8313fbf962bf3c9a, \< 39f9bd880abac6068bedb24a4e16e7bd26bf92da; \>= cf2b448852abd47cee21007b8313fbf962bf3c9a, \< 425eea395f1f5ae349fb55f7fe51d833a5324bfe; \>= cf2b448852abd47cee21007b8313fbf962bf3c9a, \< 549825602e3e6449927ca1ea1a08fd89868439df; \>= cf2b448852abd47cee21007b8313fbf962bf3c9a, \< 936a23293bbb3332bdf4cdb9c1496e80cb0bc2c8; \>= cf2b448852abd47cee21007b8313fbf962bf3c9a, \< e29661611e6e71027159a3140e818ef3b99f32dd; \>= cf2b448852abd47cee21007b8313fbf962bf3c9a, \< 228186629ea970cc78b7d7d5f593f2d32fddf9f6; \>= cf2b448852abd47cee21007b8313fbf962bf3c9a, \< 21bee3e649d87f78fe8aef6ae02edd3d6f310fd0; \>= cf2b448852abd47cee21007b8313fbf962bf3c9a, \< 0da40e018fd034d87c9460123fa7f897b69fdee7
- Anyone running Linux 2.6.37

## Description

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

wifi: brcmfmac: slab-out-of-bounds read in brcmf\_get\_assoc\_ies()

Fix a slab-out-of-bounds read that occurs in kmemdup() called from
brcmf\_get\_assoc\_ies().
The bug could occur when assoc\_info-\>req\_len, data from a URB provided
by a USB device, is bigger than the size of buffer which is defined as
WL\_EXTRA\_BUF\_MAX.

Add the size check for req\_len/resp\_len of assoc\_info.

Found by a modified version of syzkaller.

\[   46.592467\]\[    T7\] ==================================================================
\[   46.594687\]\[    T7\] BUG: KASAN: slab-out-of-bounds in kmemdup+0x3e/0x50
\[   46.596572\]\[    T7\] Read of size 3014656 at addr ffff888019442000 by task kworker/0:1/7
\[   46.598575\]\[    T7\]
\[   46.599157\]\[    T7\] CPU: 0 PID: 7 Comm: kworker/0:1 Tainted: G           O      5.14.0+ \#145
\[   46.601333\]\[    T7\] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.12.1-0-ga5cab58e9a3f-prebuilt.qemu.org 04/01/2014
\[   46.604360\]\[    T7\] Workqueue: events brcmf\_fweh\_event\_worker
\[   46.605943\]\[    T7\] Call Trace:
\[   46.606584\]\[    T7\]  dump\_stack\_lvl+0x8e/0xd1
\[   46.607446\]\[    T7\]  print\_address\_description.constprop.0.cold+0x93/0x334
\[   46.608610\]\[    T7\]  ? kmemdup+0x3e/0x50
\[   46.609341\]\[    T7\]  kasan\_report.cold+0x79/0xd5
\[   46.610151\]\[    T7\]  ? kmemdup+0x3e/0x50
\[   46.610796\]\[    T7\]  kasan\_check\_range+0x14e/0x1b0
\[   46.611691\]\[    T7\]  memcpy+0x20/0x60
\[   46.612323\]\[    T7\]  kmemdup+0x3e/0x50
\[   46.612987\]\[    T7\]  brcmf\_get\_assoc\_ies+0x967/0xf60
\[   46.613904\]\[    T7\]  ? brcmf\_notify\_vif\_event+0x3d0/0x3d0
\[   46.614831\]\[    T7\]  ? lock\_chain\_count+0x20/0x20
\[   46.615683\]\[    T7\]  ? mark\_lock.part.0+0xfc/0x2770
\[   46.616552\]\[    T7\]  ? lock\_chain\_count+0x20/0x20
\[   46.617409\]\[    T7\]  ? mark\_lock.part.0+0xfc/0x2770
\[   46.618244\]\[    T7\]  ? lock\_chain\_count+0x20/0x20
\[   46.619024\]\[    T7\]  brcmf\_bss\_connect\_done.constprop.0+0x241/0x2e0
\[   46.620019\]\[    T7\]  ? brcmf\_parse\_configure\_security.isra.0+0x2a0/0x2a0
\[   46.620818\]\[    T7\]  ? \_\_lock\_acquire+0x181f/0x5790
\[   46.621462\]\[    T7\]  brcmf\_notify\_connect\_status+0x448/0x1950
\[   46.622134\]\[    T7\]  ? rcu\_read\_lock\_bh\_held+0xb0/0xb0
\[   46.622736\]\[    T7\]  ? brcmf\_cfg80211\_join\_ibss+0x7b0/0x7b0
\[   46.623390\]\[    T7\]  ? find\_held\_lock+0x2d/0x110
\[   46.623962\]\[    T7\]  ? brcmf\_fweh\_event\_worker+0x19f/0xc60
\[   46.624603\]\[    T7\]  ? mark\_held\_locks+0x9f/0xe0
\[   46.625145\]\[    T7\]  ? lockdep\_hardirqs\_on\_prepare+0x3e0/0x3e0
\[   46.625871\]\[    T7\]  ? brcmf\_cfg80211\_join\_ibss+0x7b0/0x7b0
\[   46.626545\]\[    T7\]  brcmf\_fweh\_call\_event\_handler.isra.0+0x90/0x100
\[   46.627338\]\[    T7\]  brcmf\_fweh\_event\_worker+0x557/0xc60
\[   46.627962\]\[    T7\]  ? brcmf\_fweh\_call\_event\_handler.isra.0+0x100/0x100
\[   46.628736\]\[    T7\]  ? rcu\_read\_lock\_sched\_held+0xa1/0xd0
\[   46.629396\]\[    T7\]  ? rcu\_read\_lock\_bh\_held+0xb0/0xb0
\[   46.629970\]\[    T7\]  ? lockdep\_hardirqs\_on\_prepare+0x273/0x3e0
\[   46.630649\]\[    T7\]  process\_one\_work+0x92b/0x1460
\[   46.631205\]\[    T7\]  ? pwq\_dec\_nr\_in\_flight+0x330/0x330
\[   46.631821\]\[    T7\]  ? rwlock\_bug.part.0+0x90/0x90
\[   46.632347\]\[    T7\]  worker\_thread+0x95/0xe00
\[   46.632832\]\[    T7\]  ? \_\_kthread\_parkme+0x115/0x1e0
\[   46.633393\]\[    T7\]  ? process\_one\_work+0x1460/0x1460
\[   46.633957\]\[    T7\]  kthread+0x3a1/0x480
\[   46.634369\]\[    T7\]  ? set\_kthread\_struct+0x120/0x120
\[   46.634933\]\[    T7\]  ret\_from\_fork+0x1f/0x30
\[   46.635431\]\[    T7\]
\[   46.635687\]\[    T7\] Allocated by task 7:
\[   46.636151\]\[    T7\]  kasan\_save\_stack+0x1b/0x40
\[   46.636628\]\[    T7\]  \_\_kasan\_kmalloc+0x7c/0x90
\[   46.637108\]\[    T7\]  kmem\_cache\_alloc\_trace+0x19e/0x330
\[   46.637696\]\[    T7\]  brcmf\_cfg80211\_attach+0x4a0/0x4040
\[   46.638275\]\[    T7\]  brcmf\_attach+0x389/0xd40
\[   46.638739\]\[    T7\]  brcmf\_usb\_probe+0x12de/0x1690
\[   46.639279\]\[    T7\]  usb\_probe\_interface+0x2aa/0x760
\[   46.639820\]\[    T7\]  really\_probe+0x205/0xb70
\[   46.640342\]\[    T7\]  \_\_driver\_probe\_device+0
---truncated---

## Affected and fixed versions

- Linux: \>= cf2b448852abd47cee21007b8313fbf962bf3c9a, \< ac5305e5d227b9af3aae25fa83380d3ff0225b73; \>= cf2b448852abd47cee21007b8313fbf962bf3c9a, \< 39f9bd880abac6068bedb24a4e16e7bd26bf92da; \>= cf2b448852abd47cee21007b8313fbf962bf3c9a, \< 425eea395f1f5ae349fb55f7fe51d833a5324bfe; \>= cf2b448852abd47cee21007b8313fbf962bf3c9a, \< 549825602e3e6449927ca1ea1a08fd89868439df; \>= cf2b448852abd47cee21007b8313fbf962bf3c9a, \< 936a23293bbb3332bdf4cdb9c1496e80cb0bc2c8; \>= cf2b448852abd47cee21007b8313fbf962bf3c9a, \< e29661611e6e71027159a3140e818ef3b99f32dd; \>= cf2b448852abd47cee21007b8313fbf962bf3c9a, \< 228186629ea970cc78b7d7d5f593f2d32fddf9f6; \>= cf2b448852abd47cee21007b8313fbf962bf3c9a, \< 21bee3e649d87f78fe8aef6ae02edd3d6f310fd0; \>= cf2b448852abd47cee21007b8313fbf962bf3c9a, \< 0da40e018fd034d87c9460123fa7f897b69fdee7 (cvelist)
- Linux: 2.6.37 (cvelist)

## Mitigation

- Upgrade Linux to 0da40e018fd034d87c9460123fa7f897b69fdee7 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2023-53213.md
Affected: Linux >= cf2b448852abd47cee21007b8313fbf962bf3c9a, < ac5305e5d227b9af3aae25fa83380d3ff0225b73; >= cf2b448852abd47cee21007b8313fbf962bf3c9a, < 39f9bd880abac6068bedb24a4e16e7bd26bf92da; >= cf2b448852abd47cee21007b8313fbf962bf3c9a, < 425eea395f1f5ae349fb55f7fe51d833a5324bfe; >= cf2b448852abd47cee21007…
Fixed in: Linux 39f9bd880abac6068bedb24a4e16e7bd26bf92da, Linux 425eea395f1f5ae349fb55f7fe51d833a5324bfe, Linux 549825602e3e6449927ca1ea1a08fd89868439df, Linux 936a23293bbb3332bdf4cdb9c1496e80cb0bc2c8, Linux 228186629ea970cc78b7d7d5f593f2d32fddf9f6, Linux 21bee3e649d87f78fe8aef6ae02edd3d6f310fd0, Linux 0da40…

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-2023-53213 being exploited?

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

### How serious is CVE-2023-53213?

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

### Which versions are affected by CVE-2023-53213?

Linux \>= cf2b448852abd47cee21007b8313fbf962bf3c9a, \< ac5305e5d227b9af3aae25fa83380d3ff0225b73; \>= cf2b448852abd47cee21007b8313fbf962bf3c9a, \< 39f9bd880abac6068bedb24a4e16e7bd26bf92da; \>= cf2b448852abd47cee21007b8313fbf962bf3c9a, \< 425eea395f1f5ae349fb55f7fe51d833a5324bfe; \>= cf2b448852abd47cee21007b8313fbf962bf3c9a, \< 549825602e3e6449927ca1ea1a08fd89868439df; \>= cf2b448852abd47cee21007b8313fbf962bf3c9a, \< 936a23293bbb3332bdf4cdb9c1496e80cb0bc2c8; \>= cf2b448852abd47cee21007b8313fbf962bf3c9a, \< e29661611e6e71027159a3140e818ef3b99f32dd; \>= cf2b448852abd47cee21007b8313fbf962bf3c9a, \< 228186629ea970cc78b7d7d5f593f2d32fddf9f6; \>= cf2b448852abd47cee21007b8313fbf962bf3c9a, \< 21bee3e649d87f78fe8aef6ae02edd3d6f310fd0; \>= cf2b448852abd47cee21007b8313fbf962bf3c9a, \< 0da40e018fd034d87c9460123fa7f897b69fdee7; Linux 2.6.37.

### Is there a fix for CVE-2023-53213?

Yes. Fixed in Linux 39f9bd880abac6068bedb24a4e16e7bd26bf92da, Linux 425eea395f1f5ae349fb55f7fe51d833a5324bfe, Linux 549825602e3e6449927ca1ea1a08fd89868439df, Linux 936a23293bbb3332bdf4cdb9c1496e80cb0bc2c8, Linux 228186629ea970cc78b7d7d5f593f2d32fddf9f6, Linux 21bee3e649d87f78fe8aef6ae02edd3d6f310fd0, Linux 0da40e018fd034d87c9460123fa7f897b69fdee7. Upgrade Linux to 0da40e018fd034d87c9460123fa7f897b69fdee7 or later.

### How do I check if I'm affected by CVE-2023-53213?

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/ac5305e5d227b9af3aae25fa83380d3ff0225b73>
- patch: <https://git.kernel.org/stable/c/39f9bd880abac6068bedb24a4e16e7bd26bf92da>
- patch: <https://git.kernel.org/stable/c/425eea395f1f5ae349fb55f7fe51d833a5324bfe>
- patch: <https://git.kernel.org/stable/c/549825602e3e6449927ca1ea1a08fd89868439df>
- patch: <https://git.kernel.org/stable/c/936a23293bbb3332bdf4cdb9c1496e80cb0bc2c8>
- patch: <https://git.kernel.org/stable/c/e29661611e6e71027159a3140e818ef3b99f32dd>
- patch: <https://git.kernel.org/stable/c/228186629ea970cc78b7d7d5f593f2d32fddf9f6>
- patch: <https://git.kernel.org/stable/c/21bee3e649d87f78fe8aef6ae02edd3d6f310fd0>
- patch: <https://git.kernel.org/stable/c/0da40e018fd034d87c9460123fa7f897b69fdee7>

## 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-2023-53213>

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