CVE-2022-50405
BaseFortify
Publication date: 2025-09-18
Last updated on: 2025-12-11
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | linux_kernel | From 3.18 (inc) to 4.9.337 (exc) |
| linux | linux_kernel | From 4.10 (inc) to 4.14.303 (exc) |
| linux | linux_kernel | From 4.15 (inc) to 4.19.270 (exc) |
| linux | linux_kernel | From 4.20 (inc) to 5.4.229 (exc) |
| linux | linux_kernel | From 5.5 (inc) to 5.10.163 (exc) |
| linux | linux_kernel | From 5.11 (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-476 | The product dereferences a pointer that it expects to be valid but is NULL. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability is a race condition in the Linux kernel's vxlan network tunnel implementation. When deleting a vxlan device while it is receiving packets, the socket (sock) may be released prematurely after being accessed via sk_user_data. This can lead to a NULL pointer dereference in functions like vxlan_ecn_decapsulate() and vxlan_get_sk_family(), causing kernel crashes or oops errors. The issue arises because the code does not wait for all readers of sk_user_data to finish before releasing the socket.
How can this vulnerability impact me? :
This vulnerability can cause system instability or crashes due to NULL pointer dereferences in the kernel when vxlan devices are deleted during packet reception. This can lead to kernel oops or panic, potentially causing denial of service or requiring system reboots, impacting availability and reliability of systems using vxlan tunnels.
What immediate steps should I take to mitigate this vulnerability?
To mitigate this vulnerability, update the Linux kernel to a version where the fix is applied. The fix involves waiting for all sk_user_data readers to finish before releasing the socket, preventing the race condition. Avoid deleting vxlan devices during active packet reception until the kernel is patched.