CVE-2022-50838 — Missing Release of Memory after Effective Lifetime in Linux
Severity
6.2MEDIUM
No vectorEPSS
0.0%
top 84.94%
CISA KEV
Not in KEV
Exploit
No known exploits
Affected products
Timeline
PublishedDec 30
Description
In the Linux kernel, the following vulnerability has been resolved:
net: stream: purge sk_error_queue in sk_stream_kill_queues()
Changheon Lee reported TCP socket leaks, with a nice repro.
It seems we leak TCP sockets with the following sequence:
1) SOF_TIMESTAMPING_TX_ACK is enabled on the socket.
Each ACK will cook an skb put in error queue, from __skb_tstamp_tx().
__skb_tstamp_tx() is using skb_clone(), unless
SOF_TIMESTAMPING_OPT_TSONLY was also requested.
2) If the application is also…
Affected Packages4 packages
▶CVEListV5linux/linux7737b104c211fa843de268b897d601e070292a72 — c8c1eec578a9ae2dc8f14a1846942a0b7bf29d1d+11
🔴Vulnerability Details
3GHSA▶
GHSA-rgwv-j5f3-fh36: In the Linux kernel, the following vulnerability has been resolved:
net: stream: purge sk_error_queue in sk_stream_kill_queues()
Changheon Lee repor↗2025-12-30
OSV▶
CVE-2022-50838: In the Linux kernel, the following vulnerability has been resolved: net: stream: purge sk_error_queue in sk_stream_kill_queues() Changheon Lee reporte↗2025-12-30