CVE-2022-50168
BaseFortify
Publication date: 2025-06-18
Last updated on: 2025-12-03
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | From 5.18 (inc) to 5.18.18 (exc) |
| linux | linux_kernel | From 5.19 (inc) to 5.19.2 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-NVD-CWE-noinfo |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is in the Linux kernel's BPF (Berkeley Packet Filter) subsystem on x86 architectures. It involves improper freeing of memory related to BPF programs with multiple subprograms. Specifically, when compiling these subprograms, if one fails, the code may free a large memory page (2MB) erroneously because it does not finalize all subprograms properly before freeing. This can lead to freeing memory that is still in use, causing potential instability or crashes. The fix involves a custom free function that ensures all subprograms are finalized before memory is freed.
How can this vulnerability impact me? :
This vulnerability can cause the Linux kernel to free memory incorrectly, which may lead to system instability, crashes, or potential denial of service. If exploited or triggered, it could disrupt normal system operations, especially on systems using BPF programs with multiple subprograms on x86 architectures.