{"id":"CVE-2024-43822","aliases":["CVE-2024-43822"],"related":[],"kind":"vulnerability","state":"published","title":"ASoc: PCM6240: Return directly after a failed devm_kzalloc() in pcmdevice_i2c_probe()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux se ha resuelto la siguiente vulnerabilidad: ASoc: PCM6240: Retorno directamente después de un devm_kzalloc() fallido en pcmdevice_i2c_probe() Se asignó el valor “-ENOMEM” a la variable local “ret” en una rama if después de un devm_kzalloc () la llamada falló al principio. Este código de error activará una llamada pcmdevice_remove() con un puntero nulo pasado, de modo que se realizará una desreferencia no deseada. Por lo tanto, devuelva el código de error apropiado directamente.","source":"nvd"}],"published":"2024-08-17T09:21:42.997Z","modified":"2026-06-17T07:51:46.833Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"1324eafd37aa5c5b970c1b48a857acc81f0685c8","fixed":"fa6f16eff7320c91e908309e31be34cbbe4b7e58","status":"affected"},{"type":"git","introduced":"1324eafd37aa5c5b970c1b48a857acc81f0685c8","fixed":"3722873d49a1788d5420894d4f6f63e35f5c1f13","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.10","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.10","status":"unaffected"},{"type":"semver","introduced":"6.10.3","lastAffected":"6.10.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.11","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.10","fixed":"6.10.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/fa6f16eff7320c91e908309e31be34cbbe4b7e58","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3722873d49a1788d5420894d4f6f63e35f5c1f13","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-10T16:08:57.547Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-43822","url":"https://www.cve.org/CVERecord?id=CVE-2024-43822","licence":"CVE Terms of Use","modified":"2026-05-11T20:30:26.432Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-43822","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-43822","licence":"Public domain","modified":"2026-06-17T07:51:46.833Z"}],"updatedAt":"2026-11-25T22:58:44.489Z","epss":{"score":0.00193,"percentile":0.09454,"date":"2026-12-01T12:00:22.000Z"}}