Home / Linux / Linux / CVE-2022-50838
CVE-2022-50838: is it exploited, and which versions of Linux are affected and fixed?
CVE-2022-50838 is a vulnerability in Linux. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:38 UTC). Affected: Linux from 4.9.291 before 4.9.337, Linux from 4.14.256 before 4.14.303, Linux from 4.19.218 before 4.19.270 and 6 more (CVE record by Linux). Fixed in 4.9.337, 4.14.303, 4.19.270, 5.4.229 and 2 more (CVE record by Linux).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:38 UTC, CVE record November 28, 2026, 19:19 UTC and NVD November 19, 2026, 07:14 UTC.
What is 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 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 using MSG_ZEROCOPY, then we put in the error queue cloned skbs that had a struct ubuf_info attached to them. Whenever an struct ubuf_info is allocated, sock_zerocopy_alloc() does a sock_hold(). As long as the cloned skbs are still in sk_error_queue, socket refcount is kept elevated. 3) Application closes the socket, while error queue is not empty. Since tcp_close() no longer purges the socket error queue, we might end up with a TCP socket with at least one skb in error queue keeping the socket alive forever. This bug can be (ab)used to consume all kernel memory and freeze the host. We need to purge the error queue, with proper synchronization against concurrent writers.
From the CVE record by Linux, last updated May 23, 2026, 15:25 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Linux | Linux | from 4.9.291 before 4.9.337 from 4.14.256 before 4.14.303 from 4.19.218 before 4.19.270 from 5.4.160 before 5.4.229 from 5.10.80 before 5.10.163 from 5.15.3 before 5.15.86 from 4.4.293 before 4.5 from 5.14.19 before 5.15 | 4.9.337, 4.14.303, 4.19.270, 5.4.229, 5.10.163, 5.15.86, 4.5, 5.15 |
| Linux | Linux | from 5.16 until the fixed versions | 4.9.337, 4.14.303, 4.19.270, 5.4.229, 5.10.163, 5.15.86, 6.0.16, 6.1.2, 6.2 |
As the CVE record by Linux states it, last updated May 23, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Is CVE-2022-50838 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 0.30% probability of exploitation activity in the next 30 days, percentile 25.0 (FIRST EPSS, scores of December 2, 2026)
Where are the vendor advisories and references?
- https://git.kernel.org/stable/c/c8c1eec578a9ae2dc8f14a1846942a0b7bf29d1d
- https://git.kernel.org/stable/c/bab542cf56fc174c8447c00b73be99ffd66d2d39
- https://git.kernel.org/stable/c/6f00bd0402a1e3d2d556afba57c045bd7931e4d3
- https://git.kernel.org/stable/c/4f1d37ff4226eb99d6b69e9f4518e279e1a851bf
- https://git.kernel.org/stable/c/9062493811676ee0efe6c74d98f00ca38c4e17d4
- https://git.kernel.org/stable/c/9da204cd67c4fe97e8aa465d10d5c2e7076f7f42
- https://git.kernel.org/stable/c/8c330c36b3970d0917f48827fa6c7a9c75aa4602
- https://git.kernel.org/stable/c/b458d349f8753f666233828ebd30df6f100cf7d5
- https://git.kernel.org/stable/c/e0c8bccd40fc1c19e1d246c39bcf79e357e1ada3
When was it published, and where is the official record?
- Reserved
- December 30, 2025
- Published
- December 30, 2025, 12:10 UTC
- CVE record updated
- May 23, 2026, 15:25 UTC by Linux
- NVD
- Deferred, last modified June 17, 2026, 05:24 UTC
- Last checked
- CVE list November 28, 2026, 19:19 UTC; NVD November 19, 2026, 07:14 UTC; KEV December 3, 2026, 14:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Linux?
- Jul 4, 2026CVE-2026-53362 Linux: heap buffer overflow exploited
- Jun 25, 2026CVE-2026-53266 Linux: out-of-bounds write (memory corruption) exploited
- May 23, 2026CVE-2026-46300 Linux: write-what-where Condition exploited
- Apr 22, 2026CVE-2026-31431 Linux: incorrect resource transfer exploited
- Oct 13, 2025CVE-2025-39964 Linux: race condition exploited
- Sep 5, 2025CVE-2025-39682 Linux: unusual condition not checked exploited
- Jul 22, 2025CVE-2025-38352 Linux: time-of-check time-of-use race condition exploited
- Dec 27, 2024CVE-2024-53197 Linux: out-of-bounds write (memory corruption) exploited
Questions about CVE-2022-50838
Is CVE-2022-50838 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:38 UTC. FIRST's EPSS gives it a 0.30% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Linux are affected by CVE-2022-50838?
Linux from 4.9.291 before 4.9.337, Linux from 4.14.256 before 4.14.303, Linux from 4.19.218 before 4.19.270, Linux from 5.4.160 before 5.4.229, Linux from 5.10.80 before 5.10.163, Linux from 5.15.3 before 5.15.86 and 3 more, per the CVE record by Linux. The tables above give every range the sources list.
Which version fixes CVE-2022-50838?
4.9.337, 4.14.303, 4.19.270, 5.4.229, 5.10.163 and 5.15.86, per the CVE record by Linux. Check the vendor's advisory before you rely on it.
Where is the official record of CVE-2022-50838?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.