Bug 1791954 (CVE-2019-20095) - CVE-2019-20095 kernel: memory leak in mwifiex_tm_cmd in drivers/net/wireless/marvell/mwifiex/cfg80211.c
Summary: CVE-2019-20095 kernel: memory leak in mwifiex_tm_cmd in drivers/net/wireless/...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2019-20095
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1791955 1804971 1804972 1804973 1804974 1804975
Blocks: 1791956
TreeView+ depends on / blocked
 
Reported: 2020-01-16 19:00 UTC by Guilherme de Almeida Suckevicz
Modified: 2022-05-05 14:00 UTC (History)
47 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the Linux kernel's mwifiex driver implementation when connecting to other WiFi devices in "Test Mode." A kernel memory leak can occur if an error condition is met during the parameter negotiation. This issue can lead to a denial of service if multiple error conditions meeting the repeated connection attempts are attempted.
Clone Of:
Environment:
Last Closed: 2020-04-16 16:32:10 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:4416 0 None None None 2020-10-29 15:10:07 UTC
Red Hat Product Errata RHBA-2020:4417 0 None None None 2020-10-29 15:08:38 UTC
Red Hat Product Errata RHBA-2020:4418 0 None None None 2020-10-29 15:14:00 UTC
Red Hat Product Errata RHBA-2020:4419 0 None None None 2020-10-29 15:12:28 UTC
Red Hat Product Errata RHBA-2020:4420 0 None None None 2020-10-29 15:51:22 UTC
Red Hat Product Errata RHSA-2020:1493 0 None None None 2020-04-16 14:38:55 UTC
Red Hat Product Errata RHSA-2020:4060 0 None None None 2020-09-29 20:53:07 UTC
Red Hat Product Errata RHSA-2020:4062 0 None None None 2020-09-29 18:59:08 UTC

Description Guilherme de Almeida Suckevicz 2020-01-16 19:00:50 UTC
The Mwifiex driver implementation in the Linux kernel has a memory leak on the error condition when encountering an error condition when in 'Wifi test mode'. 

Wifi test mode is a 'region' mode that wireless devices can use that allows for full use of the wifi spectrum disregarding regional laws that prohibit broadcasting in certain ranges.

This requires a connection to another wifi device in "test mode" to create the error condition.

Reference and upstream commit:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=003b686ace820ce2d635a83f10f2d7f9c147dabc

Comment 1 Guilherme de Almeida Suckevicz 2020-01-16 19:03:09 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1791955]

Comment 2 Justin M. Forbes 2020-01-16 21:00:27 UTC
This was fixed for Fedora in the 5.1.6 stable kernel updates.

Comment 7 Wade Mealing 2020-02-20 02:29:09 UTC
Mitigation:

As connecting to a wireless device is not automatic and initiated by a user, not connecting to rogue access points would prevent this flaw from being abused.

Comment 8 errata-xmlrpc 2020-04-16 14:38:52 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2020:1493 https://access.redhat.com/errata/RHSA-2020:1493

Comment 9 Product Security DevOps Team 2020-04-16 16:32:10 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2019-20095

Comment 10 errata-xmlrpc 2020-09-29 18:59:04 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2020:4062 https://access.redhat.com/errata/RHSA-2020:4062

Comment 11 errata-xmlrpc 2020-09-29 20:53:03 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2020:4060 https://access.redhat.com/errata/RHSA-2020:4060


Note You need to log in before you can comment on or make changes to this bug.