CVE-2022-50156
BaseFortify
Publication date: 2025-06-18
Last updated on: 2025-11-25
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | 4.15 |
| linux | linux_kernel | 4.15 |
| linux | linux_kernel | 4.15 |
| linux | linux_kernel | 4.15 |
| linux | linux_kernel | 4.15 |
| linux | linux_kernel | From 5.15.160 (inc) to 5.16 (inc) |
| linux | linux_kernel | From 5.15.160 (inc) to 5.16 (inc) |
| linux | linux_kernel | From 5.15.160 (inc) to 5.16 (inc) |
| linux | linux_kernel | From 5.15.160 (inc) to 5.16 (inc) |
| linux | linux_kernel | From 5.15.160 (inc) to 5.16 (inc) |
| linux | linux_kernel | From 5.15.160 (inc) to 5.16 (inc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-787 | The product writes data past the end, or before the beginning, of the intended buffer. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a buffer overflow issue in the Linux kernel's HID cp2112 driver, specifically in the cp2112_xfer() function. The problem arises because the 'read_length' variable, which determines how much data is copied, is controlled by user input and can be up to 255, but the destination buffer is smaller (33 or 64 bytes). Without an upper bound check on 'read_length', a buffer overflow can occur during a memcpy operation, potentially leading to memory corruption.
How can this vulnerability impact me? :
This vulnerability can lead to a buffer overflow, which may cause memory corruption. Such memory corruption could potentially be exploited to crash the system, cause denial of service, or allow an attacker to execute arbitrary code with kernel privileges, depending on the exploit scenario.