CVE-2019-17666: Buffer Overflow
A flaw was found in the Linux kernel's implementation of the RealTek wireless drivers WiFi-direct (or WiFi peer-to-peer) driver implementation. When the RealTek wireless networking hardware is configured to accept WiFi-Direct or WiFi P2P connections, an attacker within the wireless network connectivity radio range can exploit a flaw in the WiFi-direct protocol known as "Notice of Absence" by creating specially crafted frames which can then corrupt kernel memory as the upper bounds on the length of the frame is unchecked and supplied by the incoming packet.
Other sources
A flaw was found in the Linux kernels implementation of RealTek wireless drivers Wifi-direct (or wifi peer-to-peer) driver implementation.
When the RealTek wireless networking hardware. is configured to accept Wifi-Direct (or Wifi P2P) connections an attacker within wireless network connectivity radio range is able to exploit a flaw in the Wifi-direct protocol known as "Notice of Absense" by creating specially crafted frames which can corrupt kernel memory as the upper bounds on the lenth of the frame is unchecked and supplied by the incoming packet.
At this time, Red Hat Enterprise Linux 6 and 7 and 8 do not enable Wifi-Direct by default, but a privileged user can use standard command line tooling available to enable this feature allowing it to be attacked.
— Red Hat
Linux Kernel is vulnerable to a buffer overflow, caused by improper bounds checking by the rtlp2pnoaie function in drivers/net/wireless/realtek/rtlwifi/ps.c. By sending a specially-crafted request, a remote attacker could overflow a buffer and execute arbitrary code on the system.
— IBM
rtlp2pnoaie in drivers/net/wireless/realtek/rtlwifi/ps.c in the Linux kernel through 5.3.6 lacks a certain upper-bound check, leading to a buffer overflow.
Affected Software
Remediation
Patch Available
Event History
Parent advisories
This vulnerability appears in the following advisories.
Frequently Asked Questions
What is the severity of CVE-2019-17666?
CVE-2019-17666 has a severity rating of high due to its potential to allow unauthorized access to sensitive data or network resources.
How do I fix CVE-2019-17666?
To fix CVE-2019-17666, update the kernel to the latest version available as specified in the security patches provided by your distribution.
Which versions of the Linux kernel are affected by CVE-2019-17666?
CVE-2019-17666 affects various versions of the Linux kernel including 2.6.32, 3.10, and certain 4.x versions.
Can CVE-2019-17666 exploit be mitigated?
Mitigation for CVE-2019-17666 can be achieved by disabling WiFi-Direct functionality if it is not required.
Is there a public proof of concept for CVE-2019-17666?
Currently, there are no widely known public proofs of concept for CVE-2019-17666.