CVE-2024-43822

published 17 Aug 2024 · updated 11 May 2026

ASoc: PCM6240: Return directly after a failed devm_kzalloc() in pcmdevice_i2c_probe()

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 3722873d49a1788d5420894d4f6f63e35f5c1f13 and Kernel fa6f16eff7320c91e908309e31be34cbbe4b7e58.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.10, >=1324eafd37aa5c5b970c1b48a857acc81f0685c8 <3722873d49a1788d5420894d4f6f63e35f5c1f13, >=1324eafd37aa5c5b970c1b48a857acc81f0685c8 <fa6f16eff7320c91e908309e31be34cbbe4b7e583722873d49a1788d5420894d4f6f63e35f5c1f13, fa6f16eff7320c91e908309e31be34cbbe4b7e58

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-43822 severity on Zeptric[![CVE-2024-43822](https://zeptric.io/badge/cve/CVE-2024-43822.svg)](https://zeptric.io/cve/CVE-2024-43822)