5.5

CVE-2022-49873: bpf: Fix wrong reg type conversion in release_reference()

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

Vulnerability summary

CVE-2022-49873 is a medium (CVSS 5.5) Incorrect Type Conversion or Cast 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: bpf: Fix wrong reg type conversion in release_reference() Some helper functions will allocate memory. To avoid memory leaks, the verifier requires the eBPF program to release these memories by calling the corresponding helper functions. When a resource is released, all pointer registers corresponding to the resource should be invalidated. The verifier use release_references() to do this job, by apply __mark_reg_unknown() to each relevant register. It will give these registers the type of SCALAR_VALUE. A register that will contain a pointer value at runtime, but of type SCALAR_VALUE, which may allow the unprivileged user to get a kernel pointer by storing this register into a map. Using __mark_reg_not_init() while NOT allow_ptr_leaks can mitigate this problem.

CVSS metrics

5 scores · 4 sources · 2 versions

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.

Ubuntu109 products
  • linuxAll versions (No fix recorded) | < 5.15.0-67.74
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded) | < 5.15.0-1031.35
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ fd978bf7fd312581a7ca454a991f0ffb34c4204b, < cedd4f01f67be94735f15123158f485028571037 | ≥ fd978bf7fd312581a7ca454a991f0ffb34c4204b, < 466ce46f251dfb259a8cbaa895ab9edd6fb56240 | ≥ fd978bf7fd312581a7ca454a991f0ffb34c4204b, < ae5ccad6c711db0f2ca1231be051935dd128b8f5 | ≥ fd978bf7fd312581a7ca454a991f0ffb34c4204b, < f1db20814af532f85e091231223e5e4818e8464b | 4.20
  • linux_kernel≥ 4.20, < 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 · 112 products

References

8 links