medium5.5
CVE-2021-47654
In the Linux kernel, the following vulnerability has been resolved: samples/landlock: Fix path_list memory leak Clang static analysis reports this error sandbo…
Impact
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
| Vendor | Product | Affected versions |
|---|---|---|
| Linux | Linux Kernel | before 5.15.33 from 5.16 before 5.16.19 from 5.17 before 5.17.2 |
Weakness classification
References
- NVD record
- CVE.org record
- https://git.kernel.org/stable/c/017196730299ccd6eed24bbfabed8af4ffd81530
- https://git.kernel.org/stable/c/20fbf100f84b9aeb9c91421abe1927bc152bc32b
- https://git.kernel.org/stable/c/49b0d8bf05809df5f87e5c03e26d74bdfdab4571
- https://git.kernel.org/stable/c/66b513b7c64a7290c1fbb88e657f7cece992e131