{"id":"CVE-2024-42298","state":"PUBLISHED","title":"ASoC: fsl: fsl_qmc_audio: Check devm_kasprintf() returned value","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: fsl: fsl_qmc_audio: Check devm_kasprintf() returned value\n\ndevm_kasprintf() can return a NULL pointer on failure but this returned\nvalue is not checked.\n\nFix this lack and check the returned value.","publishedAt":"2024-08-17T09:09:05.866Z","updatedAt":"2026-05-11T20:29:40.277Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"075c7125b11c72e7933401d73000d6d151196072","status":"affected","lessThan":"b4205dfcfe96182118e54343954827eda51b2135","versionType":"git"},{"version":"075c7125b11c72e7933401d73000d6d151196072","status":"affected","lessThan":"af466037fa2b263e8ea5c47285513d2487e17d90","versionType":"git"},{"version":"075c7125b11c72e7933401d73000d6d151196072","status":"affected","lessThan":"e62599902327d27687693f6e5253a5d56583db58","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/soc/fsl/fsl_qmc_audio.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.4","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.4","versionType":"semver"},{"version":"6.6.44","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.10.3","status":"unaffected","lessThanOrEqual":"6.10.*","versionType":"semver"},{"version":"6.11","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/soc/fsl/fsl_qmc_audio.c"]}],"references":["https://git.kernel.org/stable/c/b4205dfcfe96182118e54343954827eda51b2135","https://git.kernel.org/stable/c/af466037fa2b263e8ea5c47285513d2487e17d90","https://git.kernel.org/stable/c/e62599902327d27687693f6e5253a5d56583db58"],"weaknesses":[],"ingestedAt":"2026-10-29T20:07:47.831Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/42xxx/CVE-2024-42298.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-42298","state":"PUBLISHED","datePublished":"2024-08-17T09:09:05.866Z","dateUpdated":"2026-05-11T20:29:40.277Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-07-30T07:40:12.270Z"},"containers":{"cna":{"title":"ASoC: fsl: fsl_qmc_audio: Check devm_kasprintf() returned value","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: fsl: fsl_qmc_audio: Check devm_kasprintf() returned value\n\ndevm_kasprintf() can return a NULL pointer on failure but this returned\nvalue is not checked.\n\nFix this lack and check the returned value."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"075c7125b11c72e7933401d73000d6d151196072","status":"affected","lessThan":"b4205dfcfe96182118e54343954827eda51b2135","versionType":"git"},{"version":"075c7125b11c72e7933401d73000d6d151196072","status":"affected","lessThan":"af466037fa2b263e8ea5c47285513d2487e17d90","versionType":"git"},{"version":"075c7125b11c72e7933401d73000d6d151196072","status":"affected","lessThan":"e62599902327d27687693f6e5253a5d56583db58","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/soc/fsl/fsl_qmc_audio.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.4","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.4","versionType":"semver"},{"version":"6.6.44","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.10.3","status":"unaffected","lessThanOrEqual":"6.10.*","versionType":"semver"},{"version":"6.11","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/soc/fsl/fsl_qmc_audio.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/b4205dfcfe96182118e54343954827eda51b2135"},{"url":"https://git.kernel.org/stable/c/af466037fa2b263e8ea5c47285513d2487e17d90"},{"url":"https://git.kernel.org/stable/c/e62599902327d27687693f6e5253a5d56583db58"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T20:29:40.277Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.4","versionEndExcluding":"6.6.44"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.4","versionEndExcluding":"6.10.3"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.4","versionEndExcluding":"6.11"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2024-42298","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-09-10T16:10:41.543942Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-09-12T17:33:28.675Z"}}]}}}