What’s Vulnerable › Vulnerabilities
CVE-2024-42298: ASoC: fsl: fsl_qmc_audio: Check devm_kasprintf() returned value
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-08-17 · updated 2026-06-17
- Weakness: CWE-476
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 products
- Linux kernel: from 6.4 before 6.6.44; from 6.7 before 6.10.3 — fixed in 6.10.3, 6.6.44
How to fix
Upgrade to a fixed version: Linux kernel 6.10.3, 6.6.44. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/af466037fa2b263e8ea5c47285513d2487e17d90
- https://git.kernel.org/stable/c/b4205dfcfe96182118e54343954827eda51b2135
- https://git.kernel.org/stable/c/e62599902327d27687693f6e5253a5d56583db58
Get alerted when CVE-2024-42298 or the next vulnerability affects your stack