mailing list archives
CVE request: kernel: nl80211: missing check for valid SSID size in scan operations
From: Petr Matousek <pmatouse () redhat com>
Date: Fri, 1 Jul 2011 10:48:58 +0200
In both trigger_scan and sched_scan operations, we were checking for the
SSID length before assigning the value correctly. Since the memory was
just kzalloc'ed, the check was always failing and SSID with over 32
characters were allowed to go through.
This is causing a buffer overflow when copying the actual SSID to the
Please note that it needs CAP_NET_ADMIN privileges.
Petr Matousek / Red Hat Security Response Team
- CVE request: kernel: nl80211: missing check for valid SSID size in scan operations Petr Matousek (Jul 01)