In the Linux kernel, the following vulnerability has been resolved:
ASoC: amd/sdwutils: avoid NULL deref when devmkasprintf() fails
devmkasprintf() may return NULL on memory allocation failure, but the debug message prints cpus->dainame before checking it. Move the dev_dbg() call after the NULL check to prevent potential NULL pointer dereference.
[
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@095d692e5997ece300c89f10d903d5230090e6a0",
"signature_type": "Line",
"target": {
"file": "sound/soc/amd/acp/acp-sdw-sof-mach.c"
},
"deprecated": false,
"digest": {
"threshold": 0.9,
"line_hashes": [
"312106972528106420176973802445898982036",
"239796767938320018002969552743563071614",
"76496519913286910344396064728683096963",
"284008546026472026857429644262579480557",
"219720926469281156708029863875085641875",
"14598174231719819077510942982168967838"
]
},
"id": "CVE-2025-40162-02c3f51c"
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@095d692e5997ece300c89f10d903d5230090e6a0",
"signature_type": "Function",
"target": {
"function": "create_sdw_dailink",
"file": "sound/soc/amd/acp/acp-sdw-sof-mach.c"
},
"deprecated": false,
"digest": {
"length": 3083.0,
"function_hash": "295716586690491332970055639952581187788"
},
"id": "CVE-2025-40162-39ed3e53"
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5726b68473f7153a7f6294185e5998b7e2a230a2",
"signature_type": "Line",
"target": {
"file": "sound/soc/amd/acp/acp-sdw-sof-mach.c"
},
"deprecated": false,
"digest": {
"threshold": 0.9,
"line_hashes": [
"312106972528106420176973802445898982036",
"239796767938320018002969552743563071614",
"76496519913286910344396064728683096963",
"284008546026472026857429644262579480557",
"219720926469281156708029863875085641875",
"14598174231719819077510942982168967838"
]
},
"id": "CVE-2025-40162-7a330570"
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5726b68473f7153a7f6294185e5998b7e2a230a2",
"signature_type": "Function",
"target": {
"function": "create_sdw_dailink",
"file": "sound/soc/amd/acp/acp-sdw-sof-mach.c"
},
"deprecated": false,
"digest": {
"length": 3261.0,
"function_hash": "112675881893032381398056605681523941395"
},
"id": "CVE-2025-40162-8771f446"
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a1cccbd19676fc36854535a7118ba2c27d0b84b3",
"signature_type": "Function",
"target": {
"function": "create_sdw_dailink",
"file": "sound/soc/amd/acp/acp-sdw-sof-mach.c"
},
"deprecated": false,
"digest": {
"length": 3261.0,
"function_hash": "112675881893032381398056605681523941395"
},
"id": "CVE-2025-40162-cca0b26f"
},
{
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a1cccbd19676fc36854535a7118ba2c27d0b84b3",
"signature_type": "Line",
"target": {
"file": "sound/soc/amd/acp/acp-sdw-sof-mach.c"
},
"deprecated": false,
"digest": {
"threshold": 0.9,
"line_hashes": [
"312106972528106420176973802445898982036",
"239796767938320018002969552743563071614",
"76496519913286910344396064728683096963",
"284008546026472026857429644262579480557",
"219720926469281156708029863875085641875",
"14598174231719819077510942982168967838"
]
},
"id": "CVE-2025-40162-d06b25c2"
}
]