What’s Vulnerable › Vulnerabilities

CVE-2021-47654: samples/landlock: Fix path_list memory leak

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.15.33, 5.16.19, 5.17.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-47654 or the next vulnerability affects your stack