CVE-2024-43822

Source
https://nvd.nist.gov/vuln/detail/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
2025-11-30T01:39:05.751089Z
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

Affected versions

v6.*

v6.10
v6.10-rc1
v6.10-rc2
v6.10-rc3
v6.10-rc4
v6.10-rc5
v6.10-rc6
v6.10-rc7
v6.10.1
v6.10.2
v6.9
v6.9-rc3
v6.9-rc4
v6.9-rc5
v6.9-rc6
v6.9-rc7

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.10.0
Fixed
6.10.3