CVE-2024-42298

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

State
Published
Severity
Not scored
Published
Aug 17, 2024
Updated
May 11, 2026
Reserved
Jul 30, 2024

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 075c7125b11c72e7933401d73000d6d151196072 to before b4205dfcfe96182118e54343954827eda51b2135Affected
  • 075c7125b11c72e7933401d73000d6d151196072 to before af466037fa2b263e8ea5c47285513d2487e17d90Affected
  • 075c7125b11c72e7933401d73000d6d151196072 to before e62599902327d27687693f6e5253a5d56583db58Affected
LinuxLinux
  • 6.4Affected
  • before 6.4Not affected
  • 6.6.44 through 6.6.*Not affected
  • 6.10.3 through 6.10.*Not affected
  • 6.11 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.