What’s Vulnerable › Vulnerabilities

CVE-2022-49403: lib/string_helpers: fix not adding strarray to device's resource list

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

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.17.14, 5.18.3. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2022-49403 or the next vulnerability affects your stack