CVE-2022-49873: bpf: Fix wrong reg type conversion in release_reference()
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.
Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 1Timeline
- 01-05-2025PublishedVulnerability first disclosed.
- 11-05-2026Last 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- OSV · UbuntuEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- NVDNIST5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
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
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
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