What’s Vulnerable › Vulnerabilities
CVE-2024-43822: ASoc: PCM6240: Return directly after a failed devm_kzalloc() in pcmdevice_i2c_probe()
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-08-17 · updated 2026-06-17
- Weakness: CWE-476
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
- Linux kernel: from 6.10 before 6.10.3 — fixed in 6.10.3
How to fix
Upgrade to a fixed version: Linux kernel 6.10.3. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/3722873d49a1788d5420894d4f6f63e35f5c1f13
- https://git.kernel.org/stable/c/fa6f16eff7320c91e908309e31be34cbbe4b7e58
Get alerted when CVE-2024-43822 or the next vulnerability affects your stack