CVE-2024-42298Published Aug 17, 2024 · Aug 17Updated Oct 28
ASoC: fsl: fsl_qmc_audio: Check devm_kasprintf() returned value
Linux
Medium5.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.6.446.10.36.11In 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.
From the CVE record · Linux
The Linux kernel's fsl_qmc_audio component does not check whether devm_kasprintf() returns NULL on failure. This could lead to a null-pointer dereference; the input does not specify an attack path, authentication requirements, or user interaction.
Engineers running the Linux kernel should check whether their version includes the fsl_qmc_audio fix; affected versions are not specified.