CVE-2021-47654 Details
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.
A memory leak vulnerability has been identified in the Linux kernel's Landlock sample, specifically within the path list management. The issue arises in the 'sandboxer.c' file, where the 'path_list' variable is allocated memory in the 'parse_path()' function but is never properly freed, leading to a potential memory leak.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 1, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/017196730299ccd6eed24bbfabed8af4ffd81530 | kernel.org | Patch |
| https://git.kernel.org/stable/c/20fbf100f84b9aeb9c91421abe1927bc152bc32b | kernel.org | Patch |
| https://git.kernel.org/stable/c/49b0d8bf05809df5f87e5c03e26d74bdfdab4571 | kernel.org | Patch |
| https://git.kernel.org/stable/c/66b513b7c64a7290c1fbb88e657f7cece992e131 | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-401 | Missing Release of Memory after Effective Lifetime | [email protected] |
| CWE-401 | Missing Release of Memory after Effective Lifetime | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | < 5.15.33 >= 5.16, < 5.16.19 >= 5.17, < 5.17.2 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 1, 2025 | CVE Modified | CISA-ADP |
| Mar 18, 2025 | Initial Analysis | [email protected] |
| Feb 26, 2025 | New CVE Received | kernel.org |