CVE-2022-50335
BaseFortify
Publication date: 2025-09-15
Last updated on: 2025-12-04
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | From 4.19.57 (inc) to 5.15.86 (exc) |
| linux | linux_kernel | From 5.16 (inc) to 6.0.16 (exc) |
| linux | linux_kernel | From 6.1 (inc) to 6.1.2 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-908 | The product uses or accesses a resource that has not been initialized. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability in the Linux kernel's 9p client code occurs because a newly allocated request's reference count (refcount) is not properly initialized before being used. When a new request is allocated from the slab allocator, its refcount may be uninitialized. If a response is received before the refcount is set, the system uses this uninitialized request, leading to corrupted request data structures and potential use-after-free and reference count underflow issues. The fix involves initializing the refcount to zero before adding the request to the idr (ID radix tree) to prevent uninitialized usage.
How can this vulnerability impact me? :
This vulnerability can lead to memory corruption, use-after-free, and reference count underflow in the Linux kernel's 9p client subsystem. Such issues can cause system instability, crashes, or potentially allow attackers to execute arbitrary code or escalate privileges by exploiting the corrupted memory state.