Memory leak in Linux kernel landlock



| Updated: 2025-05-11
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2021-47654
CWE-ID CWE-401
Exploitation vector Local
Public exploit N/A
Vulnerable software
Linux kernel
Operating systems & Components / Operating system

Vendor Linux Foundation

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) Memory leak

EUVDB-ID: #VU104408

Risk: Low

CVSSv4.0: 4.3 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear]

CVE-ID: CVE-2021-47654

CWE-ID: CWE-401 - Missing release of memory after effective lifetime

Exploit availability: No

Description

The vulnerability allows a local user to perform a denial of service (DoS) attack.

The vulnerability exists due to memory leak within the populate_ruleset() function in samples/landlock/sandboxer.c. A local user can perform a denial of service (DoS) attack.

Mitigation

Install update from vendor's website.

Vulnerable software versions

Linux kernel: 5.15 - 5.18 rc8

CPE2.3 External links

https://git.kernel.org/stable/c/017196730299ccd6eed24bbfabed8af4ffd81530
https://git.kernel.org/stable/c/20fbf100f84b9aeb9c91421abe1927bc152bc32b
https://git.kernel.org/stable/c/49b0d8bf05809df5f87e5c03e26d74bdfdab4571
https://git.kernel.org/stable/c/66b513b7c64a7290c1fbb88e657f7cece992e131
https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.15.33
https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.16.19
https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.17.2
https://mirrors.edge.kernel.org/pub/linux/kernel/v5.x/ChangeLog-5.18


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###