← CVE Intelligence

CVE-2021-47654

samples/landlock: Fix path_list memory leak PUBLISHED

Description (CNA)

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 (CNA)

Vendor / productVersions
Linux / Linuxaffected ba84b0bf5a164f0f523656c1e37568c30f3f3303 before 20fbf100f84b9aeb9c91421abe1927bc152bc32b; affected ba84b0bf5a164f0f523656c1e37568c30f3f3303 before 49b0d8bf05809df5f87e5c03e26d74bdfdab4571; affected ba84b0bf5a164f0f523656c1e37568c30f3f3303 before 017196730299ccd6eed24bbfabed8af4ffd81530; affected ba84b0bf5a164f0f523656c1e37568c30f3f3303 before 66b513b7c64a7290c1fbb88e657f7cece992e131
Linux / Linuxaffected 5.13; unaffected 0 before 5.13; unaffected 5.15.33 through 5.15.*; unaffected 5.16.19 through 5.16.*; unaffected 5.17.2 through 5.17.*; unaffected 5.18 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.