{"id":"CVE-2023-53570","summary":"wifi: nl80211: fix integer overflow in nl80211_parse_mbssid_elems()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: nl80211: fix integer overflow in nl80211_parse_mbssid_elems()\n\nnl80211_parse_mbssid_elems() uses a u8 variable num_elems to count the\nnumber of MBSSID elements in the nested netlink attribute attrs, which can\nlead to an integer overflow if a user of the nl80211 interface specifies\n256 or more elements in the corresponding attribute in userspace. The\ninteger overflow can lead to a heap buffer overflow as num_elems determines\nthe size of the trailing array in elems, and this array is thereafter\nwritten to for each element in attrs.\n\nNote that this vulnerability only affects devices with the\nwiphy-\u003embssid_max_interfaces member set for the wireless physical device\nstruct in the device driver, and can only be triggered by a process with\nCAP_NET_ADMIN capabilities.\n\nFix this by checking for a maximum of 255 elements in attrs.","modified":"2026-03-20T12:33:14.123480Z","published":"2025-10-04T15:17:11.525Z","related":["SUSE-SU-2025:21040-1","SUSE-SU-2025:21052-1","SUSE-SU-2025:21056-1","SUSE-SU-2025:21064-1","SUSE-SU-2025:4057-1","SUSE-SU-2025:4128-1","SUSE-SU-2025:4132-1","SUSE-SU-2025:4140-1","SUSE-SU-2025:4141-1","SUSE-SU-2025:4301-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53570.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/6311071a056272e1e761de8d0305e87cc566f734"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7d09f9f255a5f78578deba5454923072bb53b16c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e642eb67b8c10dcce758d549cc81564116e0fa49"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53570.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53570"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"dc1e3cb8da8b414b37208b2fb6755fef8122504b"},{"fixed":"e642eb67b8c10dcce758d549cc81564116e0fa49"},{"fixed":"7d09f9f255a5f78578deba5454923072bb53b16c"},{"fixed":"6311071a056272e1e761de8d0305e87cc566f734"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53570.json"}}],"schema_version":"1.7.5"}