CVE-2024-43822

Source
https://cve.org/CVERecord?id=CVE-2024-43822
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-43822.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-43822
Downstream
Published
2024-08-17T09:21:42.997Z
Modified
2026-03-20T12:22:24.713318Z
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:

ASoc: PCM6240: Return directly after a failed devmkzalloc() in pcmdevicei2c_probe()

The value “-ENOMEM” was assigned to the local variable “ret” in one if branch after a devmkzalloc() call failed at the beginning. This error code will trigger then a pcmdeviceremove() call with a passed null pointer so that an undesirable dereference will be performed. Thus return the appropriate error code directly.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/43xxx/CVE-2024-43822.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / 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/osv-test-cve-osv-conversion/osv-output/CVE-2024-43822.json"