CVE-2024-43822
publishedASoc: PCM6240: Return directly after a failed devm_kzalloc() in pcmdevice_i2c_probe()
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux1324eafd37aa5c5b970c1b48a857acc81f0685c8 to < fa6f16eff7320c91e908309e31be34cbbe4b7e58 · 1324eafd37aa5c5b970c1b48a857acc81f0685c8 to < 3722873d49a1788d5420894d4f6f63e35f5c1f13 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.10 (affected) · 0 to < 6.10 (unaffected · semver) · 6.10.3 through 6.10.* (unaffected · semver) · 6.11 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: ASoc: PCM6240: Return directly after a failed devm_kzalloc() in pcmdevice_i2c_probe() The value “-ENOMEM” was assigned to the local variable “ret” in one if branch after a devm_kzalloc() call failed at the beginning. This error code will trigger then a pcmdevice_remove() call with a passed null pointer so that an undesirable dereference will be performed. Thus return the appropriate error code directly.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 1324eafd37aa5c5b970c1b48a857acc81f0685c8 to < fa6f16eff7320c91e908309e31be34cbbe4b7e58 (affected · git)1324eafd37aa5c5b970c1b48a857acc81f0685c8 to < 3722873d49a1788d5420894d4f6f63e35f5c1f13 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.10 (affected)0 to < 6.10 (unaffected · semver)6.10.3 through 6.10.* (unaffected · semver)6.11 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
2Linux · cna
ASoc: PCM6240: Return directly after a failed devm_kzalloc() in pcmdevice_i2c_probe()
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 88bbeba88a6a42c6265ef69f7511e73bc9c3eb05afee74810deab910cb369327
- Ingested
- 23 Sep 2026, 08:27:16 UTC
- Source record
- Official CVE record