2084AI Security Observatory

CVE

CVE-2023-53570

CVE-2023-53570HIGH 7.8EPSS 7%

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

All Linux kernel vulnerabilities →

  • 6.5-rc5This version only
  • 6.5-rc4This version only
  • 6.5-rc3This version only
  • 6.5-rc2This version only
  • 6.5-rc1This version only
  • ≥ 6.2, < 6.4.11Fixed in 6.4.11
  • ≥ 5.16, < 6.1.46Fixed in 6.1.46

Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.

Advisories and patches

Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.