CVE-2021-46894 Use after free in EMUI

Critical 9.8 Published Updated

A use-after-free flaw in the uinput module allows attackers to achieve kernel privilege escalation on Huawei devices.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-46894?

CVE-2021-46894 is a critical use after free vulnerability in Huawei Emui, published on 6 Jul 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Use After Free (UAF) vulnerability in the uinput module.Successful exploitation of this vulnerability may lead to kernel privilege escalation.

Weakness: CWE-416, CWE-269

Which versions are affected by CVE-2021-46894?

It affects 2 products.

Products include Huawei Emui, Huawei Harmonyos.

How do I fix CVE-2021-46894?

No fix has been published for CVE-2021-46894 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2021-46894 being exploited?

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

All Huawei Emui vulnerabilities

Sources

Also known as GHSA-w232-x2q6-cvwm.

Is CVE-2021-46894 in your software?

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

Check your SBOMs for free