Skip to content
Fencer Vulns
high 8.1

CVE-2023-53213 json

wifi: brcmfmac: slab-out-of-bounds read in brcmf_get_assoc_ies()

published 2025-09-15 13 mo ago modified 2026-08-05 3 mo ago also EUVD-2023-59871

cvss
8.1
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.2%
EPSS 0.2% chance of exploitation in 30 days, percentile 15%
public exploits
0
none known

Summary

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

Patch / fix

  • Linux Linux 4.14.315, 4.19.283, 5.4.243, 5.10.180, 5.15.110, 6.1.27, 6.2.14, 6.3.1, 6.4
  • linux Debian 14, Debian 13, Debian 12 6.1.27-1

debian advisories DEBIAN-CVE-2023-53213

  • linux Ubuntu 18.04 LTS 4.15.0-212.223
  • linux Ubuntu 20.04 LTS 5.4.0-150.167
  • linux Ubuntu 22.04 LTS 5.15.0-73.80
  • linux-aws Ubuntu 18.04 LTS 4.15.0-1157.170
  • linux-aws Ubuntu 20.04 LTS 5.4.0-1103.111
  • linux-aws Ubuntu 22.04 LTS 5.15.0-1037.41
  • linux-gcp Ubuntu 20.04 LTS 5.4.0-1106.115
  • linux-gcp Ubuntu 22.04 LTS 5.15.0-1035.43

ubuntu advisories UBUNTU-CVE-2023-53213

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • kernel RHEL 8 4.18.0-513.5.1.el8_9
  • perf RHEL 8 4.18.0-513.5.1.el8_9
  • bpftool RHEL 8 4.18.0-513.5.1.el8_9
  • kernel-core RHEL 8 4.18.0-513.5.1.el8_9
  • kernel-tools RHEL 8 4.18.0-513.5.1.el8_9
  • python3-perf RHEL 8 4.18.0-513.5.1.el8_9
  • kernel-modules RHEL 8 4.18.0-513.5.1.el8_9
  • kernel-zfcpdump RHEL 8 4.18.0-513.5.1.el8_9

red hat advisories RHSA-2025:23445RHSA-2025:22752RHSA-2025:21136RHSA-2025:21128RHSA-2025:21091RHSA-2025:21084

  • kernel-rt SLE Micro 5.5 5.14.21-150500.13.109.1
  • kernel-source-rt SLE Micro 5.5 5.14.21-150500.13.109.1
  • kernel-rt SLE Micro 5.4, SLE Micro 5.3 5.14.21-150400.15.133.1
  • kernel-source-rt SLE Micro 5.4, SLE Micro 5.3 5.14.21-150400.15.133.1
  • kernel-64kb SLES 15 SP4-LTSS, SLE High Performance Computing 15 SP4-LTSS, SLE High Performance Computing 15 SP4-ESPOS 5.14.21-150400.24.179.1
  • kernel-syms SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE High Performance Computing 15 SP4-LTSS +3 more 5.14.21-150400.24.179.1
  • kernel-source SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE High Performance Computing 15 SP4-LTSS +3 more 5.14.21-150400.24.179.1
  • kernel-default SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE Micro 5.4 +7 more 5.14.21-150400.24.179.1

suse advisories SUSE-SU-2025:3761-1SUSE-SU-2025:3716-1SUSE-SU-2025:03628-1SUSE-SU-2025:03626-1SUSE-SU-2025:03615-1SUSE-SU-2025:03614-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2023-53213 updated cvss 7.0

