CVE-2023-53570

wifi: nl80211: fix integer overflow in nl80211_parse_mbssid_elems()

HIGH
7.8
CVSS Score
Published: October 4, 2025 at 03:17 PM UTC
Updated: August 5, 2026 at 10:24 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.2%

Description

In the Linux kernel, the following vulnerability has been resolved: wifi: nl80211: fix integer overflow in nl80211_parse_mbssid_elems() nl80211_parse_mbssid_elems() uses a u8 variable num_elems to count the number of MBSSID elements in the nested netlink attribute attrs, which can lead to an integer overflow if a user of the nl80211 interface specifies 256 or more elements in the corresponding attribute in userspace. The integer overflow can lead to a heap buffer overflow as num_elems determines the size of the trailing array in elems, and this array is thereafter written to for each element in attrs. Note that this vulnerability only affects devices with the wiphy->mbssid_max_interfaces member set for the wireless physical device struct in the device driver, and can only be triggered by a process with CAP_NET_ADMIN capabilities. Fix this by checking for a maximum of 255 elements in attrs.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.16 ≤ v < 6.1.465.16 ≤ v < 6.4.115.16 ≤ v < 6.56.2 ≤ v < 6.4.116.5 rc16.5 rc26.5 rc36.5 rc46.5 rc5dc1e3cb8da8b414b37208b2fb6755fef8122504b
Vendor states this is fixed in 6311071a056272e1e761de8d0305e87cc566f734 (fixed)
Vendor states this is fixed in 7d09f9f255a5f78578deba5454923072bb53b16c (fixed)
Vendor states this is fixed in e642eb67b8c10dcce758d549cc81564116e0fa49 (fixed)
Vendor states this is fixed in 5.16 (unaffected)
Vendor states this is fixed in 6.1.46 (unaffected)
Vendor states this is fixed in 6.4.11 (unaffected)
Vendor states this is fixed in 6.5 (unaffected)

CVSS

7.8HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-190

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card