CVE-2021-47654

medium

Description

In the Linux kernel, the following vulnerability has been resolved: samples/landlock: Fix path_list memory leak Clang static analysis reports this error sandboxer.c:134:8: warning: Potential leak of memory pointed to by 'path_list' ret = 0; ^ path_list is allocated in parse_path() but never freed.

References

https://git.kernel.org/stable/c/66b513b7c64a7290c1fbb88e657f7cece992e131

https://git.kernel.org/stable/c/49b0d8bf05809df5f87e5c03e26d74bdfdab4571

https://git.kernel.org/stable/c/20fbf100f84b9aeb9c91421abe1927bc152bc32b

https://git.kernel.org/stable/c/017196730299ccd6eed24bbfabed8af4ffd81530

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