{"id":"CVE-2024-43822","summary":"ASoc: PCM6240: Return directly after a failed devm_kzalloc() in pcmdevice_i2c_probe()","details":"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.","modified":"2026-04-02T12:18:18.222228Z","published":"2024-08-17T09:21:42.997Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/43xxx/CVE-2024-43822.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/3722873d49a1788d5420894d4f6f63e35f5c1f13"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fa6f16eff7320c91e908309e31be34cbbe4b7e58"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/43xxx/CVE-2024-43822.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-43822"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"1324eafd37aa5c5b970c1b48a857acc81f0685c8"},{"fixed":"fa6f16eff7320c91e908309e31be34cbbe4b7e58"},{"fixed":"3722873d49a1788d5420894d4f6f63e35f5c1f13"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-43822.json"}}],"schema_version":"1.7.5"}