Bug 1831699 (CVE-2020-12465) - CVE-2020-12465 kernel: buffer overflow in mt76_add_fragment function in drivers/net/wireless/mediatek/mt76/dma.c
Summary: CVE-2020-12465 kernel: buffer overflow in mt76_add_fragment function in drive...
Keywords:
Status: NEW
Alias: CVE-2020-12465
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On: 1807052 1831703 1836205
Blocks: 1831702
TreeView+ depends on / blocked
 
Reported: 2020-05-05 14:01 UTC by Guilherme de Almeida Suckevicz
Modified: 2024-07-24 08:27 UTC (History)
37 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2020:4431 0 None None None 2020-11-04 00:51:02 UTC

Description Guilherme de Almeida Suckevicz 2020-05-05 14:01:26 UTC
There was a memory overflow and data corruption flaw seen in the Mediatek MT76 driver module for wifi in mt76_add_fragment in drivers/net/wireless/mediatek/mt76/dma.c.  In this problem an oversized packet with too many rx fragments causes an overflow and a corruption in memory of adjacent pages. A local attacker with special user (or root) privilege can cause a DoS or a leak of internal kernel information.

Reference:
https://cdn.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.5.10

Upstream commit:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=b102f0c522cf668c8382c56a4f771b37d011cda2

Comment 1 Guilherme de Almeida Suckevicz 2020-05-05 14:06:34 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1831703]

Comment 2 Justin M. Forbes 2020-05-05 14:35:55 UTC
This was fixed for Fedora with the 5.5.10 stable kernel updates.

Comment 8 RaTasha Tillery-Smith 2020-05-19 12:43:51 UTC
Mitigation:

Mitigation for this issue is to skip loading the affected module mt76 onto the system until we have a fix available. This can be done by a blacklist mechanism and ensures the driver is not loaded at the boot time.
~~~
How do I blacklist a kernel module to prevent it from loading automatically?
https://access.redhat.com/solutions/41278 
~~~

Comment 9 errata-xmlrpc 2020-11-04 00:50:59 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

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


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