CVE Database›Document archive›CVE-2022-50866

CVE-2022-50866

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

Loading…

Severity

Moderate

Red Hat Product Security

4.5

CVSS 3.1

Review impact separately from score.

Published · December 30, 2025

Updated · June 30, 2026

Description

A flaw was found in the Linux kernel ASoC pxa audio driver. The function filter() used kasprintf() to allocate a formatted string but did not check whether the allocation succeeded before passing the result to strcmp(). If memory allocation fails and kasprintf() returns NULL, this results in a NULL pointer dereference when calling strcmp(), which can trigger a kernel crash and denial of service.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

CVSS / CWE

CVSS 3.1 · 4.5
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L

CWE-476 · NULL Pointer Dereference