kernel: wifi: brcmfmac: slab-out-of-bounds read in brcmf_get_assoc_ies()

  • Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 kernel-rt, kernel-rt-kvm, kernel-rt-core, kernel-rt-modules, kernel-rt-debug-kvm, kernel-rt-debug-core, +6 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more
    affected: no fix available
  • Red Hat CodeReady Linux Builder (v. 8) kernel-debuginfo-common-x86_64 4.18.0-513.5.1.el8_9, kernel-debuginfo-common-aarch64 4.18.0-513.5.1.el8_9, kernel-debuginfo-common-ppc64le 4.18.0-513.5.1.el8_9
    fixed: vendor fix RHSA-2023:7077
  • Red Hat Enterprise Linux AppStream E4S (v.9.0) perf 5.14.0-70.153.1.el9_0, kernel-devel-matched 5.14.0-70.153.1.el9_0, kernel-debug-devel-matched 5.14.0-70.153.1.el9_0, kernel-debuginfo-common-s390x 5.14.0-70.153.1.el9_0, kernel-zfcpdump-devel-matched 5.14.0-70.153.1.el9_0, kernel-debuginfo-common-x86_64 5.14.0-70.153.1.el9_0, +2 more
    fixed: vendor fix RHSA-2025:21091
  • Red Hat Enterprise Linux AppStream E4S (v.9.2) perf 5.14.0-284.146.1.el9_2, rtla 5.14.0-284.146.1.el9_2, kernel-devel-matched 5.14.0-284.146.1.el9_2, kernel-64k-devel-matched 5.14.0-284.146.1.el9_2, kernel-debug-devel-matched 5.14.0-284.146.1.el9_2, kernel-debuginfo-common-s390x 5.14.0-284.146.1.el9_2, +5 more
    fixed: vendor fix RHSA-2025:21051
  • Red Hat Enterprise Linux BaseOS (v. 8) perf 4.18.0-513.5.1.el8_9, kernel 4.18.0-513.5.1.el8_9, bpftool 4.18.0-513.5.1.el8_9, kernel-core 4.18.0-513.5.1.el8_9, kernel-tools 4.18.0-513.5.1.el8_9, python3-perf 4.18.0-513.5.1.el8_9, +15 more
    fixed: vendor fix RHSA-2023:7077
  • Red Hat Enterprise Linux BaseOS AUS (v. 8.2) perf 4.18.0-193.178.1.el8_2, kernel 4.18.0-193.178.1.el8_2, bpftool 4.18.0-193.178.1.el8_2, kernel-core 4.18.0-193.178.1.el8_2, kernel-tools 4.18.0-193.178.1.el8_2, python3-perf 4.18.0-193.178.1.el8_2, +8 more
    fixed: vendor fix RHSA-2025:23445
  • Red Hat Enterprise Linux BaseOS AUS (v.8.4) perf 4.18.0-305.179.1.el8_4, kernel 4.18.0-305.179.1.el8_4, bpftool 4.18.0-305.179.1.el8_4, kernel-core 4.18.0-305.179.1.el8_4, kernel-tools 4.18.0-305.179.1.el8_4, python3-perf 4.18.0-305.179.1.el8_4, +8 more
    fixed: vendor fix RHSA-2025:22752
  • Red Hat Enterprise Linux BaseOS AUS (v.8.6) perf 4.18.0-372.168.1.el8_6, kernel 4.18.0-372.168.1.el8_6, bpftool 4.18.0-372.168.1.el8_6, kernel-core 4.18.0-372.168.1.el8_6, kernel-tools 4.18.0-372.168.1.el8_6, python3-perf 4.18.0-372.168.1.el8_6, +8 more Red Hat Enterprise Linux BaseOS E4S (v.8.6) perf 4.18.0-372.168.1.el8_6, kernel 4.18.0-372.168.1.el8_6, bpftool 4.18.0-372.168.1.el8_6, kernel-core 4.18.0-372.168.1.el8_6, kernel-tools 4.18.0-372.168.1.el8_6, python3-perf 4.18.0-372.168.1.el8_6, +15 more
    fixed: vendor fix RHSA-2025:21084
