CVE-2021-47654
published 2025-02-26CVE-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…
PriorityP415medium5.5CVSS 3.1
AVLACLPRLUINSUCNINAH
EPSS
0.26%
17.3th percentile
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
12 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | linux | < linux 5.17.3-1 (bookworm) | linux 5.17.3-1 (bookworm) |
| linux | linux | — | — |
| linux | linux | >= ba84b0bf5a164f0f523656c1e37568c30f3f3303 < 20fbf100f84b9aeb9c91421abe1927bc152bc32b | 20fbf100f84b9aeb9c91421abe1927bc152bc32b |
| linux | linux | >= ba84b0bf5a164f0f523656c1e37568c30f3f3303 < 49b0d8bf05809df5f87e5c03e26d74bdfdab4571 | 49b0d8bf05809df5f87e5c03e26d74bdfdab4571 |
| linux | linux | >= ba84b0bf5a164f0f523656c1e37568c30f3f3303 < 017196730299ccd6eed24bbfabed8af4ffd81530 | 017196730299ccd6eed24bbfabed8af4ffd81530 |
| linux | linux | >= ba84b0bf5a164f0f523656c1e37568c30f3f3303 < 66b513b7c64a7290c1fbb88e657f7cece992e131 | 66b513b7c64a7290c1fbb88e657f7cece992e131 |
| linux | linux_kernel | < 5.15.33 | 5.15.33 |
| linux | linux_kernel | >= 0 < 5.17.3-1 | 5.17.3-1 |
| linux | linux_kernel | >= 0 < 5.17.3-1 | 5.17.3-1 |
| linux | linux_kernel | >= 0 < 5.17.3-1 | 5.17.3-1 |
| linux | linux_kernel | >= 5.16 < 5.16.19 | 5.16.19 |
| linux | linux_kernel | >= 5.17 < 5.17.2 | 5.17.2 |
CVSS provenance
nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-w9r3-fw4f-w35f: In the Linux kernel, the following vulnerability has been resolved:
samples/landlock: Fix path_list memory leak
Clang static analysis reports this e
ghsa_unreviewed·2025-03-18
CVE-2021-47654 [MEDIUM] CWE-401 GHSA-w9r3-fw4f-w35f: In the Linux kernel, the following vulnerability has been resolved:
samples/landlock: Fix path_list memory leak
Clang static analysis reports this e
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.
OSV
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 err
osv·2025-02-26·CVSS 5.5
CVE-2021-47654 [MEDIUM] 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 err
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.
Red Hat
kernel: samples/landlock: Fix path_list memory leak
vendor_redhat·2025-02-26·CVSS 5.5
CVE-2021-47654 [MEDIUM] CWE-401 kernel: samples/landlock: Fix path_list memory leak
kernel: samples/landlock: Fix path_list memory leak
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.
Package: kernel (Red Hat Enterprise Linux 10) - Not affected
Package: kernel (Red Hat Enterprise Linux 6) - Not affected
Package: kernel (Red Hat Enterprise Linux 7) - Not affected
Package: kernel-rt (Red Hat Enterprise Linux 7) - Not affected
Package: kernel (Red Hat Enterprise Linux 8) - Not affected
Package: kernel-rt (Red Hat Enterprise Linux 8) - Not affected
Package: kernel (Red Hat Enterprise Linux 9) - Not affected
Package: kern
Debian
CVE-2021-47654: linux - In the Linux kernel, the following vulnerability has been resolved: samples/lan...
vendor_debian·2021·CVSS 5.5
CVE-2021-47654 [MEDIUM] CVE-2021-47654: linux - In the Linux kernel, the following vulnerability has been resolved: samples/lan...
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.
Scope: local
bookworm: resolved (fixed in 5.17.3-1)
bullseye: resolved
forky: resolved (fixed in 5.17.3-1)
sid: resolved (fixed in 5.17.3-1)
trixie: resolved (fixed in 5.17.3-1)
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2025-02-26
Published