{"id":"CVE-2024-43822","published":"2024-08-17T09:21:42Z","modified":"2026-05-11T20:30:26Z","title":"ASoc: PCM6240: Return directly after a failed devm_kzalloc() in pcmdevice_i2c_probe()","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoc: PCM6240: Return directly after a failed devm_kzalloc() in pcmdevice_i2c_probe()\n\nThe value “-ENOMEM” was assigned to the local variable “ret”\nin one if branch after a devm_kzalloc() call failed at the beginning.\nThis error code will trigger then a pcmdevice_remove() call with a passed\nnull pointer so that an undesirable dereference will be performed.\nThus return the appropriate error code directly.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00193,"percentile":0.09185,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/fa6f16eff7320c91e908309e31be34cbbe4b7e58","tags":[]},{"url":"https://git.kernel.org/stable/c/3722873d49a1788d5420894d4f6f63e35f5c1f13","tags":[]}],"priority":{"score":1.8,"factors":[{"name":"EPSS percentile","points":1.84}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 1324eafd37aa5c5b970c1b48a857acc81f0685c8, < fa6f16eff7320c91e908309e31be34cbbe4b7e58",">= 1324eafd37aa5c5b970c1b48a857acc81f0685c8, < 3722873d49a1788d5420894d4f6f63e35f5c1f13"]},{"vendor":"Linux","product":"Linux","versions":["6.10"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-10T16:08:57.547820Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-40472","exploited":false,"provenance":"source"}}