5.5

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

Modified
AliasesUBUNTU-CVE-2022-49875DEBIAN-CVE-2022-49875
Published 01-05-2025Last modified 11-05-2026

Vulnerability summary

CVE-2022-49875 is a medium (CVSS 5.5) NULL Pointer Dereference vulnerability in linux. EPSS estimates a 0.21% chance of exploitation in the next 30 days, higher than 11.9% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.5/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.21%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 1

Timeline

  1. 01-05-2025
    PublishedVulnerability first disclosed.
  2. 11-05-2026
    Last modifiedVulnerability information updated.

Description

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.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.21%

Chance of exploitation in the next 30 days

Percentile

12%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.21% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu96 products
  • linux< 5.15.0-67.74
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-aws< 5.15.0-1031.35
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ 75a1e792c335b5c6d7fdb1014da47aeb64c5944f, < 8c80b2fca4112d724dde477aed13f7b0510a2792 | ≥ 75a1e792c335b5c6d7fdb1014da47aeb64c5944f, < 6dcdd1b68b7f9333d48d48fc77b75e7f235f6a4a | ≥ 75a1e792c335b5c6d7fdb1014da47aeb64c5944f, < da5161ba94c5e9182c301dd4f09c94f715c068bd | ≥ 75a1e792c335b5c6d7fdb1014da47aeb64c5944f, < 34de8e6e0e1f66e431abf4123934a2581cb5f133 | 5.7
  • linux_kernel≥ 5.7, < 5.10.155 | ≥ 5.11, < 5.15.79 | ≥ 5.16, < 6.0.9 | 6.1:rc1 | 6.1:rc2 | 6.1:rc3 | 6.1:rc4
Debian1 product
  • linux< 6.0.10-1

3 vendors · 99 products

References

8 links