{"id":"CVE-2023-53570","aliases":["CVE-2023-53570"],"related":[],"kind":"vulnerability","state":"published","title":"wifi: nl80211: fix integer overflow in nl80211_parse_mbssid_elems()","summary":"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->mbssid_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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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->mbssid_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.","source":"cvelist"}],"published":"2025-10-04T15:17:11.525Z","modified":"2026-08-05T09:14:53.243Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-190"],"affected":[{"ranges":[{"type":"git","introduced":"dc1e3cb8da8b414b37208b2fb6755fef8122504b","fixed":"e642eb67b8c10dcce758d549cc81564116e0fa49","status":"affected"},{"type":"git","introduced":"dc1e3cb8da8b414b37208b2fb6755fef8122504b","fixed":"7d09f9f255a5f78578deba5454923072bb53b16c","status":"affected"},{"type":"git","introduced":"dc1e3cb8da8b414b37208b2fb6755fef8122504b","fixed":"6311071a056272e1e761de8d0305e87cc566f734","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.16","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.16","status":"unaffected"},{"type":"semver","introduced":"6.1.46","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.4.11","lastAffected":"6.4.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.5","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.16","fixed":"6.1.46"},{"status":"affected","introduced":"6.2","fixed":"6.4.11"},{"status":"affected","version":"6.5"},{"status":"affected","version":"6.5"},{"status":"affected","version":"6.5"},{"status":"affected","version":"6.5"},{"status":"affected","version":"6.5"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/e642eb67b8c10dcce758d549cc81564116e0fa49","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7d09f9f255a5f78578deba5454923072bb53b16c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6311071a056272e1e761de8d0305e87cc566f734","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-53570","url":"https://www.cve.org/CVERecord?id=CVE-2023-53570","licence":"CVE Terms of Use","modified":"2026-08-05T09:14:53.243Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-53570","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53570","licence":"Public domain","modified":"2026-08-04T10:19:12.740Z"}],"updatedAt":"2026-11-25T22:58:34.944Z","epss":{"score":0.00254,"percentile":0.10377,"date":"2026-11-30T12:00:22.000Z"}}