LiveActive security incident?Get immediate response
CVE Record

CVE-2021-47654: 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.

MediumCVSS 5.5Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

This CVE is a memory leak in the Linux kernel Landlock sample sandboxer code. A local low-privileged user could trigger resource exhaustion if the vulnerable sample program is built and used. The business risk is availability disruption, not data theft or integrity compromise, based on the supplied CVSS vector.

Executive priority

Treat as a moderate availability issue. It is not evidenced as remotely exploitable or actively exploited, but systems exposing local access should validate patch status during normal kernel maintenance.

Technical view

The issue is CWE-401 in samples/landlock sandboxer.c. parse_path() allocates path_list, but an error path sets ret to 0 without freeing it. The supplied CVSS vector is local, low complexity, low privileges, no user interaction, unchanged scope, and high availability impact.

Likely exposure

Exposure appears limited to Linux environments carrying the affected samples/landlock code and actually building or using the sandboxer sample. The bundle does not show remote exposure, confidentiality impact, integrity impact, or broad default-service exposure.

Exploitation context

The source bundle does not show active exploitation, proof-of-concept activity, or CISA KEV listing. Any exploitation would require local access with low privileges and would target availability through memory leakage, not direct privilege escalation.

Researcher notes

The evidence is narrow: a Clang static analysis finding and stable Linux fix references. The record names samples/landlock, so avoid expanding scope to unrelated Landlock enforcement paths without vendor confirmation.

Mitigation direction

  • Review vendor kernel guidance for the applicable fixed release or backport.
  • Apply the referenced Linux stable fixes where the sample is present or used.
  • Avoid deploying or running the vulnerable Landlock sample sandboxer in production workflows.
  • Track distribution advisories for packaged kernel or sample-code backports.

Validation and detection

  • Inventory Linux kernel versions and distribution backport status.
  • Check whether samples/landlock sandboxer is built, shipped, or used locally.
  • Confirm the relevant stable fix commit is present in source or vendor patches.
  • Prioritize validation on systems allowing local untrusted shell access.
Prepared
Confidence
high
Sources
6

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-401: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-47654 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
5.5 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
3Timeline events
1ADP providers
5Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: partial

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
5.5CVSS 3.1MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H1.83.6CISA-ADP

Vulnerability scoring details

Base CVSS 3.1 score

5.5Medium
CVSS 3.1 vector shape for CVE-2021-47654Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
cvssV3_1other:ssvc
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinuxba84b0bf5a164f0f523656c1e37568c30f3f3303, ba84b0bf5a164f0f523656c1e37568c30f3f3303, ba84b0bf5a164f0f523656c1e37568c30f3f3303, ba84b0bf5a164f0f523656c1e37568c30f3f3303unaffected
LinuxLinux5.13, 0, 5.15.33, 5.16.19, 5.17.2, 5.18affected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.