A stack based buffer overflow vulnerability was found in brcmf_cfg80211_start_ap() function. User-space can choose to omit NL80211_ATTR_SSID and only provide raw IE TLV data. When doing so it can provide SSID IE with length exceeding the allowed size. The driver further processes this IE copying it into a local variable without checking the length. Due to the nature of the flaw, privilege escalation cannot be fully ruled out, although we believe it is unlikely. References: http://seclists.org/oss-sec/2016/q4/111 Upstream patch: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=ded89912156b1a47d940a0c954c43afbabd0c42c
Created kernel tracking bugs for this issue: Affects: fedora-all [bug 1384405]
This was fixed in stable 4.7.5 currently available in updates for all supported Fedora releases.
Statement: This issue does not affect the Linux kernel packages as shipped with Red Hat Enterprise Linux 5, 6, as the code with the flaw is not present in the products listed. This issue affects the Linux kernel packages as shipped with Red Hat Enterprise Linux 7 and Red Hat Enterprise MRG-2. This has been rated as having Low security impact and is not currently planned to be addressed in future updates. For additional information, refer to the Red Hat Enterprise Linux Life Cycle: https://access.redhat.com/support/policy/updates/errata/.