Medium severity5.5NVD Advisory· Published Aug 17, 2024· Updated Jun 17, 2026
CVE-2024-43822
CVE-2024-43822
Description
In the Linux kernel, the following vulnerability has been resolved:
ASoc: PCM6240: Return directly after a failed devm_kzalloc() in pcmdevice_i2c_probe()
The value “-ENOMEM” was assigned to the local variable “ret” in one if branch after a devm_kzalloc() call failed at the beginning. This error code will trigger then a pcmdevice_remove() call with a passed null pointer so that an undesirable dereference will be performed. Thus return the appropriate error code directly.
Affected products
3Patches
Vulnerability mechanics
References
2News mentions
0No linked articles in our index yet.