
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2022-50409 is a vulnerability in the Linux kernel that was discovered and disclosed in September 2025. The vulnerability involves a NULL pointer dereference issue in the networking subsystem, specifically when accessing a socket's wait queue (skwq) in the skstreamwaitmemory function after the socket has been closed (NVD).
The vulnerability occurs due to a race condition between two threads where thread1 waits for memory while thread2 closes the socket. The issue arises because tcpbpfsendverdict doesn't increase the fcount of psock->skredir->sksocket->file in thread1. When the socket is released with its wait queue because thread2 has closed it, attempting to access the wait queue results in a NULL pointer dereference (NVD).
The vulnerability can lead to a NULL pointer dereference in the Linux kernel, which typically results in a system crash or denial of service condition. This affects the stability and availability of systems running vulnerable kernel versions (NVD).
The fix involves checking if the SOCKDEAD flag is set on wakeup in skstreamwaitmemory before accessing the wait queue. This prevents the NULL pointer dereference by ensuring the socket is still valid before attempting to access its wait queue (NVD).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."