CVE-2022-49403

medium

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

References

https://git.kernel.org/stable/c/cd290a9839cee2f6641558877e707bd373c8f6f1

https://git.kernel.org/stable/c/bf29edab0c9ff3d2633b8306a67d04c357e2a385

https://git.kernel.org/stable/c/a152eb42fcecfe41239c3c6695342f3a128593e7

Details

Source: Mitre, NVD

Published: 2025-02-26

Updated: 2025-02-26

Risk Information

CVSS v2

Base Score: 5.6

Vector: CVSS2#AV:L/AC:L/Au:N/C:P/I:N/A:C

Severity: Medium

CVSS v3

Base Score: 5.5

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Severity: Medium