In the Linux kernel, the following vulnerability has been resolved:
ASoC: fsl: fslqmcaudio: 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.
[
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"224405090853962589446374176811603083013",
"314117998029495503376088933689829696356",
"339527787119667399703000487031580849017",
"9565020673095581491459283026058276944"
]
},
"signature_type": "Line",
"target": {
"file": "sound/soc/fsl/fsl_qmc_audio.c"
},
"deprecated": false,
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b4205dfcfe96182118e54343954827eda51b2135",
"id": "CVE-2024-42298-20014cea"
},
{
"digest": {
"length": 2165.0,
"function_hash": "146588827597625414693713582640802933622"
},
"signature_type": "Function",
"target": {
"function": "qmc_audio_dai_parse",
"file": "sound/soc/fsl/fsl_qmc_audio.c"
},
"deprecated": false,
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b4205dfcfe96182118e54343954827eda51b2135",
"id": "CVE-2024-42298-2859e7c5"
},
{
"digest": {
"length": 2165.0,
"function_hash": "146588827597625414693713582640802933622"
},
"signature_type": "Function",
"target": {
"function": "qmc_audio_dai_parse",
"file": "sound/soc/fsl/fsl_qmc_audio.c"
},
"deprecated": false,
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@af466037fa2b263e8ea5c47285513d2487e17d90",
"id": "CVE-2024-42298-48c240ab"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"224405090853962589446374176811603083013",
"314117998029495503376088933689829696356",
"339527787119667399703000487031580849017",
"9565020673095581491459283026058276944"
]
},
"signature_type": "Line",
"target": {
"file": "sound/soc/fsl/fsl_qmc_audio.c"
},
"deprecated": false,
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e62599902327d27687693f6e5253a5d56583db58",
"id": "CVE-2024-42298-a2e887ea"
},
{
"digest": {
"threshold": 0.9,
"line_hashes": [
"224405090853962589446374176811603083013",
"314117998029495503376088933689829696356",
"339527787119667399703000487031580849017",
"9565020673095581491459283026058276944"
]
},
"signature_type": "Line",
"target": {
"file": "sound/soc/fsl/fsl_qmc_audio.c"
},
"deprecated": false,
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@af466037fa2b263e8ea5c47285513d2487e17d90",
"id": "CVE-2024-42298-e392a6fe"
},
{
"digest": {
"length": 2165.0,
"function_hash": "146588827597625414693713582640802933622"
},
"signature_type": "Function",
"target": {
"function": "qmc_audio_dai_parse",
"file": "sound/soc/fsl/fsl_qmc_audio.c"
},
"deprecated": false,
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e62599902327d27687693f6e5253a5d56583db58",
"id": "CVE-2024-42298-f5543497"
}
]