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.
Overview
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.
- Published
- 5/1/2025
- Last modified
- 6/17/2026
- CVE assigner
- Not available
- NVD analysis
- Not available
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
linux kernel linux | ≥ 4.20, < 5.10.155 | Verify advisory | Source |
linux kernel linux | ≥ 5.11, < 5.15.79 | Verify advisory | Source |
linux kernel linux | ≥ 5.16, < 6.0.9 | Verify advisory | Source |
linux kernel linux | 6.1 | Verify advisory The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory. | Source |
Linux Linux | ≥ fd978bf7fd312581a7ca454a991f0ffb34c4204b, < cedd4f01f67be94735f15123158f485028571037 | Verify advisory | Source |
Linux Linux | ≥ fd978bf7fd312581a7ca454a991f0ffb34c4204b, < 466ce46f251dfb259a8cbaa895ab9edd6fb56240 | Verify advisory | Source |
Linux Linux | ≥ fd978bf7fd312581a7ca454a991f0ffb34c4204b, < ae5ccad6c711db0f2ca1231be051935dd128b8f5 | Verify advisory | Source |
Linux Linux | ≥ fd978bf7fd312581a7ca454a991f0ffb34c4204b, < f1db20814af532f85e091231223e5e4818e8464b | Verify advisory | Source |
Linux Linux | 4.20 | Verify advisory | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.