CVE-2022-50866 ASoC: pxa: fix null-pointer dereference in filter()

Not scored Published Updated

A null pointer dereference in the Linux kernel ASoC PXA driver can cause a system crash, requiring local access to exploit.

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

What is CVE-2022-50866?

CVE-2022-50866 is a vulnerability in Linux, published on 30 Dec 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In the Linux kernel, the following vulnerability has been resolved:

ASoC: pxa: fix null-pointer dereference in filter()

kasprintf() would return NULL pointer when kmalloc() fail to allocate. Need to check the return pointer before calling strcmp().

Which versions are affected by CVE-2022-50866?

How do I fix CVE-2022-50866?

Apply the vendor's patch.

Is CVE-2022-50866 being exploited?

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

Sources

Also known as DEBIAN-CVE-2022-50866, GHSA-c7hq-p57p-3cg2, UBUNTU-CVE-2022-50866.

Is CVE-2022-50866 in your software?

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

Check your SBOMs for free