CVE-2021-42252
Linux Kernel vulnerability analysis and mitigation

Overview

A vulnerability was discovered in the Linux kernel's Aspeed LPC control interface (CVE-2021-42252) affecting versions before 5.14.6. The issue was found in the aspeedlpcctrl_mmap function within drivers/soc/aspeed/aspeed-lpc-ctrl.c. The vulnerability was disclosed on October 11, 2021, and affects systems using the Aspeed Low Pin Count (LPC) Bus Controller implementation (NVD, Ubuntu).

Technical details

The vulnerability stems from improper boundary checks in the aspeedlpcctrlmmap function. The issue occurs because the check mixes pages (vmpgoff) with bytes (vmstart, vmend) on one side of the comparison and uses resource address instead of resource size on the other side. This implementation error allows for incorrect memory size comparisons (Kernel Commit). The vulnerability has been assigned a CVSS v3.1 base score of 7.8 (HIGH) with the vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H (NetApp Advisory).

Impact

Successful exploitation of this vulnerability could allow local attackers with access to the Aspeed LPC control interface to overwrite memory in the kernel and potentially execute privileges. This could lead to disclosure of sensitive information, addition or modification of data, or Denial of Service (DoS) (NetApp Advisory).

Mitigation and workarounds

The vulnerability was fixed in Linux kernel version 5.14.6. The fix involves correcting the boundary check in the aspeedlpcctrl_mmap function to properly compare memory sizes (Kernel Changelog). Users are advised to upgrade to Linux kernel version 5.14.6 or later to address this vulnerability.

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-40344N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-modules-internal
NoYesDec 09, 2025
CVE-2025-40343N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel
NoYesDec 09, 2025
CVE-2025-40342N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel-matched
NoYesDec 09, 2025
CVE-2025-40341N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug-modules-extra
NoYesDec 09, 2025
CVE-2025-40340N/AN/A
  • Linux KernelLinux Kernel
  • kernel-rt-64k-debug-kvm
NoYesDec 09, 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