CVE-2021-0512
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2021-0512 is a vulnerability discovered in the Linux kernel's HID subsystem, specifically in the _hidinputchangeresolutionmultipliers function of hid-input.c. The vulnerability was disclosed on June 21, 2021, and affects various Linux kernel versions. This security flaw involves an out-of-bounds write condition due to a heap buffer overflow (NVD, Ubuntu).

Technical details

The vulnerability exists in the _hidinputchangeresolutionmultipliers function within the hid-input.c file of the Linux kernel HID subsystem. It manifests as a possible out-of-bounds write due to a heap buffer overflow. The issue has been assigned a CVSS 3 Severity Score of 7.8 (High), indicating its significant security impact (Ubuntu).

Impact

This vulnerability could lead to local escalation of privilege with no additional execution privileges needed for exploitation. User interaction is not required for exploitation, making it particularly concerning for system security (Ubuntu).

Mitigation and workarounds

Multiple Linux distributions have released patches to address this vulnerability. Red Hat has provided updates for affected versions of Red Hat Enterprise Linux, including kernel live patch modules. Ubuntu has also released fixes for affected versions, including updates for various kernel packages (RHSA-2021:3443, Ubuntu).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-40205HIGH7.8
  • Linux KernelLinux Kernel
  • linux-gcp-5.4
NoYesNov 12, 2025
CVE-2025-40211HIGH7.1
  • Linux KernelLinux Kernel
  • linux-gcp-6.8
NoYesNov 21, 2025
CVE-2025-40206MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-modules-extra
NoYesNov 12, 2025
CVE-2025-40210MEDIUM5.1
  • Linux KernelLinux Kernel
  • kernel-rt-64k-modules
NoYesNov 21, 2025
CVE-2025-40212N/AN/A
  • Linux KernelLinux Kernel
  • linux-azure-6.14
NoYesNov 24, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management