CVE-2022-50308

ASoC: qcom: Add checks for devm_kcalloc

MEDIUM
5.5
CVSS Score
Published: September 15, 2025 at 02:46 PM UTC
Updated: June 17, 2026 at 05:23 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

Description

In the Linux kernel, the following vulnerability has been resolved: ASoC: qcom: Add checks for devm_kcalloc As the devm_kcalloc may return NULL, the return value needs to be checked to avoid NULL poineter dereference.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.10 ≤ v < 5.10.1635.10 ≤ v < 5.15.865.10 ≤ v < 6.0.165.10 ≤ v < 6.1.25.10 ≤ v < 6.25.11 ≤ v < 5.15.865.16 ≤ v < 6.0.166.1 ≤ v < 6.1.224caf8d9eb108c52e144bcc7af94bb1edcb707005.10
Vendor states this is fixed in 1bf5ee979076ceb121ee51c95197d890b1cee7f4 (fixed)
Vendor states this is fixed in 4518d7cc38b7d1a7ce5a7878ca601c91e19fe47d (fixed)
Vendor states this is fixed in 7830e2289eb4b74970b6cd1b6cc68dcd021c2281 (fixed)
Vendor states this is fixed in b1e4f92dd0c1d3c162d7ca6c1196995565cca96d (fixed)
Vendor states this is fixed in f849c116d320e85d1e2c2804c0edb0be3953b62d (fixed)
Vendor states this is fixed in 5.10 (unaffected)
Vendor states this is fixed in 5.10.163 (unaffected)
Vendor states this is fixed in 5.15.86 (unaffected)
Vendor states this is fixed in 6.0.16 (unaffected)
Vendor states this is fixed in 6.1.2 (unaffected)
Vendor states this is fixed in 6.2 (unaffected)

References (5)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/1bf5ee979076ceb121ee51c95197d890b1cee7f4
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4518d7cc38b7d1a7ce5a7878ca601c91e19fe47d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/7830e2289eb4b74970b6cd1b6cc68dcd021c2281
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/b1e4f92dd0c1d3c162d7ca6c1196995565cca96d
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/f849c116d320e85d1e2c2804c0edb0be3953b62d

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card