CVE-2021-47654

published 26 Feb 2025 · updated 11 May 2026

samples/landlock: Fix path_list memory leak

5.5MediumCVSS 5.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 017196730299ccd6eed24bbfabed8af4ffd81530, Kernel 20fbf100f84b9aeb9c91421abe1927bc152bc32b, Kernel 49b0d8bf05809df5f87e5c03e26d74bdfdab4571 and 1 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.13, >=ba84b0bf5a164f0f523656c1e37568c30f3f3303 <017196730299ccd6eed24bbfabed8af4ffd81530, >=ba84b0bf5a164f0f523656c1e37568c30f3f3303 <20fbf100f84b9aeb9c91421abe1927bc152bc32b, >=ba84b0bf5a164f0f523656c1e37568c30f3f3303 <49b0d8bf05809df5f87e5c03e26d74bdfdab4571, >=ba84b0bf5a164f0f523656c1e37568c30f3f3303 <66b513b7c64a7290c1fbb88e657f7cece992e131017196730299ccd6eed24bbfabed8af4ffd81530, 20fbf100f84b9aeb9c91421abe1927bc152bc32b, 49b0d8bf05809df5f87e5c03e26d74bdfdab4571, 66b513b7c64a7290c1fbb88e657f7cece992e131

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-47654 severity on Zeptric[![CVE-2021-47654](https://zeptric.io/badge/cve/CVE-2021-47654.svg)](https://zeptric.io/cve/CVE-2021-47654)