{"id":"CVE-2022-49403","summary":"lib/string_helpers: fix not adding strarray to device's resource list","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nlib/string_helpers: fix not adding strarray to device's resource list\n\nAdd allocated strarray to device's resource list. This is a must to\nautomatically release strarray when the device disappears.\n\nWithout this fix we have a memory leak in the few drivers which use\ndevm_kasprintf_strarray().","modified":"2026-04-02T08:27:32.684060Z","published":"2025-02-26T02:12:29.556Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49403.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/a152eb42fcecfe41239c3c6695342f3a128593e7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/bf29edab0c9ff3d2633b8306a67d04c357e2a385"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cd290a9839cee2f6641558877e707bd373c8f6f1"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49403.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49403"},{"type":"PACKAGE","url":"https://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":"acdb89b6c87a2d7b5c48a82756e6f5c6f599f60a"},{"fixed":"a152eb42fcecfe41239c3c6695342f3a128593e7"},{"fixed":"bf29edab0c9ff3d2633b8306a67d04c357e2a385"},{"fixed":"cd290a9839cee2f6641558877e707bd373c8f6f1"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49403.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}