Bug 2347949 (CVE-2022-49403) - CVE-2022-49403 kernel: lib/string_helpers: fix not adding strarray to device's resource list
Summary: CVE-2022-49403 kernel: lib/string_helpers: fix not adding strarray to device'...
Keywords:
Status: NEW
Alias: CVE-2022-49403
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-02-26 03:12 UTC by OSIDB Bzimport
Modified: 2025-05-05 15:55 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2025-02-26 03:12:21 UTC
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().

Comment 1 Avinash Hanwate 2025-02-26 18:53:49 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2025022651-CVE-2022-49403-cd89@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.