LiveActive security incident?Get immediate response
CVE Record

CVE-2022-49875: bpftool: Fix NULL pointer dereference when pin {PROG, MAP, LINK} without FILE

In the Linux kernel, the following vulnerability has been resolved: bpftool: Fix NULL pointer dereference when pin {PROG, MAP, LINK} without FILE When using bpftool to pin {PROG, MAP, LINK} without FILE, segmentation fault will occur. The reson is that the lack of FILE will cause strlen to trigger NULL pointer dereference. The corresponding stacktrace is shown below: do_pin do_pin_any do_pin_fd mount_bpffs_for_pin strlen(name) <- NULL pointer dereference Fix it by adding validation to the common process.

MediumCVSS 5.5Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

CVE-2022-49875 is a Linux bpftool flaw where a local user who can run bpftool can cause it to crash by omitting the required FILE argument during pin operations. The cited impact is availability only; no confidentiality or integrity impact is described.

Executive priority

Treat as a moderate operational stability issue, not a remote breach indicator. Patch through normal Linux maintenance, prioritizing shared systems, developer hosts, and environments where bpftool supports production eBPF operations.

Technical view

The issue is a CWE-476 NULL pointer dereference in bpftool's pin path. A missing FILE argument reaches mount_bpffs_for_pin and strlen(name). Linux stable fixes add validation in common processing. CVSS 3.1 is 5.5: local, low complexity, low privileges, availability impact only.

Likely exposure

Exposure is mainly Linux systems using affected bpftool/kernel source versions and allowing local users to run bpftool. The source bundle lists Linux as affected around 5.7 through fixed stable versions, but distribution package status must be checked separately.

Exploitation context

The bundle does not cite public exploitation or KEV listing. Exploitation requires local access and appears to crash the bpftool process path rather than disclose data or change system state. Operational risk is higher where bpftool is used in automation or privileged maintenance workflows.

Researcher notes

Evidence is limited to the CVE record and Linux stable commit references. The described failure is argument-validation related: missing FILE causes NULL dereference in the pin call chain. No source in the bundle supports remote exploitation, privilege escalation, or data exposure.

Mitigation direction

  • Apply Linux vendor kernel or bpftool packages containing the referenced stable fixes.
  • Prioritize systems where untrusted local users can run bpftool.
  • Review automation that depends on bpftool pin operations for crash handling.
  • If packages are unavailable, monitor vendor guidance for supported backports.

Validation and detection

  • Inventory Linux systems and identify installed kernel and bpftool package versions.
  • Check distribution advisories against CVE-2022-49875 and the referenced stable commits.
  • Confirm affected hosts receive vendor-fixed packages or equivalent backports.
  • Review logs or job failures for bpftool crashes in pin workflows.
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-476: 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-2022-49875 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-2022-49875Attack 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
LinuxLinux75a1e792c335b5c6d7fdb1014da47aeb64c5944f, 75a1e792c335b5c6d7fdb1014da47aeb64c5944f, 75a1e792c335b5c6d7fdb1014da47aeb64c5944f, 75a1e792c335b5c6d7fdb1014da47aeb64c5944funaffected
LinuxLinux5.7, 0, 5.10.155, 5.15.79, 6.0.9, 6.1affected
Weakness

CWE details

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

CWE-476 · source CWE mapping

NULL Pointer Dereference

NULL Pointer Dereference represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.