LiveActive security incident?Get immediate response
CVE Record

CVE-2021-47298: bpf, sockmap: Fix potential memory leak on unlikely error case

In the Linux kernel, the following vulnerability has been resolved: bpf, sockmap: Fix potential memory leak on unlikely error case If skb_linearize is needed and fails we could leak a msg on the error handling. To fix ensure we kfree the msg block before returning error. Found during code review.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysisunknown

Security readout for executives and security teams

Plain-English summary

CVE-2021-47298 is a Linux kernel issue in the BPF sockmap path where an unusual error case could leak memory. The public record describes it as found during code review, with no CVSS score and no KEV listing. Treat it as a kernel hygiene fix unless vendor guidance says otherwise.

Executive priority

Handle through normal Linux kernel patch management. Escalation is warranted for unsupported kernels or high-density hosts where memory leaks can affect availability, but the supplied evidence does not justify emergency response.

Technical view

When skb_linearize is required and fails, sockmap error handling could return without freeing a msg block. The upstream resolution frees the msg before returning an error. The source bundle provides Linux stable commit references but no exploitability analysis, CVSS vector, or CWE classification.

Likely exposure

Exposure is limited to Linux systems running kernel versions or commits covered by the CVE record. The bundle lists Linux kernel 5.10-related data and stable fixes, but version range details are not complete enough to infer every affected distribution kernel.

Exploitation context

There is no source evidence of active exploitation. The CVE is not in KEV, and the description says it was found during code review in an unlikely error case. Public sources here do not describe practical exploitation or weaponized use.

Researcher notes

The public record is sparse: no CVSS, CWE, exploit status, or detailed affected distribution matrix. Analysis should center on upstream commit inclusion, vendor backports, and whether local workloads exercise BPF sockmap paths.

Mitigation direction

  • Review Linux vendor advisories for CVE-2021-47298 applicability.
  • Update affected kernels to vendor-supported builds containing the stable fix.
  • Prioritize systems using BPF or sockmap functionality if affected.
  • Track distribution backports instead of relying only on upstream version numbers.

Validation and detection

  • Inventory kernel versions across Linux assets.
  • Map installed kernels to vendor advisories for CVE-2021-47298.
  • Confirm whether referenced stable commits are included or backported.
  • Document exceptions where kernels are unsupported or cannot be updated.
Prepared
Confidence
medium
Sources
5

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.

cve · low confidence lookup

CVE-2021-47298 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
Unknown
CVSS
Not scored
Known Exploited
No
Published
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.

0CVSS vectors
3Timeline events
2ADP providers
4Source links

SSVC decision data

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

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
other:ssvc
CVECVE Program Container
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinux4363023d2668e621b0743db351a9555d6e6ea57e, 4363023d2668e621b0743db351a9555d6e6ea57e, 4363023d2668e621b0743db351a9555d6e6ea57eunaffected
LinuxLinux5.10, 0, 5.10.54, 5.13.6, 5.14affected
Weakness

CWE details

No CWE listed

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