In the Linux kernel, the following vulnerability has been resolved:
ASoc: PCM6240: Return directly after a failed devmkzalloc() in pcmdevicei2c_probe()
The value “-ENOMEM” was assigned to the local variable “ret” in one if branch after a devmkzalloc() call failed at the beginning. This error code will trigger then a pcmdeviceremove() call with a passed null pointer so that an undesirable dereference will be performed. Thus return the appropriate error code directly.
{
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/43xxx/CVE-2024-43822.json",
"cna_assigner": "Linux"
}