{"id":"CVE-2024-42298","summary":"ASoC: fsl: fsl_qmc_audio: Check devm_kasprintf() returned value","details":"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.","modified":"2026-03-20T12:38:46.566842Z","published":"2024-08-17T09:09:05.866Z","related":["MGASA-2024-0309","MGASA-2024-0310","SUSE-SU-2024:3194-1","SUSE-SU-2024:3195-1","SUSE-SU-2024:3383-1","SUSE-SU-2025:20044-1","SUSE-SU-2025:20047-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42298.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/af466037fa2b263e8ea5c47285513d2487e17d90"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b4205dfcfe96182118e54343954827eda51b2135"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e62599902327d27687693f6e5253a5d56583db58"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/42xxx/CVE-2024-42298.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-42298"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"075c7125b11c72e7933401d73000d6d151196072"},{"fixed":"b4205dfcfe96182118e54343954827eda51b2135"},{"fixed":"af466037fa2b263e8ea5c47285513d2487e17d90"},{"fixed":"e62599902327d27687693f6e5253a5d56583db58"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-42298.json"}}],"schema_version":"1.7.5"}