CVE-2021-42252 Memory corruption in n/a

High 7.8 Published Updated

Local attackers with access to the Aspeed LPC control interface can overwrite kernel memory, potentially leading to privilege escalation and code execution.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2021-42252?

CVE-2021-42252 is a high-severity memory corruption vulnerability in Linux kernel, published on 11 Oct 2021. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

An issue was discovered in aspeed_lpc_ctrl_mmap in drivers/soc/aspeed/aspeed-lpc-ctrl.c in the Linux kernel before 5.14.6. Local attackers able to access the Aspeed LPC control interface could overwrite memory in the kernel and potentially execute privileges, aka CID-b49a0e69a7b1. This occurs because a certain comparison uses values that are not memory sizes.

Which versions are affected by CVE-2021-42252?

It affects 11 products.

Products include Linux kernel, Netapp Cloud Backup, Netapp H300e Firmware, Netapp H300s Firmware, Netapp H410c Firmware, Netapp H410s Firmware and 5 more.

How do I fix CVE-2021-42252?

Upgrade to a fixed version.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2021-42252 being exploited?

There is no known exploitation of CVE-2021-42252 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as AZL-6599, DEBIAN-CVE-2021-42252, GHSA-2hvg-x2p3-jfmj, UBUNTU-CVE-2021-42252.

Is CVE-2021-42252 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free