CVE-2022-50046
BaseFortify
Publication date: 2025-06-18
Last updated on: 2025-11-13
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.15.160 (inc) to 5.16 (inc) |
| linux | linux_kernel | From 5.15.160 (inc) to 5.16 (inc) |
| linux | linux_kernel | 6.0 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-401 | The product does not sufficiently track and release allocated memory after it has been used, making the memory unavailable for reallocation and reuse. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is in the Linux kernel's net/sunrpc component. It involves a function called rpc_sysfs_xprt_state_change() that mishandles error conditions. Specifically, when the function fails to obtain an object called 'xprt', it returns without properly decreasing the reference count of another object 'xps', leading to reference count leaks (memory leaks). Additionally, the function does not check if 'xps' is valid before using it, which can cause NULL pointer dereferencing issues. The fix involves adding proper error handling to manage these cases correctly.
How can this vulnerability impact me? :
The vulnerability can lead to memory leaks due to improper reference counting and potential NULL pointer dereferencing, which may cause system instability or crashes in the Linux kernel's net/sunrpc subsystem. This could affect the reliability and availability of systems running vulnerable kernel versions.