CVE-2024-42298

Source
https://cve.org/CVERecord?id=CVE-2024-42298
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-42298.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-42298
Downstream
Related
Published
2024-08-17T09:09:05.866Z
Modified
2026-03-11T07:46:31.163264494Z
Summary
ASoC: fsl: fsl_qmc_audio: Check devm_kasprintf() returned value
Details

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

ASoC: fsl: fslqmcaudio: 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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42298.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
075c7125b11c72e7933401d73000d6d151196072
Fixed
b4205dfcfe96182118e54343954827eda51b2135
Fixed
af466037fa2b263e8ea5c47285513d2487e17d90
Fixed
e62599902327d27687693f6e5253a5d56583db58

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-42298.json"