CVE-2022-49403
published medium CVSS 3.1 · 5.5lib/string_helpers: fix not adding strarray to device's resource list
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxacdb89b6c87a2d7b5c48a82756e6f5c6f599f60a to < a152eb42fcecfe41239c3c6695342f3a128593e7 · acdb89b6c87a2d7b5c48a82756e6f5c6f599f60a to < bf29edab0c9ff3d2633b8306a67d04c357e2a385 · acdb89b6c87a2d7b5c48a82756e6f5c6f599f60a to < cd290a9839cee2f6641558877e707bd373c8f6f1 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.17 (affected) · 0 to < 5.17 (unaffected · semver) · 5.17.14 through 5.17.* (unaffected · semver) · 5.18.3 through 5.18.* (unaffected · semver) · 5.19 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: lib/string_helpers: fix not adding strarray to device's resource list Add allocated strarray to device's resource list. This is a must to automatically release strarray when the device disappears. Without this fix we have a memory leak in the few drivers which use devm_kasprintf_strarray().
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.
- CVSS version
- 3.1
- Base score
- 5.5 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | acdb89b6c87a2d7b5c48a82756e6f5c6f599f60a to < a152eb42fcecfe41239c3c6695342f3a128593e7 (affected · git)acdb89b6c87a2d7b5c48a82756e6f5c6f599f60a to < bf29edab0c9ff3d2633b8306a67d04c357e2a385 (affected · git)acdb89b6c87a2d7b5c48a82756e6f5c6f599f60a to < cd290a9839cee2f6641558877e707bd373c8f6f1 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.17 (affected)0 to < 5.17 (unaffected · semver)5.17.14 through 5.17.* (unaffected · semver)5.18.3 through 5.18.* (unaffected · semver)5.19 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-401 CWE-401 Missing Release of Memory after Effective Lifetime
References
3Provider assertions
2Linux · cna
lib/string_helpers: fix not adding strarray to device's resource list
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 66303a41a9dc736f3523e92ef729c1688c382e6a74f3f0156c5356b4d1a6ae4a
- Ingested
- 23 Sep 2026, 08:04:12 UTC
- Source record
- Official CVE record