CVE-2024-42298
JSON

5.5medium

ASoC: fsl: fsl_qmc_audio: Check devm_kasprintf() returned value

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.22% (higher than 14% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: ASoC: fsl: fsl_qmc_audio: Check devm_kasprintf() returned value devm_kasprintf() can return a NULL pointer on failure but this returned value is not checked. Fix this lack and check the returned value.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 075c7125b11c72e7933401d73000d6d151196072 before b4205dfcfe96182118e54343954827eda51b2135, from 075c7125b11c72e7933401d73000d6d151196072 before af466037fa2b263e8ea5c47285513d2487e17d90, from 075c7125b11c72e7933401d73000d6d151196072 before e62599902327d27687693f6e5253a5d56583db58, 6.4
Not affected: before 6.4, from 6.6.44 up to 6.6.*, from 6.10.3 up to 6.10.*, from 6.11 up to *
CVE List
linux linux_kernelfrom 6.4 before 6.6.44, from 6.7 before 6.10.3NVD

Classification

CWE-476

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: ASoC: fsl: fsl_qmc_audio: Check devm_kasprintf() returned value devm_kasprintf() can return a NULL pointer on failure but this returned value is not checked. Fix this lack and check the returned value.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: ASoC: fsl: fsl_qmc_audio: comprobar el valor devuelto de devm_kasprintf() devm_kasprintf() puede devolver un puntero NULL en caso de error, pero este valor devuelto no se comprueba. Solucione esta falta y verifique el valor devuelto.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-42298 changed 2026-05-11CVE Terms of Use
NVDCVE-2024-42298 changed 2026-06-17Public domain