← CVE Intelligence

CVE-2022-49403

lib/string_helpers: fix not adding strarray to device's resource list PUBLISHED

Description (CNA)

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().

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected acdb89b6c87a2d7b5c48a82756e6f5c6f599f60a before a152eb42fcecfe41239c3c6695342f3a128593e7; affected acdb89b6c87a2d7b5c48a82756e6f5c6f599f60a before bf29edab0c9ff3d2633b8306a67d04c357e2a385; affected acdb89b6c87a2d7b5c48a82756e6f5c6f599f60a before cd290a9839cee2f6641558877e707bd373c8f6f1
Linux / Linuxaffected 5.17; unaffected 0 before 5.17; unaffected 5.17.14 through 5.17.*; unaffected 5.18.3 through 5.18.*; unaffected 5.19 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.