cve.bz

CVE-2020-12465 Classic Buffer Overflow

6.7 mediumEPSS 0.4%Fix available

Medium (6.7). EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
An array overflow was discovered in mt76_add_fragment in drivers/net/wireless/mediatek/mt76/dma.c in the Linux kernel before 5.5.10, aka CID-b102f0c522cf. An oversized packet with too many rx fragments can corrupt memory of adjacent pages.

Severity

CVSS 3.1

6.7 medium
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 24th percentile. Scored 2026-11-25. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-120 Buffer Copy without Checking Size of Input (Classic Buffer Overflow)
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-12465 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-12465?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-12465?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-12465 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linux:linux_kernelfrom 4.16 before 4.19.111
linux:linux_kernelfrom 4.20 before 5.4.26
linux:linux_kernelfrom 5.5 before 5.5.10
netapp:hci_baseboard_management_controllerh300s
netapp:hci_baseboard_management_controllerh410c
netapp:hci_baseboard_management_controllerh410s
netapp:hci_baseboard_management_controllerh500s
netapp:hci_baseboard_management_controllerh610c
netapp:hci_baseboard_management_controllerh610s
netapp:hci_baseboard_management_controllerh615c
netapp:hci_baseboard_management_controllerh700s
netapp:aff_baseboard_management_controllera700s

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14linux5.5.13-1DEBIAN-CVE-2020-12465
Ubuntu16.04:LTSlinux-hwe-edgeno fix listedUBUNTU-CVE-2020-12465
Ubuntu18.04:LTSlinux-aws-5.35.3.0-1017.18~18.04.1UBUNTU-CVE-2020-12465
Ubuntu18.04:LTSlinux-azure-5.35.3.0-1020.21~18.04.1UBUNTU-CVE-2020-12465
Ubuntu18.04:LTSlinux-gcp, linux-azure, linux-aws-5.0 and 4 moreno fix listedUBUNTU-CVE-2020-12465
Ubuntu18.04:LTSlinux-gcp-5.3, linux-gke-5.35.3.0-1018.19~18.04.1UBUNTU-CVE-2020-12465
Ubuntu18.04:LTSlinux-gke-5.05.0.0-1035.36UBUNTU-CVE-2020-12465
Ubuntu18.04:LTSlinux-hwe5.3.0-51.44~18.04.2UBUNTU-CVE-2020-12465
Ubuntu18.04:LTSlinux-oem-osp15.0.0-1050.55UBUNTU-CVE-2020-12465
Ubuntu18.04:LTSlinux-oracle-5.35.3.0-1016.18~18.04.1UBUNTU-CVE-2020-12465
Ubuntu18.04:LTSlinux-raspi2-5.35.3.0-1023.25~18.04.1UBUNTU-CVE-2020-12465
Ubuntu20.04:LTSlinux-gke, linux-gkeop, linux-raspi2 and 2 moreno fix listedUBUNTU-CVE-2020-12465
Ubuntu22.04:LTSlinux-riscv, linux-realtime, linux-intel-iot-realtimeno fix listedUBUNTU-CVE-2020-12465
1 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:8::baseosperf, kernel, bpftool and 30 more0:4.18.0-240.el8RHSA-2020:4431
Red Hatenterprise_linux:8::crbperf-debuginfo, kernel-debuginfo, bpftool-debuginfo and 7 more0:4.18.0-240.el8RHSA-2020:4431
AlmaLinux8kernel-tools-libs-devel4.18.0-240.el8ALSA-2020:4431

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Moderate.

Red Hat's 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

~~~

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8kernel-0:4.18.0-240.el8Fixed 2020-11-04RHSA-2020:4431
Red Hat Enterprise Linux 5kernelNot affected
Red Hat Enterprise Linux 6kernelNot affected
Red Hat Enterprise Linux 7kernel-altNot affected
Red Hat Enterprise Linux 7kernelNot affected
Red Hat Enterprise Linux 7kernel-rtNot affected
Red Hat Enterprise Linux 8kernel-rtNot affected
Red Hat Enterprise MRG 2kernel-rtNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-12465.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-120 (13).

References

Check your stackJSON