CVE-2024-42298
Not scored
ASoC: fsl: fsl_qmc_audio: Check devm_kasprintf() returned value
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.
Exploit probability
0.2%
Published
August 17, 2024
Required by
Not available
Last source change
August 12, 2026
02 / AFFECTED SOFTWARE
Affected packages
03 / CONNECTIONS
Connected vulnerabilities
04 / EVIDENCE
Source records
Open Source Vulnerabilities
CVE-2024-42298
View original source
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.
05 / REFERENCES
Further evidence
- https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
- https://git.kernel.org/stable/c/af466037fa2b263e8ea5c47285513d2487e17d90
- https://git.kernel.org/stable/c/b4205dfcfe96182118e54343954827eda51b2135
- https://git.kernel.org/stable/c/e62599902327d27687693f6e5253a5d56583db58
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42298.json
- https://nvd.nist.gov/vuln/detail/CVE-2024-42298