show 9 more
  • Red Hat Enterprise Linux BaseOS E4S (v.8.8) perf 4.18.0-477.118.1.el8_8, kernel 4.18.0-477.118.1.el8_8, bpftool 4.18.0-477.118.1.el8_8, kernel-core 4.18.0-477.118.1.el8_8, kernel-tools 4.18.0-477.118.1.el8_8, python3-perf 4.18.0-477.118.1.el8_8, +9 more
    fixed: vendor fix RHSA-2025:21083
  • Red Hat Enterprise Linux BaseOS E4S (v.9.0) kernel 5.14.0-70.153.1.el9_0, bpftool 5.14.0-70.153.1.el9_0, kernel-core 5.14.0-70.153.1.el9_0, kernel-tools 5.14.0-70.153.1.el9_0, python3-perf 5.14.0-70.153.1.el9_0, kernel-modules 5.14.0-70.153.1.el9_0, +14 more
    fixed: vendor fix RHSA-2025:21091
  • Red Hat Enterprise Linux BaseOS E4S (v.9.2) bpftool 7.0.0-284.146.1.el9_2, kernel 5.14.0-284.146.1.el9_2, kernel-64k 5.14.0-284.146.1.el9_2, kernel-core 5.14.0-284.146.1.el9_2, kernel-tools 5.14.0-284.146.1.el9_2, python3-perf 5.14.0-284.146.1.el9_2, +28 more
    fixed: vendor fix RHSA-2025:21051
  • Red Hat Enterprise Linux BaseOS EUS EXTENSION (v.8.4) perf 4.18.0-305.179.1.el8_4, kernel 4.18.0-305.179.1.el8_4, bpftool 4.18.0-305.179.1.el8_4, kernel-core 4.18.0-305.179.1.el8_4, kernel-tools 4.18.0-305.179.1.el8_4, python3-perf 4.18.0-305.179.1.el8_4, +8 more
    fixed: vendor fix RHSA-2025:22752
  • Red Hat Enterprise Linux BaseOS TUS (v.8.6) perf 4.18.0-372.168.1.el8_6, kernel 4.18.0-372.168.1.el8_6, bpftool 4.18.0-372.168.1.el8_6, kernel-core 4.18.0-372.168.1.el8_6, kernel-tools 4.18.0-372.168.1.el8_6, python3-perf 4.18.0-372.168.1.el8_6, +8 more
    fixed: vendor fix RHSA-2025:21084
  • Red Hat Enterprise Linux BaseOS TUS (v.8.8) perf 4.18.0-477.118.1.el8_8, kernel 4.18.0-477.118.1.el8_8, bpftool 4.18.0-477.118.1.el8_8, kernel-core 4.18.0-477.118.1.el8_8, kernel-tools 4.18.0-477.118.1.el8_8, python3-perf 4.18.0-477.118.1.el8_8, +8 more
    fixed: vendor fix RHSA-2025:21083
  • Red Hat Enterprise Linux NFV E4S (v.9.0) kernel-rt 5.14.0-70.153.1.rt21.225.el9_0, kernel-rt-kvm 5.14.0-70.153.1.rt21.225.el9_0, kernel-rt-core 5.14.0-70.153.1.rt21.225.el9_0, kernel-rt-modules 5.14.0-70.153.1.rt21.225.el9_0, kernel-rt-debug-kvm 5.14.0-70.153.1.rt21.225.el9_0, kernel-rt-debug-core 5.14.0-70.153.1.rt21.225.el9_0, +4 more Red Hat Enterprise Linux Real Time E4S (v.9.0) kernel-rt 5.14.0-70.153.1.rt21.225.el9_0, kernel-rt-core 5.14.0-70.153.1.rt21.225.el9_0, kernel-rt-modules 5.14.0-70.153.1.rt21.225.el9_0, kernel-rt-debug-core 5.14.0-70.153.1.rt21.225.el9_0, kernel-rt-debug-modules 5.14.0-70.153.1.rt21.225.el9_0, kernel-rt-modules-extra 5.14.0-70.153.1.rt21.225.el9_0, +2 more
    fixed: vendor fix RHSA-2025:21136
  • Red Hat Enterprise Linux Real Time E4S (v.9.2) kernel-rt 5.14.0-284.146.1.rt14.431.el9_2, kernel-rt-core 5.14.0-284.146.1.rt14.431.el9_2, kernel-rt-modules 5.14.0-284.146.1.rt14.431.el9_2, kernel-rt-debug-core 5.14.0-284.146.1.rt14.431.el9_2, kernel-rt-modules-core 5.14.0-284.146.1.rt14.431.el9_2, kernel-rt-debug-modules 5.14.0-284.146.1.rt14.431.el9_2, +4 more Red Hat Enterprise Linux Real Time for NFV E4S (v.9.2) kernel-rt 5.14.0-284.146.1.rt14.431.el9_2, kernel-rt-kvm 5.14.0-284.146.1.rt14.431.el9_2, kernel-rt-core 5.14.0-284.146.1.rt14.431.el9_2, kernel-rt-modules 5.14.0-284.146.1.rt14.431.el9_2, kernel-rt-debug-kvm 5.14.0-284.146.1.rt14.431.el9_2, kernel-rt-debug-core 5.14.0-284.146.1.rt14.431.el9_2, +6 more
    fixed: vendor fix RHSA-2025:21128
  • Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 10 kernel
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
9 mo ago

Exploit prediction

0.24% chance of exploitation in the next 30 days, higher than 15% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 8.1 CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
CISA ADP 3.1 7.1 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
NVD 3.1 7.1 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
CNA 3.1 7.1 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

Affected products

  • Linux Linux

Classification

Weakness
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.