CVE-2022-50838
mediumpriority · track · 0EPSS 0.003 · 21 %ileDEEURUEPSS · scored 2026-10-27
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.
remediations
Vendor fix, mitigation, or workaround guidance, as published by each source.
A vendor fix is available.
- Fixedkernel-devel-rt-0:5.14.21-150500.13.118.1.noarch as component of SUSE Linux Enterprise Micro 5.5suse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedkernel-rt-0:5.14.21-150500.13.118.1.x86_64 as component of SUSE Linux Enterprise Micro 5.5suse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
- Fixedkernel-source-rt-0:5.14.21-150500.13.118.1.noarch as component of SUSE Linux Enterprise Micro 5.5suse_csaf
To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (64)
Products and version ranges known to be affected.
- IBM DataPower Gateway 10.5.0.0-10.5.0.20all versionscert_bundDEcpe:/a:ibm:datapower_gateway:10.5.0.0_-_10.5.0.20
- IBM DataPower Gateway 10.6.0.0-10.6.0.8all versionscert_bundDEcpe:/a:ibm:datapower_gateway:10.6.0.0_-_10.6.0.8
- IBM Power Hardware Management Consoleall versionscert_bundDEcpe:/a:ibm:hardware_management_console:-
advisories (2)
Vendor and ecosystem advisories describing this.
- SUSE-SU-2026:0263-1Security update for the Linux Kernel2026-01-22csaf · suse_csafDE
Security update for the Linux Kernel
- WID-SEC-W-2025-2941Linux Kernel: Mehrere Schwachstellen ermöglichen Denial of ServiceDeutsch2025-12-30csaf · cert_bundDE
Ein Angreifer kann diese Schwachstellen ausnutzen, um nicht näher spezifizierte Angriffe durchzuführen, die möglicherweise zu Denial‑of‑Service, Speicherbeschädigung oder weiteren nicht definierten Auswirkungen führen.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (29)
External citations — patches, advisories, analysis.
- https://git.kernel.org/stable/c/4f1d37ff4226eb99d6b69e9f4518e279e1a851bfcnnvd
- https://git.kernel.org/stable/c/6f00bd0402a1e3d2d556afba57c045bd7931e4d3cnnvd
- https://git.kernel.org/stable/c/8c330c36b3970d0917f48827fa6c7a9c75aa4602cnnvd
- https://git.kernel.org/stable/c/9062493811676ee0efe6c74d98f00ca38c4e17d4cnnvd
- https://git.kernel.org/stable/c/9da204cd67c4fe97e8aa465d10d5c2e7076f7f42cnnvd
- https://git.kernel.org/stable/c/b458d349f8753f666233828ebd30df6f100cf7d5cnnvd
- https://git.kernel.org/stable/c/bab542cf56fc174c8447c00b73be99ffd66d2d39cnnvd
- https://git.kernel.org/stable/c/c8c1eec578a9ae2dc8f14a1846942a0b7bf29d1dcnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan