Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux Kernel | >= 6.10, < 6.10.3 |
Related Weaknesses (CWE)
References
- https://git.kernel.org/stable/c/3722873d49a1788d5420894d4f6f63e35f5c1f13Patch
- https://git.kernel.org/stable/c/fa6f16eff7320c91e908309e31be34cbbe4b7e58Patch
FAQ
What is CVE-2024-43822?
CVE-2024-43822 is a vulnerability with a CVSS score of 5.5 (MEDIUM). 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 loca...
How severe is CVE-2024-43822?
CVE-2024-43822 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-43822?
Check the references section above for vendor advisories and patch information. Affected products include: Linux Linux Kernel.