{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-47654","id":"CVE-2021-47654","title":"samples/landlock: Fix path_list memory leak","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nsamples/landlock: Fix path_list memory leak\n\nClang static analysis reports this error\n\nsandboxer.c:134:8: warning: Potential leak of memory\n  pointed to by 'path_list'\n        ret = 0;\n              ^\npath_list is allocated in parse_path() but never freed.","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nsamples/landlock: Fix path_list memory leak\n\nClang static analysis reports this error\n\nsandboxer.c:134:8: warning: Potential leak of memory\n  pointed to by 'path_list'\n        ret = 0;\n              ^\npath_list is allocated in parse_path() but never freed.","published":"2025-02-26T01:54:19.083Z","updated":"2026-06-17T04:18:15.377Z","reserved":"2025-02-26T01:48:21.520Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"CISA-ADP"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"OSV"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"ba84b0bf5a164f0f523656c1e37568c30f3f3303","lessThan":"20fbf100f84b9aeb9c91421abe1927bc152bc32b","status":"affected","versionType":"git"},{"version":"ba84b0bf5a164f0f523656c1e37568c30f3f3303","lessThan":"49b0d8bf05809df5f87e5c03e26d74bdfdab4571","status":"affected","versionType":"git"},{"version":"ba84b0bf5a164f0f523656c1e37568c30f3f3303","lessThan":"017196730299ccd6eed24bbfabed8af4ffd81530","status":"affected","versionType":"git"},{"version":"ba84b0bf5a164f0f523656c1e37568c30f3f3303","lessThan":"66b513b7c64a7290c1fbb88e657f7cece992e131","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.13","status":"affected"},{"version":"0","lessThan":"5.13","status":"unaffected","versionType":"semver"},{"version":"5.15.33","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"5.16.19","lessThanOrEqual":"5.16.*","status":"unaffected","versionType":"semver"},{"version":"5.17.2","lessThanOrEqual":"5.17.*","status":"unaffected","versionType":"semver"},{"version":"5.18","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-401"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/20fbf100f84b9aeb9c91421abe1927bc152bc32b","tags":["Patch","fix"]},{"url":"https://git.kernel.org/stable/c/49b0d8bf05809df5f87e5c03e26d74bdfdab4571","tags":["Patch","fix"]},{"url":"https://git.kernel.org/stable/c/017196730299ccd6eed24bbfabed8af4ffd81530","tags":["Patch","fix"]},{"url":"https://git.kernel.org/stable/c/66b513b7c64a7290c1fbb88e657f7cece992e131","tags":["Patch","fix"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00268,"epssPercentile":0.19266,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-47654","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-47654","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-47654","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-47654","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}